Skip to content

Instantly share code, notes, and snippets.

@simpx
simpx / adbwifi.sh
Last active October 5, 2023 14:34 — forked from stormzhang/adbwifi.sh
shell script for adb wifi
#!/bin/bash
######
# Android wireless debugging via wifi
# Usage: 1. Connect your device via USB
# 2. run this script
# 3. there you go
######
#You usually wouldn't have to modify this
@simpx
simpx / wr703n-openwrt.md
Created August 10, 2012 14:51 — forked from ninehills/wr703n-openwrt.md
wr703n刷openwrt配置、记录
@simpx
simpx / fabfile.py
Created December 15, 2011 09:10 — forked from cyberdelia/fabfile.py
Fabric deploy script with : south migrations, rollback and maintenance page.
from fabric.api import env, run, sudo, local, put
def production():
"""Defines production environment"""
env.user = "deploy"
env.hosts = ['example.com',]
env.base_dir = "/var/www"
env.app_name = "app"
env.domain_name = "app.example.com"
env.domain_path = "%(base_dir)s/%(domain_name)s" % { 'base_dir':env.base_dir, 'domain_name':env.domain_name }