- Scott Chacon on the Interwebs(リンク切れ)
- Scott Chacon on the Interwebs
- GitHub Flow - The best way to use Git and GitHub
31 Aug 2011
#variation of http://urbangiraffe.com/2011/08/13/remote-editing-with-sublime-text-2/ that adds creating new folders remotely. | |
import sublime_plugin, os | |
class RemoteEdit(sublime_plugin.EventListener): | |
def on_post_save(self, view): | |
remote = { "/Users/leto/work/project": ["/usr/bin/scp", None, "user@server", "root_remote_path_like ~/project/", None] } | |
for dirname, target in remote.iteritems(): | |
if view.file_name().startswith( dirname ): |
<?php | |
class Cat | |
{ | |
protected $name; | |
public function getName() | |
{ | |
return $this->name; | |
} |
var isiPhone = !!navigator.userAgent.match(/[iPhone|iPad|iPod].*Mobile/); | |
/* | |
* -------------------------------------------------- | |
* Const | |
* -------------------------------------------------- | |
*/ | |
var MESSAGE = "<div id='message'>無限もりよし</div><br><div id='namekoNum'>0本</div>"; |
<Tomohiro> orz | |
<Tomohiro> うける | |
<gongo_tea> これはなんだろう。土下座してでも来てほしいのか | |
<gongo_tea> なんか残念なのか | |
<Tomohiro> 今の時代 LAMP/LAPP のスキルセット持ってても... | |
<Tomohiro> 的悲壮感ただよってる | |
<Tomohiro> Ruby/Node/NginX/Unicorn/MongoDB | |
<Tomohiro> あたりがナウい感じ出るのでは | |
<m_zuma> RNNUM | |
<gongo_tea> らんなむ |
#!/bin/sh | |
./configure \ | |
--prefix=$HOME/app/vim-7.3 \ | |
--disable-darwin \ | |
--disable-selinux \ | |
--enable-fontset \ | |
--enable-gnome-check \ | |
--enable-gui=gtk2 \ | |
--enable-multibyte \ |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>QR Code Generator</title> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | |
<script src="https://raw.github.com/jeromeetienne/jquery-qrcode/master/jquery.qrcode.min.js" type="text/javascript"></script> | |
<script type="text/javascript"> | |
jQuery(function($){ | |
$("#button").on('click', function(){ |
<?php | |
class Sample { | |
public __construct() { | |
} | |
public function sayHello($name) { | |
return Someclass::getInstance()->hello($name); | |
} |