Can be used for streaming data (webcam or screen capture) from the Windows to WSL
Run from a WSL terminal
ip route list default | awk '{print $3}'Can be used for streaming data (webcam or screen capture) from the Windows to WSL
Run from a WSL terminal
ip route list default | awk '{print $3}'| { | |
| // open json editor for settings | |
| "workbench.settings.editor": "json", | |
| // Theme | |
| "workbench.colorTheme": "Aura Dark", | |
| "workbench.iconTheme": "moxer-icons", | |
| // Change font | |
| "editor.fontFamily": "Geist Mono", |
| { | |
| "genreList": [ | |
| { | |
| "name": "SkillGame", | |
| "releaseDate": "01-01-1976", | |
| "targetGroup": ["Children", "Teenagers", "Adults", "Seniors", "All"], | |
| "subGenre": ["PuzzleGame", "Action", "Platformer"], | |
| "design": [ | |
| { | |
| "name": "Gameplay", |
| // An example viewDidLoad | |
| - (void)viewDidLoad | |
| { | |
| [super viewDidLoad]; | |
| [self loadWebView]; | |
| } | |
| // The example loader | |
| // | |
| // Assumes you have an IBOutlet for the UIWebView defined: @property (strong, nonatomic) UIWebView *wv; |
| const hash = require("crypto-js/sha256"); | |
| class Block { | |
| constructor(previousHash, data) { | |
| this.data = data; | |
| this.hash = this.calculateHash(); | |
| this.previousHash = previousHash; | |
| this.timeStamp = new Date(); | |
| this.proofOfWork = 0; | |
| } |
| # brew install nginx | |
| sudo ln -s /usr/local/opt/nginx/homebrew.mxcl.nginx.plist /Library/LaunchDaemons/ | |
| sudo chown root:wheel /usr/local/opt/nginx/homebrew.mxcl.nginx.plist | |
| sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.nginx.plist | |
| # Why do you need sudo? | |
| # If you want nginx to be able to bind to port 80, it will need superuser privileges |
This is a fork of original gist https://gist.github.com/nrollr/3f57fc15ded7dddddcc4e82fe137b58e, with slight changes on pointing to 5.7 version branch, instead of 8 (latest default of MySQL in Hombrew).
This procedure explains how to install MySQL using Homebrew on macOS (Sierra 10.12 and up)
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"| //Cache Buster | |
| (function (){ | |
| var rep = /.*\?.*/, | |
| links = document.getElementsByTagName('link'), | |
| scripts = document.getElementsByTagName('script'), | |
| process_scripts = false; | |
| for (var i=0;i<links.length;i++){ | |
| var link = links[i], | |
| href = link.href; | |
| if(rep.test(href)){ |
| {"[email protected]":{"org.gnome.shell.extensions.bluetooth-quick-connect":""},"[email protected]":{"org.gnome.shell.extensions.sensory-perception":""},"[email protected]":{"org.gnome.shell.extensions.dash-to-dock":"[/]\nextend-height=false\ncustom-background-color=true\nisolate-monitors=true\ndock-fixed=false\nunity-backlit-items=false\ndash-max-icon-size=32\nrunning-indicator-dominant-color=true\ncustom-theme-shrink=true\nmulti-monitor=true\nicon-size-fixed=true\ntransparency-mode='FIXED'\nisolate-workspaces=true\npreferred-monitor=0\nforce-straight-corner=true\nautohide-in-fullscreen=true\ncustom-theme-customize-running-dots=false\nshow-delay=1.3877787807814457e-17\nshow-apps-at-top=false\napply-custom-theme=true\nanimation-time=0.050000000000000017\nheight-fraction=1.0\nhot-keys=false\nshow-windows-preview=true\nhide-delay=1.3877787807814457e-17\nrequire-pressure-to-show=false\nintellihide=true\ndock-position='BOTTOM'\nrunning-indicator-style= |