Put flip somewhere in your $PATH and chmod a+x it.
Copy fuck into ~/.bashrc.
| import React, { Component } from 'react'; | |
| import userStorage from '../shared/storage/user'; | |
| import history from '../history'; | |
| const connectAuthCheck = doCheckFn => (Comp) => { | |
| class AuthedComonent extends Component { | |
| state = { | |
| authed: false, | |
| }; |
| class Symbol | |
| def [](*args) | |
| a = [self, args, '[]'] | |
| a.instance_eval('@_type_flag = \'[]\'') | |
| a | |
| end | |
| def <<(*ary) | |
| a = [self, ary.flatten, '<'] | |
| a.instance_eval('@_type_flag = \'<\'') | |
| a |
| /* | |
| * 引入voidable修饰符,用于修饰泛型参数。 | |
| * 被修饰的泛型参数T,可以在代码里具体化为void类型。 | |
| */ | |
| class Task<voidable T> { } // 带有voidable修饰 | |
| class List<T> { } // 不带voidable修饰 | |
| /* |
| 日時: | 2014-05-24 |
|---|---|
| 作: | 時雨堂 |
| バージョン: | 1.1.10 |
| url: | http://shiguredo.jp/ |
Lua ソースコード静的解析ツールは 時雨堂 が開発し販売をしています
| /** | |
| * ``` | |
| * Does JDK8's Optional class satisfy the Monad laws? | |
| * ================================================= | |
| * 1. Left identity: true | |
| * 2. Right identity: true | |
| * 3. Associativity: true | |
| * | |
| * Yes, it does. | |
| * ``` |
| // Just before switching jobs: | |
| // Add one of these. | |
| // Preferably into the same commit where you do a large merge. | |
| // | |
| // This started as a tweet with a joke of "C++ pro-tip: #define private public", | |
| // and then it quickly escalated into more and more evil suggestions. | |
| // I've tried to capture interesting suggestions here. | |
| // | |
| // Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
| // @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, |
| var empty_list = function(selector) { | |
| return selector(undefined, undefined, true); | |
| }; | |
| var prepend = function(el, list) { | |
| return function(selector) { | |
| return selector(el, list, false); | |
| }; | |
| }; | |
| var head = function(list) { |
| var empty_list = function(selector) { | |
| return selector(undefined, undefined, true); | |
| }; | |
| var prepend = function(el, list) { | |
| return function(selector) { | |
| return selector(el, list, false); | |
| }; | |
| }; | |
| var head = function(list) { |
| //PhantomJS http://phantomjs.org/ based web crawler Anton Ivanov anton.al.ivanov@gmail.com 2012 | |
| //UPDATE: This gist has been made into a Node.js module and now can be installed with "npm install js-crawler" | |
| //the Node.js version does not use Phantom.JS, but the API available to the client is similar to the present gist | |
| (function(host) { | |
| function Crawler() { | |
| this.visitedURLs = {}; | |
| }; | |