- Linux 使ってるけど vagrant とか Virtual Box とか時間かかってめんどい
- VM 作りまくって何が何だかわからなくなった
- Warden が動かない, Buildpack なにそれおいしいの?
- Go!
note: Ubuntu 12.04 (linux-image-3.8.0-23-generic) 使ってます。 Kernel 3.5 以前では安定しない模様。
// Original: https://gist.github.com/elifkus/09cd63b3cfbf4e070ecc83b4a4358eaa/281be3cc626dafeed767613ee5e3bad078268e38 | |
// TODO; 日単位で集計(加算)して、 | |
/** | |
* There is a write-up of how to get this code to run. https://elifk.us/en/retrieving-your-strava-data-with-google-app-scripts/ | |
*/ | |
var scriptProp = PropertiesService.getScriptProperties().getProperties(); |
#!/bin/sh | |
PROXY_USER=user | |
PROXY_PASS=password | |
PROXY_PORT=3128 | |
# Clear the repository index caches | |
yum clean all | |
# Update the operating system |
-- | |
-- open currently active Chrome tab with Safari | |
-- forked from https://gist.github.com/3151932 and https://gist.github.com/3153606 | |
-- | |
property theURL : "" | |
tell application "Google Chrome" | |
set theURL to URL of active tab of window 0 | |
end tell | |
if appIsRunning("Safari") then |
作業メモ
Mac OS X 10.8 (Mountain Lion) に rpy2 (Python で R を使う) をインストール
おそらくこれで最小だが、不足があるかも
diff --git a/src/nsterm.m b/src/nsterm.m | |
index 211b029..5a650b6 100644 | |
--- a/src/nsterm.m | |
+++ b/src/nsterm.m | |
@@ -4508,7 +4508,7 @@ ns_term_shutdown (int sig) | |
if (mac_pass_key_directly_to_emacs () | |
|| fnKeysym | |
- || (emacs_event->modifiers | |
+ || (emacs_event->modifiers && (emacs_event->modifiers != shift_modifier) |
# Note: | |
# To install git-head of mew: | |
# brew install --ignore-dependencies --HEAD mew | |
# If you omit --ignore-dependencies, brew will try to install Emacs head as well. | |
require 'formula' | |
class Mew < Formula | |
url 'http://www.mew.org/Release/mew-6.5.tar.gz' | |
homepage 'http://www.mew.org' | |
md5 '5aa0071696fd234f8853110b348c0357' |
require 'formula' | |
class Emacs < Formula | |
url 'http://ftp.gnu.org/pub/gnu/emacs/emacs-23.4.tar.bz2' | |
md5 '070c68ad8e3c31fb3cb2414feaf5e6f0' | |
homepage 'http://www.gnu.org/software/emacs/' | |
if ARGV.include? "--use-git-head" | |
head 'git://git.sv.gnu.org/emacs.git' | |
else |