Skip to content

Instantly share code, notes, and snippets.

View Anime4000's full-sized avatar

Anime4000

View GitHub Profile
@Anime4000
Anime4000 / iodine-frekky.md
Created February 3, 2018 19:07
cross-compile
  1. Using msys2
  2. Update msys2 by typing pacman -Syu, close terminal (no type exit)
  3. Open MSYS2 MSYS at Start Menu and run pacman -Su
  4. Install package pacman -S base-devel git mingw-w64-x86_64-toolchain zlib-devel yasm cmake
Hatoko@Hatoko-VM MSYS ~
$ cd iodine-master/

Hatoko@Hatoko-VM MSYS ~/iodine-master
@Anime4000
Anime4000 / readme.md
Last active September 7, 2018 20:36
Get WampServer a HTTPS

Create a certificate

Just like create OpenVPN certificate

Copy newly created certificate

  • Create a cert folder at: C:\wamp64\bin\apache\apache2.4.33\conf
  • Copy certificate.crt and private.key to C:\wamp64\bin\apache\apache2.4.33\conf\cert

Edit httpd.conf

  • Location: C:\wamp64\bin\apache\apache2.4.33\conf\httpd.conf
  • Uncomment # each this line
@Anime4000
Anime4000 / firefox_about.json
Created October 28, 2018 14:54
Firefox crash IPv6 Address HTTP to HTTPS
{
"application": {
"name": "Firefox",
"osVersion": "Windows_NT 10.0",
"version": "63.0",
"buildID": "20181018182531",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0",
"safeMode": true,
"updateChannel": "release",
"supportURL": "https://support.mozilla.org/1/firefox/63.0/WINNT/en-US/",
@Anime4000
Anime4000 / iperf-loop.sh
Created March 10, 2019 18:02
VyOS Network Stress Test PPPoE
#!/bin/bash
killall -9 iperf 2> /dev/null
echo "[INFO]: Hello!"
while :
do
sleep 10s
@Anime4000
Anime4000 / maxis-voip.txt
Last active November 26, 2022 06:05
Maxis VoIP on Huawei ONU
_________________
WAN Configuration
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
Enable WAN: ✔
Encapsulation mode: IPoE
Protocol type: IPv4
WAN mode: Routed WAN
Service type: VoIP
Enable VLAN: ✔
VLAN ID: 822
https://www.msys2.org/
pacman -Syu
pacman -Su
pacman -Ss gcc | grep mingw64
# or everything (32-bit)
pacman -S --needed base-devel git subversion mercurial nasm yasm mingw-w64-i686-toolchain mingw-w64-i686-cmake mingw-w64-i686-qt5
# or everything (64-bit)
@Anime4000
Anime4000 / msys gcc 9 readme.md
Last active December 1, 2019 17:23
MSYS2 MINGW32 GCC 9.2
@Anime4000
Anime4000 / httpd-ssl.conf
Last active December 8, 2019 04:58
WAMP HTTPS/SSL for Internet
<VirtualHost *:443>
ServerName example.com
ServerAdmin admin@example.com
DocumentRoot "${INSTALL_DIR}/www/internet"
<Directory "${INSTALL_DIR}/www/internet/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
@Anime4000
Anime4000 / night-day.js
Created December 26, 2019 15:32
Day Night Wallpaper Engine
'use strict';
import * as WEMath from 'WEMath';
/**
* @param {Number} value (for property 'multiply')
*/
export function update(value) {
var t = engine.timeOfDay;
@Anime4000
Anime4000 / uart.log
Last active February 19, 2024 06:23
Huawei HG8240
Chip Type is SD5117P
safetycode boot type: spi nand flash
Safetycode build: (V500R019C00 Sep 7 2018 - 09:29:36)
Select startcodeA
startcode start at 0x1c020088
Startcode 2017.07 (V500R019C00 Sep 07 2018 - 09:30:09 +0800 V5)
NAND: SPI_NAND_FLASH_TYPE