I hereby claim:
- I am umurkontaci on github.
- I am umurkontaci (https://keybase.io/umurkontaci) on keybase.
- I have a public key ASCDS3Opaz1u-BaJaUPwB-k8QCqeIhKGw-OlUpD1wzvn3Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
3a4,5 | |
> 'use strict'; | |
> | |
6c8 | |
< i18n.translate( 'My test has two files.' ); | |
--- | |
> i18n.translate('My test has two files.'); | |
9c11 | |
< module.exports = test; | |
--- |
3a4,5 | |
> 'use strict'; | |
> | |
6c8 | |
< var content = i18n.translate( 'My hat has three corners.' ); | |
--- | |
> var content = i18n.translate('My hat has three corners.'); | |
9c11 | |
< content = i18n.translate( { original: 'My hat has three corners too.' } ); | |
--- |
# coding: utf-8 | |
# In[88]: | |
import json | |
def loadfile(path): | |
with open(path, 'r') as f: | |
return json.loads(f.read()) |
import json
def loadfile(path):
with open(path, 'r') as f:
return json.loads(f.read())
import requests | |
def follow(): | |
u = 'http://letsrevolutionizetesting.com/challenge?id=831657532' | |
while u: | |
print u | |
res = r.get(u, headers={'Accept': 'application/json'}) | |
u = res.json().get('follow', None) | |
print res.json() |
{ | |
"event_id": "32cebd5d-1542-4703-a5a3-be5eaa90af81", | |
"level": "error", | |
"logger": "android-exception", | |
"message": "java.lang.Error null", | |
"platform": "android", | |
"project": 10222, | |
"sentry.Interfaces.Exception": [ | |
{ | |
"module": "java.lang", |
// ==UserScript== | |
// @name Stackoverflow header color | |
// @namespace http://umurkontaci.com | |
// @version 0.1 | |
// @description Stackoverflow header is gray again! | |
// @match http://tampermonkey.net/index.php?version=3.5.3630.77&ext=dhdg&updated=true#features | |
// @copyright MIT | |
// ==/UserScript== | |
!(function (d) { |
#!/bin/bash | |
CURRENT_BRANCH=`git branch --no-color | grep '*' | sed s/\*\ //` | |
TARGET_BRANCH=$1 | |
CHANGED_FILE_LIST=filelist.diff.tmp | |
TARGET_PEP8="$TARGET_BRANCH".pep8.tmp | |
CURRENT_PEP8="$CURRENT_BRANCH".pep8.tmp | |
IGNORED_RULES="E501,W293" | |
if [[ -z "$1" ]]; then |
$scope.father = { | |
name: "John", | |
children: [] | |
}; | |
var child = { | |
name: "Mary", | |
father: $scope.father | |
}; | |
$scope.father.children.push(child); |