Bash on Ubuntu on Windows (installation instructions) is a Linux Subsystem for Windows.
To add it to the Windows right click context menu, perform the following steps:
- Open
regedit
from the run menuWin + R
.
import React, { Component } from 'react'; | |
import logo from './logo.svg'; | |
import './App.css'; | |
// https://github.com/ded/script.js | |
var $script = require("scriptjs"); | |
// load remote component and return it when ready | |
// display current children while loading | |
class LoadRemoteComponent extends Component { |
/*----------------------------------------------------------------------------*/ | |
// redirects for login / logout | |
/*----------------------------------------------------------------------------*/ | |
add_filter('woocommerce_login_redirect', 'login_redirect'); | |
function login_redirect($redirect_to) { | |
return home_url(); | |
} |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
""" | |
Simply display the contents of the webcam with optional mirroring using OpenCV | |
via the new Pythonic cv2 interface. Press <esc> to quit. | |
""" | |
import cv2 | |
def show_webcam(mirror=False): | |
cam = cv2.VideoCapture(0) |
#!/bin/bash | |
wget https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer | |
sudo /usr/bin/apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion coffeescript node | |
chmod +x rvm-installer | |
./rvm-installer | |
source ~/.rvm/scripts/rvm |