sudo dpkg -i cuda-repo-ubuntu1404_6.5-14_amd64.deb
sudo apt-get update
sudo dpkg -i cuda-repo-ubuntu1404_6.5-14_amd64.deb
sudo apt-get update
Step 1: Setting > About Phone > Start Tapping (7 times) on Build number option 'you are now developer'. | |
Setting > Developer Options > Enable USB Debugging | |
Step 2: sudo apt-get instal mtp-tools mtpfs | |
Step 3: sudo gedit /etc/udev/rules.d/51-android.rules | |
#LG – Nexus 5 | |
ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee7", MODE=”0666" | |
Step 4: sudo chmod +x /etc/udev/rules.d/51-android.rules |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
domain = "example.com" | |
settings = { | |
:hostname => "adam", | |
:box => "ubuntu/trusty64", |
http://graphics.stanford.edu/~seander/bithacks.html | |
http://literallycanvas.com/ | |
http://ufldl.stanford.edu/tutorial/ | |
http://www.iro.umontreal.ca/~pift6266/H10/notes/deepintro.html |
var FilteredList = React.createClass({ | |
filterList: function(event){ | |
var updatedList = this.state.initialItems; | |
updatedList = updatedList.filter(function(item){ | |
return item.toLowerCase().search( | |
event.target.value.toLowerCase()) !== -1; | |
}); | |
this.setState({items: updatedList}); | |
}, | |
getInitialState: function(){ |
/** @jsx React.DOM */ | |
var SVGComponent = React.createClass({ | |
render: function() { | |
return this.transferPropsTo( | |
<svg>{this.props.children}</svg> | |
); | |
} | |
}); | |
Starts with: abc Ends with: xyz Contains: 123 Doesn't contain: 456
OR
/^abc|xyz$|123|^(?:(?!456).)*$/
AND
/^(?=^abc)(?=.*xyz$)(?=.*123)(?=^(?:(?!456).)*$).*$/
## set local/fastest mirror and local timezone | |
mv /etc/apt/sources.list /etc/apt/sources.list.orig | |
cat > /etc/apt/sources.list <<EOF | |
deb mirror://mirrors.ubuntu.com/mirrors.txt trusty main restricted universe multiverse | |
deb mirror://mirrors.ubuntu.com/mirrors.txt trusty-updates main restricted universe multiverse | |
deb mirror://mirrors.ubuntu.com/mirrors.txt trusty-backports main restricted universe multiverse | |
deb mirror://mirrors.ubuntu.com/mirrors.txt trusty-security main restricted universe multiverse |
sudo apt-get install libxml2-dev libxslt1-dev
sudo apt-get install libffi-dev libssl-dev