Skip to content

Instantly share code, notes, and snippets.

View muyexi's full-sized avatar
😬

Winter muyexi

😬
View GitHub Profile
@skreutzberger
skreutzberger / sen_ios_swift_dev.md
Last active December 6, 2018 20:49
Senior iOS Swift Developer (Freelance, 100% Remote)

Senior iOS Swift Developer (Freelance, 100% Remote, EU)

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:

  • build our chat-based iOS app and optionally later the Android app
@Ashton-W
Ashton-W / Breakpoints_v2.xcbkptlist
Last active January 25, 2023 09:28
My User Breakpoints_v2.xcbkptlist
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
type = "2"
version = "2.0">
<Breakpoints>
<!-- All Exceptions -->
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.ExceptionBreakpoint">
<BreakpointContent
@ignasi
ignasi / resizer-xxhdpi.sh
Last active February 7, 2021 15:29
Android XXHDPI Resizer (Tested on OS X Mavericks)
#!/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
@scribu
scribu / adb-su.py
Created September 3, 2013 23:33
Make adb work as if you had true root access.
import sys
import subprocess
# Requirements:
# - `adb` command locally
# - `su` command on device
def use_su(cmd):
to_escape = ['*', '|']
@klb3713
klb3713 / getSelect_clearSelect.js
Created June 27, 2013 13:59
Javascript获取选中的html和取消选择状态代码,兼容IE、Chrome和FF
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;
@nschwermann
nschwermann / .bashrc
Last active December 15, 2015 01:09
Helper functions for adb. Offers a selection menu for multiple devices and makes logcat filtering easier.
#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"
#!/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
@christopherperry
christopherperry / adb+
Created July 30, 2012 16:12
A bash script that let's you issue adb commands to multiple devices at once
#!/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
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active July 22, 2024 17:28
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname