This file contains 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
sudo docker rm -f $(sudo docker ps -a -q) | |
sudo docker rmi -f $(sudo docker images -q) | |
sudo docker volume rm $(sudo docker volume ls -qf dangling=true) |
This file contains 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
#cloud-config | |
ssh_authorized_keys: | |
- ssh-rsa <my-public-key> | |
rancher: | |
services: | |
nginx-proxy: | |
image: jwilder/nginx-proxy:0.4.0 | |
restart: unless-stopped | |
ports: | |
- "80:80" |
This file contains 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
#!/bin/sh | |
# | |
# LICENSE AT END OF FILE | |
# | |
# This is a script to automatically install pacaur from the AUR. It is | |
# intended for fresh systems with no other means to install from AUR. | |
# Theoretically, this script can install other packages too. Just modify | |
# the $aurpkgs variable below. | |
# |
This file contains 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
import PhotoScan | |
import datetime | |
import glob | |
import os | |
''' | |
A workflow to process multiple set of photos in Photoscan. | |
See the bottom of the file for configuration options and documentation. |
This file contains 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
setopt EXTENDED_GLOB | |
for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do | |
ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}" | |
done |
This file contains 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
Uncomment the following two lines for normal desktop: | |
# unset SESSION_MANAGER | |
# exec /etc/X11/xinit/xinitrc | |
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup | |
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources | |
xsetroot -solid grey | |
vncconfig -iconic & | |
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & | |
xfce4-session & |
This file contains 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
# nvidia-xconfig: X configuration file generated by nvidia-xconfig | |
# nvidia-xconfig: version 340.24 (buildmeister@swio-display-x64-rhel04-07) Wed Jul 2 15:50:44 PDT 2014 | |
Section "DRI" | |
Mode 0666 | |
EndSection | |
Section "ServerLayout" | |
Identifier "Layout0" | |
Screen 0 "Screen0" 0 0 |
This file contains 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
test |
This file contains 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
controller#index (ActionView::TemplateError) "Read-only file system - /disk1/home/slugs/133600_55f32b2_831e/mnt/public/stylesheets/base.css - Heroku has a read-only filesystem. See http://docs.heroku.com/constraints#read-only-filesystem" | |
On line #18 of app/views/layouts/application.html.haml | |
15: #logo.span-6 | |
16: %a{:href => '/map/'} | |
17: %img{:src => '/images/logo.gif'} | |
18: #app_title.span-10 | |
19: Application 1.0 | |
20: #user_nav.span-8 |
This file contains 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
$(document).ready(function() { | |
$('#on').click(function() { | |
$('#hud').show(250); | |
}); | |
$('#off').click(function() { | |
$('#hud').hide(250); | |
}); |