View gist:8818733
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
$ defaults write com.google.Chrome AppleEnableSwipeNavigateWithScrolls -bool false |
View .emacs.el
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
(defun rcirc-generate-log-filename-per-process (process target) | |
(expand-file-name (format-time-string "%Y%m%d.txt") | |
(expand-file-name (or target "notarget") | |
(expand-file-name (process-name process) | |
rcirc-log-directory)))) | |
(setq rcirc-log-filename-function 'rcirc-generate-log-filename-per-process) |
View gist:8950501
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
while : ; do echo -n `date +%H:%M:%S`' ' ; for i in $(seq $(uptime | awk '{printf("%2d",$10 * 10)}')) ;do [ $i -le $((COLUMNS-8)) ] && echo -n '='; done; echo ''; sleep 3; done |
View gist:9064005
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
D:\Windows\System32>mkdir configBackup | |
D:\Windows\System32>copy config configBackup | |
config\BCD-Template | |
config\COMPONENTS | |
config\DEFAULT | |
config\SAM | |
config\SECURITY | |
config\SOFTWARE | |
config\SYSTEM |
View gist:9403182
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
(when (featurep 'helm-autoloads) | |
(global-set-key "\C-xb" 'helm-for-files) | |
(setq helm-idle-delay 0.1 | |
helm-input-idle-delay 0.1) | |
(setq helm-for-files-preferred-list | |
'(helm-source-buffers-list | |
helm-source-files-in-current-dir | |
helm-source-recentf | |
helm-source-bookmarks | |
helm-source-buffer-not-found)) |
View .emacs.el
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
;;whitespace | |
(setq whitespace-global-modes '(html-mode coffee-mode)) | |
(setq whitespace-style | |
'(face | |
tabs tab-mark | |
trailing ;;lines-tail | |
newline newline-mark | |
indentation empty | |
space-before-tab space-after-tab | |
;;spaces space-mark |
View gist:10568330
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
PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig:usr/local/share/aclocal ACLOCAL_FLAGS="-I/usr/local/share/aclocal/" LIBTOOLIZE=glibtoolize C_INCLUDE_PATH=/opt/X11/include/:/usr/local/opt/gettext/include LIBRARY_PATH=/opt/X11/lib/:/usr/local/opt/gettext/lib/ ./autogen.sh |
View nginx-struts2-paramreject.conf
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
worker_processes 1; | |
error_log /home/yasushi/src/nginx/error_log; | |
daemon off; | |
events { | |
worker_connections 1024; | |
} | |
http { |
View gist:89a5698fe8bd85b10071
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
--- | |
- name: debian | |
hosts: all | |
sudo: yes | |
tasks: | |
- apt: pkg={{ item }} state=present install_recommends=no default_release=jessie | |
with_items: | |
- anacron | |
- bc | |
- dc |
View gist:5adc22136a03bfe2c59b
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
% http POST http://localhost:4545/roles name=test chef_type=role json_class=Chef::Role default_attributes:='{}' description='' run_list:='["recipe[c]","recipe[a]","recipe[b]"]' override_attributes:='{}' | |
HTTP/1.1 201 Created | |
Content-Length: 53 | |
Content-Type: application/json | |
Date: Thu, 08 May 2014 20:55:25 GMT | |
X-Chef-Version: 11.0.11 | |
X-Goiardi: yes | |
X-Goiardi-Version: 0.5.0 | |
X-Ops-Api-Info: flavor=osc;version:11.0.11;goiardi=0.5.0 |
OlderNewer