\e[38;5;82mHello \e[38;5;198mWorld
\e[38;5;82mHello \e[38;5;198mWorld
\e[38;5;82mHello \e[38;5;198mWorld
{ | |
"Set Local Environment Vars" : true, | |
"Working Directory" : "\/Users\/jdenizac", | |
"Prompt Before Closing 2" : 0, | |
"Selected Text Color" : { | |
"Green Component" : 0, | |
"Red Component" : 0, | |
"Blue Component" : 0 | |
}, | |
"Rows" : 25, |
\e[38;5;82mHello \e[38;5;198mWorld
\e[38;5;82mHello \e[38;5;198mWorld
\e[38;5;82mHello \e[38;5;198mWorld
#! /usr/bin/env node | |
console.log((new Date().getHours()) < 12 ? 'buenos!' : 'buenas!') |
#!/usr/bin/env node | |
console.log((new Date().getHours()) < 12 ? 'buenos!' : 'buenas!') |
#!/bin/sh | |
# Redirect output to stderr. | |
exec 1>&2 | |
changed=$(git diff --cached --name-only) | |
if echo $changed | grep '.js$'; then | |
prettier --list-different --no-semi --single-quote --trailing-comma=none --print-width=80 $changed || echo you cant go out looking like this! 💅 ; exit 1 | |
fi |
// @flow | |
export type Locale = | |
| 'EN-us' | |
| 'ES-us' | |
export default class Foo { | |
name: string | |
constructor (name: string) { |
.pl-c { | |
color: #969896 | |
} | |
.pl-c1,.pl-s .pl-v { | |
color: #0086b3 | |
} | |
.pl-e,.pl-en { | |
color: #795da3 |
if (window.requestAnimationFrame) { | |
function checkForJank () { // eslint-disable-line no-inner-delcarations | |
const frameStart = Date.now() | |
window.requestAnimationFrame(() => { | |
const frameDuration = Date.now() - frameStart | |
if (frameDuration > 17) { | |
Perf.log(FirstJank) | |
} else { | |
checkForJank() | |
} |
# Monkeypatch Selenium Webdriver to work on Travis IPv6 infrastructure | |
module Selenium | |
module WebDriver | |
class PortProber | |
IGNORED_ERRORS = [Errno::EADDRNOTAVAIL, Errno::EINVAL, Errno::EACCES].freeze | |
IGNORED_ERRORS << Errno::EBADF if Platform.cygwin? | |
def self.free?(port) | |
interfaces = Socket.getaddrinfo('localhost', 8080).map { |e| e[3] } | |
interfaces.each do |host| |