View app.js
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
import React from 'react'; | |
import { Frame, FrameSet } from './react-flex-frame'; | |
class App extends React.Component { | |
render() { | |
return ( | |
<FrameSet direction="row"> | |
<Frame width="300" resiable={true} className="side"> | |
<h1>Side Bar</h1> | |
</Frame> |
View aho.rb
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
p AhoCorasick.new(["8年", "18年"]).match('平成18年') #=> ["18年"] | |
p AhoCorasick.new(["8年", "18年", "平成17年台風第11号"]).match('平成18年') #=> ["8年"] |
View cp932.txt
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
���{�� |
View init.coffee
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
atom.commands.add 'atom-workspace', 'custom:set-cp932', -> | |
atom.workspace.getActiveTextEditor().setEncoding('cp932') |
View gist:c55d86c311553c987ff3
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
require "nokogiri" | |
require "open-uri" | |
url = "https://blog.jxck.io/entries/2016-01-28/html-compression.html" | |
doc = Nokogiri::HTML(open(url)) | |
doc.css('title').each do |title| | |
puts title.content | |
#=> HTML の省略によるサイズ最適化 | blog.jxck.io | |
end |
View sql.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View magic_command.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View 01_introduction.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View .eslintrc
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
{ | |
"parser": "babel-eslint", | |
"env": { | |
"browser": true, | |
"node": true | |
}, | |
"rules": { | |
"no-cond-assign": 2, |
View test.js
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
/** @test {MyClass} */ | |
describe('MyClass', () => { | |
/** @test {MyClass#foo} */ | |
describe('MyClass#foo', () => { | |
it('should be ...'); | |
}); | |
/** @test {MyClass#bar} */ | |
describe('MyClass#bar', () => { | |
it('should be ...'); |
NewerOlder