##Run install_syncthing.sh
$ curl -s https://gist.githubusercontent.com/hdml/7b079c114d3e20bf69f1/raw/1cd3647b1db4f80726c145fba725e27993a7fcdb/install_syncthing.sh | sudo bash
Start syncthing
$ syncthing
Wait until you get something like:
##Run install_syncthing.sh
$ curl -s https://gist.githubusercontent.com/hdml/7b079c114d3e20bf69f1/raw/1cd3647b1db4f80726c145fba725e27993a7fcdb/install_syncthing.sh | sudo bash
Start syncthing
$ syncthing
Wait until you get something like:
Simple guide for setting up OTG modes on the Raspberry Pi Zero - By Andrew Mulholland (gbaman).
The Raspberry Pi Zero (and model A and A+) support USB On The Go, given the processor is connected directly to the USB port, unlike on the B, B+ or Pi 2 B, which goes via a USB hub.
Because of this, if setup to, the Pi can act as a USB slave instead, providing virtual serial (a terminal), virtual ethernet, virtual mass storage device (pendrive) or even other virtual devices like HID, MIDI, or act as a virtual webcam!
It is important to note that, although the model A and A+ can support being a USB slave, they are missing the ID pin (is tied to ground internally) so are unable to dynamically switch between USB master/slave mode. As such, they default to USB master mode. There is no easy way to change this right now.
It is also important to note, that a USB to UART serial adapter is not needed for any of these guides, as may be documented elsewhere across the int
No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.
Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.
emacs --daemon to run in the background.
emacsclient.emacs24 <filename/dirname> to open in terminal
NOTE: "M-m and SPC can be used interchangeably".
C-/C-?M-c
2. Upper Case : M-uM-l| <?php | |
| # Licensed under a CC0 1.0 Universal (CC0 1.0) Public Domain Dedication | |
| # http://creativecommons.org/publicdomain/zero/1.0/ | |
| function ampify($html='') { | |
| # Replace img, audio, and video elements with amp custom elements | |
| $html = str_ireplace( | |
| ['<img','<video','/video>','<audio','/audio>'], |
| (function() { | |
| function bufferUrl(url, title) { | |
| baseUrl = "http://bufferapp.com/add?"; | |
| return [baseUrl, | |
| "url=", | |
| encodeURIComponent(url), | |
| "&text=", | |
| encodeURIComponent(title) | |
| ].join(''); | |
| } |
| # encoding: UTF-8 | |
| require 'optparse' | |
| require 'net/http' | |
| require 'json' | |
| def parse_options(argv) | |
| opts = {} | |
| @parser = OptionParser.new do |o| |
| ;; Keybonds | |
| (global-set-key [(hyper a)] 'mark-whole-buffer) | |
| (global-set-key [(hyper v)] 'yank) | |
| (global-set-key [(hyper c)] 'kill-ring-save) | |
| (global-set-key [(hyper s)] 'save-buffer) | |
| (global-set-key [(hyper l)] 'goto-line) | |
| (global-set-key [(hyper w)] | |
| (lambda () (interactive) (delete-window))) | |
| (global-set-key [(hyper z)] 'undo) |
| #!/usr/bin/env python | |
| import re | |
| import sys | |
| from subprocess import * | |
| PYTHONPATH = check_output('/usr/bin/find /Applications/GoogleAppEngineLauncher.app//Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/ -depth 1 -type d -exec /bin/echo -n "{}:" \;', shell=True) | |
| PYTHONPATH += '/Applications/GoogleAppEngineLauncher.app//Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/'; | |
| p = Popen(["/usr/local/bin/pylint","-fparseable","-rn","--disable=C,R", |