Skip to content

Instantly share code, notes, and snippets.

👷
Do pointing and calling!

nabinno

👷
Do pointing and calling!
Block or report user

Report or block nabinno

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View warmup-select-condition.js
var page = require('webpage').create();
var system = require('system');
if (system.args.length === 1) {
console.log('Usage: phatomjs warmup-select-condition.js <some URL>');
phantom.exit();
}
var address = system.args[1];
var lib = "//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js";
page.onConsoleMessage = function(msg) { console.log("console> " + msg); }
@nabinno
nabinno / esa.el_(( ⁰⊖⁰)).md
Last active Apr 7, 2016
esa.el (\\( ⁰⊖⁰)/)
View esa.el_(( ⁰⊖⁰)).md

esa.el (\( ⁰⊖⁰)/)

設定

elpa インストール M-x package-install esa

あるいは、el-get インストール。

(unless (require 'esa nil 'noerror)
View org-mode-options.el
#+OPTIONS: toc:nil tags:nil todo:nil \n:nil num:nil -:nil f:t <:nil
#+OPTIONS: timestamp:nil *:nil ::nil @:nil ^:{} Tex:nil LaTex:nil
@nabinno
nabinno / rails_upgrade_meetup_on_2016_03_28.md
Last active Mar 29, 2016
Rails Upgrade Meetup on 2016-03-28
View rails_upgrade_meetup_on_2016_03_28.md

Rails Upgrade Meetup on 2016-03-28

@a_matsuda

Profile

  • stateful_enum
  • Asakusa.rb

Rails の10年

  • 1.x
  • 2.x
View os-detection.sh
case "${OSTYPE}" in
freebsd*|darwin*|linux*)
[ -z "$PS1" ] && return
stty -ixon
stty start undef
stty stop undef
OS=`uname -s`
REV=`uname -r`
MACH=`uname -m`
function GetVersionFromFile () {
View vimium--customkeymappings
map p scrollToTop
map n scrollToBottom
map wf LinkHints.activateModeToCopyLinkUrl
map b nextTab
map y previousTab
map ; removeTab
map ww copyCurrentUrl
map J performFind
map p scrollToTop
map n scrollToBottom
View java-uninstallation-on-ubuntu.sh
sudo apt-get update
sudo apt-get -y purge scala-library scala sbt
sudo apt-get -y remove scala-library scala sbt
sudo apt-get -y purge openjdk-\* icedtea-\* icedtea6-\*
apt-cache search java | awk '{print($1)}' | grep -E -e '^(ia32-)?(sun|oracle)-java' -e '^openjdk-' -e '^icedtea' -e '^(default|gcj)-j(re|dk)' -e '^gcj-(.*)-j(re|dk)' -e 'java-common' | xargs sudo apt-get -y remove
sudo apt-get -y autoremove
dpkg -l | grep ^rc | awk '{print($2)}' | xargs sudo apt-get -y purge
sudo rm -rf /usr/lib/jvm
You can’t perform that action at this time.