Skip to content

Instantly share code, notes, and snippets.

View rkaneko's full-sized avatar
🎯
Focusing

Ryota Kaneko rkaneko

🎯
Focusing
View GitHub Profile
@rkaneko
rkaneko / isMac.sh
Created August 30, 2014 14:53
See if OS is Mac or not.
#!/bin/bash
if [ `expr "$(sw_vers -productName)" : '.*Mac'` -gt 0 ]; then
echo true
else
echo false
fi
@rkaneko
rkaneko / MyFirstGo.md
Last active August 29, 2015 14:05
My notes on exercises a tour of Go.
@rkaneko
rkaneko / ScalaMatsuriNotes.md
Last active August 29, 2015 14:06
ScalaMatsuri notes

ScalaMatsuri

Twitter hash tag

#ScalaMatsuri
(addtional) #ra #rb
#ScalaMatsuri2
for unconference
@rkaneko
rkaneko / ScalaMatsuri2.md
Last active August 29, 2015 14:06
ScalaMatsuri2 notes

Scala, the simple parts by 小田好先生

Read

  • Why Functional Prgramming

パネルディスカッション

@rkaneko
rkaneko / GitAndGitHubNotes.md
Last active August 29, 2015 14:06
Git & GitHub memo
@rkaneko
rkaneko / README.md
Last active August 29, 2015 14:08
Create a jar file containing jruby and compass.

Sample Embedded JsFiddle

When I publish a post, I get a 422 status error. It seems to fail to request api.github.com/repos/rkaneko/weblog/git/tree?[some id].

  • console log screenshot

screenshot

  • server response
\usepackage{listings}
\usepackage{color}
\definecolor{lightgray}{rgb}{.9,.9,.9}
\definecolor{darkgray}{rgb}{.4,.4,.4}
\definecolor{purple}{rgb}{0.65, 0.12, 0.82}
\lstdefinelanguage{JavaScript}{
keywords={typeof, new, true, false, catch, function, return, null, catch, switch, var, if, in, while, do, else, case, break},
keywordstyle=\color{blue}\bfseries,
ndkeywords={class, export, boolean, throw, implements, import, this},