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
@mixin placeholder($normal, $focus, $align, $direction) | |
&::-webkit-input-placeholder | |
color: $normal !important | |
text-align: $align !important | |
direction: $direction | |
&:focus::-webkit-input-placeholder | |
color: $focus !important | |
text-align: $align !important |
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
val cellStream = ViewObservable.clicks(newCell, false) | |
val doubleClickCellStream = cellStream | |
?.buffer(cellStream?.debounce(200,TimeUnit.MILLISECONDS)) | |
?.map({ list -> | |
println("list ${list}") | |
listOf(list?.first, list?.count()) | |
}) | |
?.filter({ list -> | |
val x = list?.last as Int |
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
check process [MYWORKNAME] with pidfile /var/run/[APP].pid | |
start program = "/usr/local/rvm/bin/rvm-shell -c 'cd /var/www/[APP]/current/; RAILS_ENV=production bundle exec bin/delayed_job start'" | |
stop program = "/usr/local/rvm/bin/rvm-shell -c 'cd /var/www/[APP]/current/; RAILS_ENV=production bundle exec bin/delayed_job stop'" | |
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
Verifying that +imton is my openname (Bitcoin username). https://onename.io/imton |
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
from docker import Client | |
from docker import tls | |
import ssl | |
import os | |
import requests.packages.urllib3 as urllib3 | |
urllib3.disable_warnings() | |
def docker_client(): |
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
Pod::Spec.new do |s| | |
s.name = "PerchRTC" | |
s.version = "1.0.7" | |
s.summary = "Easiest way to include WebRTC in iOS." | |
s.homepage = "https://github.com/perchco/perchrtc" | |
s.license = "MIT" |
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
{"AD": "🇦🇩", "AE": "🇦🇪" ,"AF": "🇦🇫" ,"AG": "🇦🇬" ,"AI": "🇦🇮" ,"AL": "🇦🇱" ,"AM": "🇦🇲" ,"AO": "🇦🇴" ,"AQ": "🇦🇶" ,"AR": "🇦🇷" ,"AS": "🇦🇸" ,"AT": "🇦🇹" ,"AU": "🇦🇺" ,"AW": "🇦🇼" ,"AX": "🇦🇽" ,"AZ": "🇦🇿" ,"BA": "🇧🇦" ,"BB": "🇧🇧" ,"BD": "🇧🇩" ,"BE": "🇧🇪" ,"BF": "🇧🇫" ,"BG": "🇧🇬" ,"BH": "🇧🇭" ,"BI": "🇧🇮" ,"BJ": "🇧🇯" ,"BL": "🇧🇱" ,"BM": "🇧🇲" ,"BN": "🇧🇳" ,"BO": "🇧🇴" ,"BQ": "🇧🇶" ,"BR": "🇧🇷" ,"BS": "🇧🇸" ,"BT": "🇧🇹" ,"BV": "🇧🇻" ,"BW": "🇧🇼" ,"BY": "🇧🇾" ,"BZ": "🇧🇿" ,"CA": "🇨🇦" ,"CC": "🇨🇨" ,"CD": "🇨🇩" ,"CF": "🇨🇫" ,"CG": "🇨🇬" ,"CH": "🇨🇭" ,"CI": "🇨🇮" ,"CK": "🇨🇰" ,"CL": "🇨🇱" ,"CM": "🇨🇲" ,"CN": "🇨🇳" ,"CO": "🇨🇴" ,"CR": "🇨🇷" ,"CU": "🇨🇺" ,"CV": "🇨🇻" ,"CW": "🇨🇼" ,"CX": "🇨🇽" ,"CY": "🇨🇾" ,"CZ": "🇨🇿" ,"DE": "🇩🇪" ,"DJ": "🇩🇯" ,"DK": "🇩🇰" ,"DM": "🇩🇲" ,"DO": "🇩🇴" ,"DZ": "🇩🇿" ,"EC": "🇪🇨" ,"EE": "🇪🇪" ,"EG": "🇪🇬" ,"EH": "🇪🇭" ,"ER": "🇪🇷" ,"ES": "🇪🇸" ,"ET": "🇪🇹" ,"FI": "🇫🇮" ,"FJ": "🇫🇯" ,"FK": "🇫🇰" ,"FM": "🇫🇲" ,"FO": "🇫🇴" ,"FR": "🇫🇷" ,"GA": "🇬🇦" ,"GB": "🇬🇧" ,"GD": "🇬🇩" ,"GE": "🇬🇪" ,"GF": "🇬🇫" ,"GG": "🇬🇬" ,"GH": "🇬🇭" ,"GI": "🇬🇮" ,"GL": "🇬🇱" ,"GM": "🇬🇲" ,"GN |
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 { combineReducers } from 'redux' | |
import reduceReducers from 'reduce-reducers' | |
import { invites } from './Invites' | |
import { claimInvite } from './ClaimInvite' | |
import { app } from './App' | |
import * as actions from '../constants/ActionTypes' | |
import {mapping, parseRemotePersonJSON} from './App' |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="[add your bin description]"> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
$separationmargin: 10px; | |
$boxpadding: 10px; |
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, { PureComponent } from 'react' | |
import { | |
View, | |
Text, | |
VirtualizedList | |
} from 'react-native' | |
class DataSource { | |
getElementAtIndex (index) { | |
return { key: index } |
OlderNewer