Skip to content

Instantly share code, notes, and snippets.

@q629988171
q629988171 / VSCode.md
Created April 2, 2022 02:48 — forked from anonymous1184/VSCode.md
AHK Debugging with Visual Studio Code

AHK Debugging with Visual Studio Code

Guide created on 11/03/21 with VSCode version 1.53 (stable). Last tested with version 1.62.2.

I'm not a native English speaker, so please report inconsistencies to [/u/anonymous1184][00] (or send a .patch of the [source][01]).

Table of Contents

  1. TL;DR: 5min Cookbook Recipe
  2. Choosing a Version
@q629988171
q629988171 / openwrt_guest_wifi.sh
Created October 20, 2021 12:58 — forked from ruzickap/openwrt_guest_wifi.sh
OpenWrt - Guest WiFi configuration
uci set network.wifi_open=interface
uci set network.wifi_open.type=bridge
uci set network.wifi_open.proto=static
uci set network.wifi_open.ipaddr=10.0.0.1
uci set network.wifi_open.netmask=255.255.255.0
uci add wireless wifi-iface
uci set wireless.@wifi-iface[-1].device=radio0
uci set wireless.@wifi-iface[-1].mode=ap
uci set wireless.@wifi-iface[-1].ssid=medlanky.xvx.cz
@q629988171
q629988171 / EnableSSH.js
Created March 20, 2021 07:01 — forked from steelywing/EnableSSH.js
Enable RedMi 2100 SSH access
// Work for RedMi 2100 firmware 2.0.23
// http://cdn.cnbj1.fds.api.mi-img.com/xiaoqiang/rom/rm2100/miwifi_rm2100_all_fb720_2.0.23.bin
function getSTOK() {
let match = location.href.match(/;stok=(.*?)\//);
if (!match) {
return null;
}
return match[1];
}
@q629988171
q629988171 / Simple SQLite Example.au3
Created June 12, 2020 05:48 — forked from TheDcoder/Simple SQLite Example.au3
Simple SQLite Example in AutoIt
#include <Array.au3>
#include <SQLite.au3>
_SQLite_Startup() ; Load the DLL
If @error Then Exit MsgBox(0, "Error", "Unable to start SQLite, Please verify your DLL")
Local $sDatabase = @ScriptDir & '\SQLiteTestDatabase.db'
Local $hDatabase = _SQLite_Open($sDatabase) ; Create the database file and get the handle for the database
_SQLite_Exec($hDatabase, 'CREATE TABLE People (first_name, last_name);') ; CREATE a TABLE with the name "People"