To pass wireguard's traffic through a TCP tunnel by using udp2raw
For Arch linux, install udp2raw by pacman:
pacman -S udp2raw
For Debian or Ubuntu, you can use a binary release from: https://github.com/wangyu-/udp2raw/releases
To pass wireguard's traffic through a TCP tunnel by using udp2raw
For Arch linux, install udp2raw by pacman:
pacman -S udp2raw
For Debian or Ubuntu, you can use a binary release from: https://github.com/wangyu-/udp2raw/releases
| // <![CDATA[ | |
| // ==UserScript== | |
| // @name YouTube Enhancer | |
| // @fullname YouTube Enhancer | |
| // @description Download Link + Quality Selector + Rollover Preview + Media Controller + Media Resizer + More... | |
| // @homepage http://userscripts.org/scripts/show/33042 | |
| // @icon http://s3.amazonaws.com/uso_ss/icon/33042/large.PNG?1245499122 | |
| // @updateURL http://userscripts.org/scripts/source/33042.meta.js | |
| // @downloadURL http://userscripts.org/scripts/source/33042.user.js | |
| // @author GIJoe |
| deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse | |
| deb-src http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse | |
| deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse | |
| deb-src http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse | |
| deb http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse | |
| deb-src http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse | |
| deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse |
| ## Note, this file is written by cloud-init on first boot of an instance | |
| ## modifications made here will not survive a re-bundle. | |
| ## if you wish to make changes you can: | |
| ## a.) add 'apt_preserve_sources_list: true' to /etc/cloud/cloud.cfg | |
| ## or do the same in user-data | |
| ## b.) add sources in /etc/apt/sources.list.d | |
| ## c.) make changes to template file /etc/cloud/templates/sources.list.tmpl | |
| # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to | |
| # newer versions of the distribution. |
| sudo apt remove -y chrome-remote-desktop && sudo apt purge -y chrome-remote-desktop |
| $ ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4 |
| /** | |
| * Embed Gists with a URL | |
| * | |
| * Usage: | |
| * Paste a gist link into a blog post or page and it will be embedded eg: | |
| * https://gist.github.com/2926827 | |
| * | |
| * If a gist has multiple files you can select one using a url in the following format: | |
| * https://gist.github.com/2926827?file=embed-gist.php | |
| * |
| # With your phone in debug mode, etc. | |
| adb start-server | |
| adb remount | |
| adb shell < remove.sh |
This is a quick guide to Kotlin programming language. The previous part of this guide is here
#Object Oriented
fun main(args : Array<String>) {
class local (val x : Int)
val y = local(10)
println("${y.x}")