This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Demo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
####Install Scipy | |
* sudo apt-get install gfortran libopenblas-dev liblapack-dev | |
* pip install scipy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../topeka-elements/topeka-datasource.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../paper-toggle-button/paper-toggle-button.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<polymer-element name="my-element"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install Go | |
---- | |
sudo apt-get install golang | |
go version | |
VIM Syntax Highlight | |
---- | |
sudo apt-get install vim-syntax-go | |
mkdir -p ~/.vim/syntax |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<module external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="" external.system.module.version="unspecified" type="JAVA_MODULE" version="4"> | |
<component name="NewModuleRootManager" inherit-compiler-output="true"> | |
<exclude-output /> | |
<content url="file://$MODULE_DIR$"> | |
<excludeFolder url="file://$MODULE_DIR$/.gradle" /> | |
</content> | |
<orderEntry type="jdk" jdkName="1.6" jdkType="JavaSDK" /> | |
<orderEntry type="sourceFolder" forTests="false" /> | |
</component> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create the 'docker' group | |
vagrant@vagrant-ubuntu-raring-64:~$ sudo groupadd docker | |
# add your user to the 'docker' group | |
vagrant@vagrant-ubuntu-raring-64:~$ sudo gpasswd -a vagrant docker | |
Adding user vagrant to group docker | |
# restart docker so it uses the 'docker' group | |
vagrant@vagrant-ubuntu-raring-64:~$ sudo service docker restart | |
docker stop/waiting | |
docker start/running, process 12032 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Accessing docker container private network easily from your boot2docker host | |
----- | |
(from http://ispyker.blogspot.com/2014/04/accessing-docker-container-private.html) | |
add a Host-only adapter in VirtualBox | |
OSX: | |
# show route table | |
netstat -nr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################# | |
# apache.service | |
############################# | |
[Unit] | |
Description=My Apache Frontend | |
After=docker.service | |
Requires=docker.service | |
[Service] | |
ExecStart=/usr/bin/docker run --name apache -p 80:80 coreos/apache /usr/sbin/apache2ctl -D FOREGROUND |
NewerOlder