Skip to content

Instantly share code, notes, and snippets.

View woutervanwijk's full-sized avatar

Wouter van Wijk woutervanwijk

View GitHub Profile
@woutervanwijk
woutervanwijk / android_autoconnect.sh
Last active April 5, 2025 21:29
auto connect to Android wireless debugging port and save it for the next time (for MacOS)
#!/bin/bash -x
# ip (static) for Android
# ANDROID_DEVICE=192.168.1.45
# ANDROID_DEVICE=192.168.1.85
FILE=~/.adb_port
ANDROID_DEVICE=192.168.1.45
#first test old port
PORT=$(cat "$FILE")
<link rel="import" href="../topeka-elements/category-images.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<link rel="import" href="../paper-calculator/paper-calculator.html">
<link rel="import" href="../paper-checkbox/paper-checkbox.html">
<link rel="import" href="../paper-radio-button/paper-radio-button.html">
<link rel="import" href="../topeka-elements/avatars.html">
<link rel="import" href="../topeka-elements/theme.html">
@woutervanwijk
woutervanwijk / rx_websocket_protokol.html
Created July 2, 2012 19:23 — forked from schuster-rainer/rx_websocket_protokol.html
WebSocket Demo using ws4py, cherrypy to echo incomming traffic. CoffeeScript, jQuery, RxJS, websock.js for the Client
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8" />
<title>Pushing with Rx and websock.js</title>
<script src="script/jquery-1.7.1.js" type="text/javascript"></script>
<script src="script/rx.min.js" type="text/javascript"></script>
<script src="script/rx.jquery.js" type="text/javascript"></script>
<script src="script/rx.time.min.js" type="text/javascript"></script>
<script src="script/base64.js"></script>