Skip to content

Instantly share code, notes, and snippets.

💭
☕️

Shigetaka Shirouchi shgtkshruch

💭
☕️
Block or report user

Report or block shgtkshruch

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
@shgtkshruch
shgtkshruch / cVimrc
Last active Jan 7, 2020
cVim Options
View cVimrc
set nosmoothscroll
let scrollduration = 0
" Move
unmap d
unmap u
map <C-u> scrollPageUp
map <C-d> scrollPageDown
View csscomb.json
{
"exclude": [
".git/**",
"node_modules/**",
"bower_components/**"
],
"remove-empty-rulesets": true,
"always-semicolon": true,
"color-case": "upper",
"block-indent": " ",
@shgtkshruch
shgtkshruch / SassMeister-input-HTML.html
Created May 24, 2014
Generated by SassMeister.com.
View SassMeister-input-HTML.html
<div class="tooltip">What a lovely little tooltip!</div>
<p>Demo by Hugo Giraudel. <a href="http://www.sitepoint.com/sass-mixin-css-triangles/">See article</a>.</p>
View Async JavaScript
$ ->
# use settimeout
console.log 0
setTimeout ->
console.log 'hi, 1'
setTimeout ->
console.log 'hi, 2'
, 1000
console.log 1
, 1000
@shgtkshruch
shgtkshruch / index.html
Created Jan 30, 2014
create table by jade mixin
View index.html
<table class="orenge">
<tbody>
<tr>
<th class="apple">name</th>
<th class="apple">birthday</th>
<th class="apple">tel</th>
<th class="apple">mail</th>
</tr>
<tr>
<td class="cherry">shgtkshruch</td>
@shgtkshruch
shgtkshruch / Tables YAML SLIM
Last active Jan 3, 2016
Some tables made by yaml and slim
View Tables YAML SLIM
// YAML :main.yml
tables:
- table:
- th:
aaa
td:
- bbb
- ccc
- th:
ddd
@shgtkshruch
shgtkshruch / Table Yaml Slim
Last active Jan 3, 2016
Table made by yaml and slim
View Table Yaml Slim
// YAML
table:
- th:
aaa
td:
- bbb
- ccc
- ddd
- eee
- th:
@shgtkshruch
shgtkshruch / sass-convert
Created Jan 6, 2014
scss convert to sass
View sass-convert
sass-convert -F scss -T sass -R sass/ convert/
View @Mixin box-sizing
@mixin box-sizing($width, $border-right, $padding-right, $padding-left: $padding-right, $border-left: $border-right)
width: $width - $border-right - $padding-right - $padding-left - $border-left
@mixin box-sizing-height($height, $border-top, $padding-top, $padding-bottom: $padding-top, $border-bottom: $border-top)
height: $height - $border-top - $padding-top - $padding-bottom - $border-bottom
View Middleman - Slim
#id
p =lorem.word
.class
p =lorem.sentence
img src="#{lorem.image('300x300', :background_color => '333', :color => 'fff', :text => 'blah')}"
ul
- data.gnavi.nav.each do |i|
You can’t perform that action at this time.