Note
This no longer works in browser!
Note
This no longer works if you're alone in vc! Somebody else has to join you!
How to use this script:
- Accept the quest under User Settings -> Gift Inventory
@echo off | |
@REM WinSCP PuTTY/Terminal client path: | |
@REM "<drive>:\<Path_to_file>\WindowsTerminal.bat" "!K" !U@!@ !# !/ "!N" | |
@REM setlocal | |
setlocal enabledelayedexpansion | |
SET "debugMode=n" | |
SET "Line=======================" |
using System.Collections.Generic; | |
using System.Text; | |
/***************************************************************************** | |
MIT License | |
Copyright (c) 2019 Werner Vänttinen | |
Permission is hereby granted, free of charge, to any person obtaining a copy |
{ | |
"0":{ | |
"day":{ | |
"description":"Sunny", | |
"image":"http://openweathermap.org/img/wn/01d@2x.png" | |
}, | |
"night":{ | |
"description":"Clear", | |
"image":"http://openweathermap.org/img/wn/01n@2x.png" | |
} |
/** | |
* Stop an iframe or HTML5 <video> from playing | |
* @param {Element} element The element that contains the video | |
*/ | |
var stopVideo = function ( element ) { | |
var iframe = element.querySelector( 'iframe'); | |
var video = element.querySelector( 'video' ); | |
if ( iframe ) { | |
var iframeSrc = iframe.src; | |
iframe.src = iframeSrc; |
import SwiftUI | |
struct PhotoView: View { | |
@State var scale: CGFloat = 1 | |
@State var scaleAnchor: UnitPoint = .center | |
@State var lastScale: CGFloat = 1 | |
@State var offset: CGSize = .zero | |
@State var lastOffset: CGSize = .zero | |
@State var debug = "" |
YouTube video link: https://youtu.be/8Uofkq718n8 | |
All the commands that are executed in the above youtube video are mentioned in this gist. | |
1. Install Apache server on Ubuntu | |
sudo apt install apache2 | |
2. Install php runtime and php mysql connector | |
sudo apt install php libapache2-mod-php php-mysql | |
3. Install MySQL server |