http://ln.hixie.ch/?start=1037910467&count=1
http://ln.hixie.ch/?start=1137740632&count=1
#!/bin/bash | |
# Script adb+ | |
# Usage | |
# You can run any command adb provides on all your currently connected devices | |
# ./adb+ <command> is the equivalent of ./adb -s <serial number> <command> | |
# | |
# Examples | |
# ./adb+ version | |
# ./adb+ install apidemo.apk | |
# ./adb+ uninstall com.example.android.apis |
#!/usr/bin/python | |
''' | |
Copyright 2009, The Android Open Source Project | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 |
#add to your .bash_profile / .bashrc | |
adbd () { | |
adb -s $(get_device) "$@" | |
} | |
function get_device() { | |
local devices=$(adb devices | grep device$) | |
if [ $(wc -l <<< "$devices") -eq 1 ]; then | |
awk {'print $1'} <<< "$devices" |
function getSelectionHtml() { | |
var html = ""; | |
if (typeof window.getSelection != "undefined") { | |
var sel = window.getSelection(); | |
if (sel.rangeCount) { | |
var container = document.createElement("div"); | |
for (var i = 0, len = sel.rangeCount; i < len; ++i) { | |
container.appendChild(sel.getRangeAt(i).cloneContents()); | |
} | |
html = container.innerHTML; |
import sys | |
import subprocess | |
# Requirements: | |
# - `adb` command locally | |
# - `su` command on device | |
def use_su(cmd): | |
to_escape = ['*', '|'] |
#!/bin/bash | |
f=$(pwd) | |
mkdir drawable-mdpi drawable-hdpi drawable-xhdpi drawable-xxhdpi | |
# fake argv and argc in bash | |
argc=$#; argv[0]=$0 # argv[0] is a prog name | |
for foo in $( seq $argc ) | |
do |
<?xml version="1.0" encoding="UTF-8"?> | |
<Bucket | |
type = "2" | |
version = "2.0"> | |
<Breakpoints> | |
<!-- All Exceptions --> | |
<BreakpointProxy | |
BreakpointExtensionID = "Xcode.Breakpoint.ExceptionBreakpoint"> | |
<BreakpointContent |
I am searching experienced Swift freelancers for a disruptive, well-funded high-tech startup in the renewable energies sector located in Germany.
You will play a major role in making the world greener, the future brighter and energy distribution smarter by using latest technologies like server-side Swift, microservices, artificial intelligence and machine learning and new interfaces like chatbots, voice-only (Alexa, Google Home) and goal-driven dialog systems.
A substantial track record in open-source projects, a set of already released iOS apps on the App Store and a timezone difference of max 2 hours to Berlin local time are a must-have.
Your job: