This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"always_prompt_for_file_reload": false, | |
"always_show_minimap_viewport": true, | |
"caret_extra_bottom": 0, | |
"caret_extra_top": 1, | |
"caret_extra_width": 1, | |
"caret_style": "solid", | |
"color_scheme": "Packages/User/Mariana (SublimePythonIDE).tmTheme", | |
"draw_centered": false, | |
"draw_minimap_border": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# -d 9 -type d | |
# -d 6 -type d | |
# -d 3 -type d | |
export APPS="${HOME}/.local/apps" | |
export PATH="${APPS}:${PATH}" | |
export JQ_URL="https://github.com/stedolan/jq/releases/download/jq-1.6/jq-osx-amd64" | |
export JQ_PATH="${APPS}/jq-osx-amd64" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
CELLS=500 | |
buffer=() | |
stack=() | |
ap=0 | |
for i in {1..$CELLS}; do | |
buffer+=(0) | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://arduino.esp8266.com/stable/package_esp8266com_index.json | |
http://clkdiv8.com/download/package_clkdiv8_index.json | |
http://digistump.com/package_digistump_index.json | |
http://download.labs.mediatek.com/package_mtk_linkit_index.json | |
http://download.labs.mediatek.com/package_mtk_linkit_smart_7688_index.json | |
http://downloads.arduino.cc/packages/package_mkr1000_index.json | |
http://downloads.konekt.io/arduino/package_konekt_index.json | |
http://downloads.sodaq.net/package_sodaq_index.json | |
http://downloads.sodaq.net/package_sodaq_samd_index.json | |
http://drazzy.com/package_drazzy.com_index.json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
<button onclick='load("beststories")' >best</button> | |
<button onclick='load("topstories")' >top</button> | |
<button onclick='load("newstories")' >new</button> | |
<div id=news ></div> | |
</body> | |
<script> | |
"use strict"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/vncdotool/rfb.py b/vncdotool/rfb.py | |
index b3ecaf3..f5cedbe 100644 | |
--- a/vncdotool/rfb.py | |
+++ b/vncdotool/rfb.py | |
@@ -143,7 +143,7 @@ class RFBClient(Protocol): | |
log.msg("Using protocol version %.3f" % version) | |
parts = str(version).split('.') | |
self.transport.write( | |
- bytes(b"RFB %03d.%03d\n" % (int(parts[0]), int(parts[1])))) | |
+ bytes("RFB %03d.%03d\n" % (int(parts[0]), int(parts[1])), 'ascii')) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name _; | |
return 307 https://$host$request_uri; | |
} | |
server { | |
listen 443 ssl; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Fake beacon frames for ESP8266 using the Arduino IDE | |
* Compiled with Arduino 1.6.9 and esp8266 2.1.0, but other versions should work too | |
* | |
* Based on the WiFiBeaconJam by kripthor (https://github.com/kripthor/WiFiBeaconJam) | |
* | |
* More info: http://nomartini-noparty.blogspot.com/2016/07/esp8266-and-beacon-frames.html | |
*/ | |
#include <WiFi.h> //more about beacon frames https://mrncciew.com/2014/10/08/802-11-mgmt-beacon-frame/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export TEMPDIR="$(mktemp -d)" | |
export ANDROID_HOME="${HOME}/Library/Android/sdk" | |
export LINK_TOOLS="https://dl.google.com/android/repository/sdk-tools-darwin-4333796.zip" | |
#ANDROID_HOME=/tmp/android/sdk | |
cd "${TEMPDIR}" | |
mkdir -p "${ANDROID_HOME}" | |
curl -#OL "${LINK_TOOLS}" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.