- Scott Chacon on the Interwebs(リンク切れ)
- Scott Chacon on the Interwebs
- GitHub Flow - The best way to use Git and GitHub
31 Aug 2011
=Navigating= | |
visit('/projects') | |
visit(post_comments_path(post)) | |
=Clicking links and buttons= | |
click_link('id-of-link') | |
click_link('Link Text') | |
click_button('Save') | |
click('Link Text') # Click either a link or a button | |
click('Button Value') |
<html> | |
<head> | |
<title>client</title> | |
<script type="text/javascript" src="jquery-1.7.2.js"></script> | |
<script type="text/javascript" src="jquery.base64.js"></script> | |
<script type="text/javascript"> | |
function getinfo() { | |
$.ajax({ | |
url: "http://example.com/", | |
success: function(data){alert('OK');}, |
// Source: https://groups.google.com/forum/#!topic/angular/hVrkvaHGOfc | |
// jsFiddle: http://jsfiddle.net/pkozlowski_opensource/PxdSP/14/ | |
// author: Pawel Kozlowski | |
var myApp = angular.module('myApp', []); | |
//service style, probably the simplest one | |
myApp.service('helloWorldFromService', function() { | |
this.sayHello = function() { | |
return "Hello, World!" |
import groovy.xml.MarkupBuilder | |
apply plugin: "java" | |
apply plugin: "war" | |
apply plugin: "eclipse" | |
// maven-publish, maven2Gradle, build-dashboard | |
// checkstyle, findbugs, jdepend, pmd |
import groovy.xml.MarkupBuilder | |
apply plugin: "java" | |
apply plugin: "war" | |
apply plugin: "eclipse" | |
// maven-publish, maven2Gradle, build-dashboard | |
// checkstyle, findbugs, jdepend, pmd |
2013 Minori Yamashita [email protected]
-- ここにあなたの名前を追記 --
Twitter API 1.1 の現行APIの制限 | |
(REST API v1.1 Limits per window by resource) | |
https://dev.twitter.com/docs/rate-limiting/1.1/limits | |
・15分辺り最大何回実行できるか | |
Timelines | |
GET statuses/mentions_timeline 15回 | |
GET statuses/user_timeline 180回/user, 300回/application |
# ----- PROMPT ----- | |
## PROMPT | |
PROMPT=$'[%*] → ' | |
## RPROMPT | |
RPROMPT=$'`branch-status-check` %~' # %~はpwd | |
setopt prompt_subst #表示毎にPROMPTで設定されている文字列を評価する | |
# {{{ methods for RPROMPT | |
# fg[color]表記と$reset_colorを使いたい | |
# @see https://wiki.archlinux.org/index.php/zsh |