Skip to content

Instantly share code, notes, and snippets.

View geckotang's full-sized avatar
:octocat:

Shotaro Sakamaki geckotang

:octocat:
View GitHub Profile
<weapon>
<part id="Holo008" x="958" y="647.7" rotation="0" scale="1" flip="1,1" colors="666666,666666,666666"/>
<part id="Scope004" x="749" y="375.7" rotation="0" scale="1" flip="1,1" colors="666666,ff5656"/>
<part id="Silencer04" x="1246" y="693.7" rotation="0" scale="1" flip="1,1" colors="666666,e1e1e1"/>
<part id="RedDot009" x="702" y="461.7" rotation="0" scale="1" flip="1,1" colors="666666,666666"/>
<part id="Foregrip012" x="1098" y="752.7" rotation="0" scale="1" flip="1,1" colors="666666,666666"/>
<part id="Flashlight01" x="1134" y="691.7" rotation="0" scale="1" flip="1,1" colors="666666,666666"/>
<part id="Laser002S" x="1053" y="691.7" rotation="0" scale="1" flip="1,1" colors="666666,666666,666666"/>
<part id="RIS037" x="1086" y="700.7" rotation="0" scale="1.290638244156817" flip="1,1" colors="666666,666666,666666"/>
<part id="RIS039" x="961" y="464.7" rotation="0" scale="1" flip="1,1" colors="666666,666666,e1e1e1"/>
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>demo</title>
<style type="text/css">
label {
position: relative;
display: block;
border: 1px solid #ccc;
padding: 10px;
margin-bottom: 10px;
@geckotang
geckotang / Gruntfile.js
Created October 2, 2014 12:35
UTF-8のSCSSファイルからCSSを生成して、ファイルエンコーディングをShift_JISに変換する
module.exports = function(grunt){
var path = require('path');
var matchdep = require('matchdep');
matchdep.filterDev('grunt-*').forEach(grunt.loadNpmTasks);
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
compass: {
dev: {
@geckotang
geckotang / color.js
Last active August 29, 2015 14:07 — forked from kubosho/color.js
var $box = $('#box'), $panels, $panel, f, i;
function exec() {
for (i=0; i<$panels.length; i++){
$panel = $($panels[i]);
if ($panel.data('type') === 'a') {
$panel.click();
return true;
}
}
@geckotang
geckotang / bemtaro.md
Last active August 29, 2015 14:07
BEMだらけの桃太郎

BEMだらけの桃太郎

むかしむかし、あるところに、.parent-father + .parent-motherが住んでいました。
.parent-father--goes-mountain.parent-mother--does-washing
.parent-mother--is-doing-washingしていると、ドンブラコ、ドンブラコと、.peach--hugeが流れてきました。
「おや、これは.souvenir--niceになるわ」
.parent-mother.peach--hugeをひろいあげて、家に持ち帰りました。
そして、.parent-father + .parent-fatherが桃を食べようと.peach--has-cut、なんと中から.child-boy--is-energeticが飛び出してきました。
「これはきっと、#godがくださったにちがいない」
子どものいなかった.parent-father + .parent-motherは、大喜びです。

@geckotang
geckotang / SassMeister-input.scss
Created October 29, 2014 04:12
Generated by SassMeister.com.
// ----
// Sass (v3.3.14)
// Compass (v1.0.1)
// ----
@mixin imgHoverEffect ($selector: '.selector') {
display: block;
background: #fff;
img{
display: block;
@geckotang
geckotang / SassMeister-input.scss
Created March 17, 2015 14:24
Generated by SassMeister.com.
// ----
// libsass (v3.1.0)
// ----
$fontSansSerif : 'Helvetica Neue', Helvetica, '\30D2\30E9\30AE\30CE\89D2\30B4\20\50\72\6F\20\57\33', 'Hiragino Kaku Gothic Pro', '\30E1\30A4\30EA\30AA', Meiryo, '\FF2D\FF33\20\FF30\30B4\30B7\30C3\30AF', sans-serif;
html {
font-family: $fontSansSerif;
background: url(hoge.png);
background: url('hoge.png');
background: url("hoge2.png");
@geckotang
geckotang / SassMeister-input.scss
Created March 17, 2015 14:25
Generated by SassMeister.com.
// ----
// libsass (v3.1.0)
// ----
$fontSansSerif : 'Helvetica Neue', Helvetica, '\30D2\30E9\30AE\30CE\89D2\30B4\20\50\72\6F\20\57\33', 'Hiragino Kaku Gothic Pro', '\30E1\30A4\30EA\30AA', Meiryo, '\FF2D\FF33\20\FF30\30B4\30B7\30C3\30AF', sans-serif;
html {
font-family: $fontSansSerif;
background: url(hoge.png);
background: url('hoge.png');
background: url("hoge2.png");
@geckotang
geckotang / SassMeister-input.scss
Created March 17, 2015 14:33
Generated by SassMeister.com.
// ----
// Sass (v3.4.12)
// Compass (v1.0.3)
// ----
$fontSansSerif : 'Helvetica Neue', Helvetica, '\30D2\30E9\30AE\30CE\89D2\30B4\20\50\72\6F\20\57\33', 'Hiragino Kaku Gothic Pro', '\30E1\30A4\30EA\30AA', Meiryo, '\FF2D\FF33\20\FF30\30B4\30B7\30C3\30AF', sans-serif;
html {
/*エスケープされた日本語*/
font-family: $fontSansSerif;
@geckotang
geckotang / SassMeister-input.scss
Created March 17, 2015 14:34
Generated by SassMeister.com.
// ----
// libsass (v3.1.0)
// ----
$fontSansSerif : 'Helvetica Neue', Helvetica, '\30D2\30E9\30AE\30CE\89D2\30B4\20\50\72\6F\20\57\33', 'Hiragino Kaku Gothic Pro', '\30E1\30A4\30EA\30AA', Meiryo, '\FF2D\FF33\20\FF30\30B4\30B7\30C3\30AF', sans-serif;
html {
/*エスケープされた日本語*/
font-family: $fontSansSerif;
/*クォーテーションの置き換え */