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> |
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年"] |
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
���{�� |
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') |
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 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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, |
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