This guide is based on the very informative discussion in this article: Using node_sqlite3 with Electron
Install sqlite3
npm install sqlite3 --save
This guide is based on the very informative discussion in this article: Using node_sqlite3 with Electron
Install sqlite3
npm install sqlite3 --save
wget http://golang.org/dl/go1.3.linux-amd64.tar.gz | |
sudo tar -C /usr/local -xzf go1.3.linux-amd64.tar.gz | |
sudo echo "PATH=$PATH:/vagrant/go/bin:/usr/local/go/bin" >> ~/.profile | |
sudo echo "export GOPATH=/vagrant/go" >> ~/.profile | |
sudo echo "export GOROOT=/usr/local/go" >> ~/.profile | |
source ~/.profile |
<!-- Facebook Custom Audience Pixel Code - Placed on Every Page of Site --> | |
<script> | |
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod? | |
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n; | |
n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0; | |
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window, | |
document,'script','//connect.facebook.net/en_US/fbevents.js'); | |
fbq('init', '{{facebook pixel}}'); | |
fbq('track', 'PageView'); | |
</script> |
#!/usr/bin/ruby | |
# Create display override file to force Mac OS X to use RGB mode for Display | |
# see http://embdev.net/topic/284710 | |
require 'base64' | |
data=`ioreg -l -d0 -w 0 -r -c AppleDisplay` | |
edids=data.scan(/IODisplayEDID.*?<([a-z0-9]+)>/i).flatten | |
vendorids=data.scan(/DisplayVendorID.*?([0-9]+)/i).flatten |
adb shell input keyevent 82 |
# CUDA. | |
apt-get install wget | |
wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_8.0.44-1_amd64.deb | |
dpkg -i cuda-repo-ubuntu1604_8.0.44-1_amd64.deb | |
apt-get update -y | |
# Recomends on a bare system installs a *ton* of 'junk', including the Ubuntu desktop. debtree chokes on telling you why. | |
apt-get install --no-install-recommends cuda | |
# NVIDIA CUDA® Deep Neural Network library (cuDNN) | |
# https://developer.nvidia.com/cud |
sudo apt-get install zsh | |
wget --no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh | |
chsh -s /bin/zsh | |
sudo reboot |
Open Conemu
Open Settings -> Tasks or go to new tab button -> Setup tasks.
Click +
to add a new task
Enter the name as Git Bash
or whatever you like
Task parameters:
/icon "C:\Program Files (x86)\Git\etc\git.ico" /dir "C:\_git"
Command:
#!/bin/bash | |
sudo add-apt-repository ppa:ubuntu-wine/ppa | |
sudo apt-get update | |
sudo apt-get install wine winetricks | |
winetricks vcrun6 corefonts |