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
cities | |
city | |
config | |
estimates | |
experiments | |
job | |
jobs | |
languages | |
locale | |
location |
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 'fontfaceobserver' | |
import IndexPage from './IndexPage' | |
import Loader from './Loader' | |
import { fetchUser } from '../apiclient' | |
import 'font-awesome-webpack' | |
import './Lato-font.css' | |
import './Roboto-font.css' |
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 { DevTools, DebugPanel, LogMonitor } from 'redux-devtools/lib/react' | |
export default function openDebugPanel (store) { | |
const width = 0.3 * screen.width | |
const left = 0.7 * screen.width - 5 | |
const height = screen.height | |
const win = window.open( | |
null, | |
'redux-devtools', |
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
React = require 'react' | |
punycode = require 'punycode' | |
HOST = 'https://assets-cdn.github.com/images/icons/emoji/unicode/' | |
isEmojiCode = (charCode) -> | |
(charCode >= 0x1f300 and charCode <= 0x1f5ff) or | |
(charCode >= 0x1f600 and charCode <= 0x1f64f) or | |
(charCode >= 0x1f680 and charCode <= 0x1f6ff) or | |
(charCode >= 0x2600 and charCode <= 0x26ff) or |
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
var alien = document.createElement('html'); | |
alien.innerHTML = '<html><head><title>The Page</title></head><body><h1>hi!</h1></body></html>'; | |
document.head.innerHTML = alien.getElementsByTagName('head')[0].innerHTML; | |
document.body.innerHTML = alien.getElementsByTagName('body')[0].innerHTML; |
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
class SomeClass { | |
public: | |
int SomeMethod(int i, int j) { | |
return i+j; | |
} | |
} | |
... | |
typedef int (SomeClass::*SomeMethodSig) (int, int); | |
... | |
{ |