My go at a simple, clean table for WebDesignTuts Community Project - see more about it here: http://webdesign.tutsplus.com/articles/workshops/community-project-style-a-simple-data-table/
A Pen by charlie hield on CodePen.
# os : archlinux | |
# terminal : lilyterm | |
# font : ttf-dejavu | |
# source : https://gist.github.com/3feec5b12fcf07c6b64e | |
### export {{{ | |
PATH=$PATH:$HOME/.rvm/bin | |
HISTFILE=~/.zsh_history | |
HISTSIZE=20000 |
My go at a simple, clean table for WebDesignTuts Community Project - see more about it here: http://webdesign.tutsplus.com/articles/workshops/community-project-style-a-simple-data-table/
A Pen by charlie hield on CodePen.
I hereby claim:
To claim this, I am signing this object:
#!/system/bin/bash | |
# https://code.google.com/p/android-python27/wiki/TutorialHowToRunPythonfromShell | |
export PYTHONHOME=/data/data/com.android.python27/files/python | |
export PYTHONPATH=/sdcard/com.android.python27/extras/python:/data/data/com.android.python27/files/python/lib/python2.7/lib-dynload:/data/data/com.android.python27/files/python/lib/python2.7 | |
export PATH=$PYTHONHOME/bin:$PATH | |
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/data/data/com.android.python27/files/python/lib:/data/data/com.android.python27/files/python/lib/python2.7/lib-dynload | |
export AP_HOST=localhost | |
export AP_PORT=45777 | |
am start -a com.android.python27.LAUNCH_RPC_SERVER -n com.android.python27/.RpcServerLauncher --ei com.android.python27.RPC_SERVER_PORT 45777 |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script> | |
<script src="../static/js/jquery.xdomainajax.js"></script> | |
<script src="../static/bower_components/d3/d3.min.js" charset="utf-8"></script> | |
<script src="../static/bower_components/cal-heatmap/cal-heatmap.min.js"></script> | |
<link rel="stylesheet" href="../static/bower_components/cal-heatmap/cal-heatmap.css" /> | |
<!--<script src="https://raw.githubusercontent.com/syui/jquery.fn/master/cross-domain-ajax/jquery.xdomainajax.js"></script>--> | |
<!--diff : https://github.com/syui/jquery.fn/blob/master/cross-domain-ajax/jquery.xdomainajax.js#L62 --> | |
<h3>Calendar Activities</h3> | |
<div id="cal-heatmap"></div> | |
<div id="example-heatmap"></div> |
!urxvt.font: xft:Bitstream Vera Sans Mono-8.5 | |
urxvt*shading: 20 | |
urxvt*inheritPixmap: True | |
urxvt.background: black | |
urxvt.foreground: white | |
urxvt*scrollBar: true | |
urxvt*scrollBar_floating: true | |
urxvt*scrollBar_right: true | |
urxvt*scrollColor: #202020 | |
urxvt*termName: xterm |
#!/usr/bin/env python | |
#coding: utf8 | |
import sys, re, cgi, urllib, urllib2, cookielib, xml.dom.minidom, time, netrc | |
import json | |
#netrc | |
netrc = netrc.netrc() | |
l,a,p = netrc.authenticators("nicovideo") | |
#login info |
###tool
$ sudo port install graphicsmagick ffmpeg imagemagick
###ffmpeg
####mp4,flv,swf -> mp3
#!/usr/bin/gosh | |
(use gauche.termios) | |
;; http://d.hatena.ne.jp/rui314/20070319/p1 | |
;; 端末を非カノニカルモードに変更して1文字を読む手続き。 | |
;; リターンするまえに端末のモードを元に戻す。 | |
(define (read-single-char port) | |
(let* ((attr (sys-tcgetattr port)) | |
(lflag (slot-ref attr 'lflag))) | |
(dynamic-wind | |
(lambda () |
#!/bin/sh | |
echo " | |
tell application \"iTerm\" | |
activate | |
tell current session of current terminal | |
set transparency to $1 | |
end tell | |
end tell | |
" | osascript - |