[crowly]$ g pull
remote: Counting objects: 4, done.
remote: Compressing objects: 100% (1/1), done.
remote: Total 2 (delta 1), reused 2 (delta 1)
Unpacking objects: 100% (2/2), done.
From https://github.com/xxxx/xxxxxxx
915a6f4..f361dce master -> origin/master //←ここの数字を $ git log 915a6f4..f361dce みたいにして見る
Updating 7b18103..f361dce
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=link_to image_tag('http://b.st-hatena.com/images/entry-button/button-only.gif'), 'http://b.hatena.ne.jp/entry/http://hoge.com', :class => 'hatena-bookmark-button', :data => {:hatena_bookmark_title => 'ページタイトル', :hatena_bookmark_layout => 'standard-balloon'}, :title => 'このエントリーをはてなブックマークに追加' | |
%script{:type => "text/javascript", :src => "http://b.st-hatena.com/js/bookmark_button.js", :charset => "utf-8", :async => "async"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* balloon | |
=balloon-left($size: 6px, $color: #FFF, $top: 6px) | |
position: relative | |
&:after | |
position: absolute | |
content: "" | |
display: block | |
border: $size solid transparent | |
border-right: $size solid $color | |
top: $top |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:javascript | |
$(function(){ | |
var contents = '.list li.hide'; | |
var trigger = '.trigger'; | |
$(contents).hide(); | |
$(trigger).click(function(){ | |
if($(contents + ':first').is(":hidden")){ | |
$(contents).fadeIn("fast"); | |
$(trigger).html([ | |
'<a href="#">', |
###commitをこっそり取り消す (rebase -i) #いまのなし
$ git rebase -i HEAD~~~
↓
HEADから3つのCommitがviで出てくる
↓
消したいcommitの名前を削除
↓
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function(){ | |
var contents = '.list li'; //対象のlist | |
var trigger = '.trigger'; //スイッチ | |
var contentsLength = $(contents).length; //listの個数 | |
var n = 10; //初期状態で表出したいlistの個数 | |
//listがn個以上ある場合は | |
if(contentsLength > n){ | |
//n番目以降を隠す | |
for(var i=n; i<contentsLength; i++){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ -> | |
contents = ".skilltags-more li" #対象のlist | |
trigger = ".skilltag-more-trigger" #スイッチ | |
contentsLength = $(contents).length #listの個数 | |
n = 10 #初期状態で表出したいlistの個数 | |
#listが10個以上ある場合は | |
if contentsLength > n | |
#n番目以降を隠す |
Speaker Deck
font-family: 'Open Sans', "Lucida Grande", Tahoma, Verdana, sans-serif;
Sumally
font-family: Georgia,"MS 明朝","Hiragino Mincho Pro W3","ヒラギノ明朝 Pro W3",serif;
Klout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ========================================================================== | |
/* zurui-liner-gradient | |
/* -------------------------------------------------------------------------- | |
=gradient-top-lighten($color : #666, $lighten: 10%) | |
background-color: $color | |
+filter-gradient(lighten($color, $lighten), $color,vertical) | |
+background-image(linear-gradient(lighten($color,$lighten) 0%, $color 100%)) | |
=gradient-top-darken($color : #666, $darken: 10%) | |
background-color: $color |
OlderNewer