Skip to content

Instantly share code, notes, and snippets.

@flyzjhz
flyzjhz / cloudSettings
Last active May 15, 2019 06:24
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-05-15T06:24:48.548Z","extensionVersion":"v3.2.9"}
@flyzjhz
flyzjhz / cloudSettings
Created April 3, 2019 05:57
Visual Studio Code Settings Sync Gist
// Empty
@flyzjhz
flyzjhz / appveyor.yml
Created December 27, 2017 12:43 — forked from myfreeer/.Moved_to_GitHub.md
aria2 build scripts for msys2
version: 1.0.{build}
install:
- ps: >-
$gitData = ConvertFrom-StringData (git log -1 --format=format:"commitId=%H%nmessage=%s%ncommitted=%aD" | out-string)
if ($gitData['message'] -eq "") { $gitData['message'] = "No commit message available for $($gitData['commitid'])" }
# View the data with Write-Output @gitData
Update-AppveyorBuild @gitData
@flyzjhz
flyzjhz / dog.sh
Created December 28, 2016 07:25 — forked from murilopontes/dog.sh
Openwrt watchdog script
#!/bin/sh
# save dog.sh in /root/dog.sh.
# You can use winscp with scp protocol to do this.
# Using ssh set executation permission and replace the crontab:
# chmod +x /root/dog.sh
# echo "* * * * * /root/dog.sh" | crontab -
# fix wpad / wpad-mini / hostapd stop working bug
logread -l 100 | grep -n "IEEE 802.11: did not acknowledge authentication response"
@flyzjhz
flyzjhz / xymodem-mini.c
Created September 22, 2016 03:18 — forked from zonque/xymodem-mini.c
simple xmodem/ymodem implementation in C
/*
* Minimalistic implementation of the XModem/YModem protocol suite, including
* a compact version of an CRC16 algorithm. The code is just enough to upload
* an image to a MCU that bootstraps itself over an UART.
*
* Copyright (c) 2014 Daniel Mack <github@zonque.org>
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the
* Free Software Foundation; either version 2.1 of the License, or (at your option)
From 2a7568d17915edd283a71f4cc4d4c71d066df912 Mon Sep 17 00:00:00 2001
From: Jaehoon You <jhyou@waffle.at>
Date: Fri, 25 Apr 2014 17:00:48 +0900
Subject: [PATCH] update coova-chilli to 1.3.0; add kmod-coova package;
---
net/coova-chilli/Config.in | 56 +++++++++++++
net/coova-chilli/Makefile | 94 ++++++++++++++++++++--
net/coova-chilli/files/chilli.firewall | 41 ++++++++++
net/coova-chilli/files/chilli.init | 61 ++++++++++++++