Skip to content

Instantly share code, notes, and snippets.

$ defaults write com.google.Chrome AppleEnableSwipeNavigateWithScrolls -bool false
(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)
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
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
(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))
;;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
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
worker_processes 1;
error_log /home/yasushi/src/nginx/error_log;
daemon off;
events {
worker_connections 1024;
}
http {
---
- name: debian
hosts: all
sudo: yes
tasks:
- apt: pkg={{ item }} state=present install_recommends=no default_release=jessie
with_items:
- anacron
- bc
- dc
% 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