Skip to content

Instantly share code, notes, and snippets.

Beep boop son, beep boop!

Nguyen Quang Minh minhng99

Beep boop son, beep boop!
View GitHub Profile
minhng99 /
Last active Nov 5, 2020
OpenWRT flash script for Nokia Airscale AC220i
echo "Going to /tmp"
cd /tmp
View ninotv.txt
#EXTINF:-1 tvg-logo="", update 31/8/2019
#EXTINF:-1 tvg-logo="",Fanpage:
#EXTINF:-1 tvg-logo="",Cộng đồng
#EXTINF:-1 group-title="ĐỊA PHƯƠNG" tvg-logo="",Vĩnh Long 1 HD
View btrfs-undelete
# btrfs-undelete
# Copyright (C) 2013 Jörg Walter <>
# This program is free software; you can redistribute it and/or modify it under
# the term of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or any later version.
if [ ! -b "$1" -o -z "$2" -o -z "$3" ]; then
echo "Usage: $0 <dev> <file/dir> <dest>" 1>&2
View autoexec.cfg
mat_mipmaptextures 0
cl_detailfade 0
cl_detaildist 0
r_drawdetailprops 0
mp_decals 0
r_decals 0
cl_phys_props_enable 0
cl_phys_props_max 0
props_break_max_pieces 0
minhng99 /
Last active Sep 16, 2020 — forked from lifehome/
Cloudflare API v4 Dynamic DNS Update in Bash

Cloudflare DDNS bash client with systemd

This is a bash script to act as a Cloudflare DDNS client, useful replacement for ddclient.

How to use?

  1. Put the cfupdater files to /usr/local/bin
  • If you are using IPv4 for A record, append -v4 to cfupdater in the following systemd service unit.
  • If you are using IPv6 for AAAA record, append -v6 to cfupdater in the following systemd service unit.
  • If you prefer a dual-stack record, append -dualstack to cfupdater in the following systemd service unit.
  1. chmod +x /usr/local/bin/cfupdater
  2. Create a systemd service unit at /etc/systemd/system/, the cfupdate.service is shown as an example.
View spc.bat
set OPENSSL_CONF=D:\Program Files\OpenSSL-Win64\bin\openssl.cfg
set PATH=D:\Program Files\OpenSSL-Win64\bin
echo "%1"
openssl pkcs12 -in "%1" -nocerts -nodes -out "FINAL_key.pem"
openssl rsa -in "FINAL_key.pem" -outform PVK -pvk-strong -out "FINAL.pvk"
openssl pkcs12 -in "%1" -nokeys -nodes -out "FINAL_cert.pem"
openssl crl2pkcs7 -nocrl -certfile "FINAL_cert.pem" -outform DER -out "FINAL.spc"
del "FINAL_key.pem"
minhng99 / .config
Created Dec 31, 2018
PogoPlug v4 minimal kernel 4.20.0 config, tested running Arch Linux
View .config
# Automatically generated file; DO NOT EDIT.
# Linux/arm 4.20.0 Kernel Configuration
# Compiler: arm-none-eabi-gcc (Arch Repository) 8.2.0
# This script configures WordPress file permissions based on recommendations
# from
# Author: Michael Conigliaro <mike [at] conigliaro [dot] org>
WP_OWNER=www-data # <-- wordpress owner
WP_GROUP=www-data # <-- wordpress group
WP_ROOT=$1 # <-- wordpress root directory
View rm special
find a/ -type f -print | while read f
mv "$f" "$(sed 's/[^0-9A-Za-z_./()- ]/_/g' <<< "$f")"