Skip to content

Instantly share code, notes, and snippets.

View weiling103's full-sized avatar

Ling weiling103

View GitHub Profile
@weiling103
weiling103 / Top_Public_Recursive_Name_Servers.md
Created September 9, 2025 04:32 — forked from mutin-sa/Top_Public_Recursive_Name_Servers.md
List of Top Public Recursive Name Servers

DNS:

IPv4 Addr IPv6 Addr ASn Political Region Loc Svc Org
8.8.8.8 2001:4860:4860::8888 AS15169 US Worldwide (Anycast) Google Public DNS Google
8.8.4.4 2001:4860:4860::8844 AS15169 US Worldwide (Anycast) Google Public DNS Google
1.1.1.1 2606:4700:4700::1111 AS13335 US Worldwide (Anycast) Cloudflare-DNS Cloudflare/APNIC
1.0.0.1 2606:4700:4700::1001 AS13335 US Worldwide (Anycast) Cloudflare-DNS Cloudflare/APNIC
95.85.95.85 2a03:90c0:999d::1 AS199524 EU *W
@weiling103
weiling103 / .Cloud.md
Created October 24, 2024 06:42 — forked from imba-tjd/.Cloud.md
☁️ 一些免费的云资源

  • IaaS指提供系统(可以自己选)或者储存空间之类的硬件,软件要自己手动装。PaaS提供语言环境和框架(可以自己选)。SaaS只能使用开发好的软件(卖软件本身,如税务会计、表格文字)。BaaS一般类似于非关系数据库,但各家不通用
  • 云服务的特点:零前期成本&按需付费&弹性(类似于租,可随时多加和退掉)、高可用(放在机房中,不同AZ间水电隔离)

其他人的集合

@weiling103
weiling103 / rarreg.key
Created October 4, 2022 07:43 — forked from MuhammadSaim/rarreg.key
Step 1: Create a file called rarreg.key Step 2: Paste into the file the raw content of this gist Step 3: Go to Winrar install directory (by default => c:\ProgramFiles\WinRAR\ ) Step 4: Paste the rarreg.key into WinRAR directory Step 5: Enjoy
RAR registration data
WinRAR
Unlimited Company License
UID=4b914fb772c8376bf571
6412212250f5711ad072cf351cfa39e2851192daf8a362681bbb1d
cd48da1d14d995f0bbf960fce6cb5ffde62890079861be57638717
7131ced835ed65cc743d9777f2ea71a8e32c7e593cf66794343565
b41bcf56929486b8bcdac33d50ecf773996052598f1f556defffbd
982fbe71e93df6b6346c37a3890f3c7edc65d7f5455470d13d1190
6e6fb824bcf25f155547b5fc41901ad58c0992f570be1cf5608ba9
@weiling103
weiling103 / Public_Time_Servers.md
Created March 30, 2021 07:32 — forked from mutin-sa/Top_Public_Time_Servers.md
List of Top Public Time Servers

Google Public NTP [AS15169]:

time.google.com

time1.google.com

time2.google.com

time3.google.com

@weiling103
weiling103 / rename_ios_devices.py
Created July 28, 2020 05:28 — forked from AlexW867/rename_ios_devices.py
Simple script to rename connected iOS devices according to a CSV file, using Apple Configurator 2's cfgutil command.
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Simple script to batch-rename attached iOS devices according to UUID to name mappings
# in a CSV file.
# Fork from https://gist.github.com/timsutton/3781d7483b7cdf0358eb86cf28b49e50
# Taiwan zh-Hant version by https://gist.github.com/AlexW867/d038a4e171185cd3fb30bf43ec6eab55
#
# for mac built-in python2.x
# 使用方式: python rename_ios_devices.py <csvfile>
@weiling103
weiling103 / fix-wordpress-permissions.sh
Created March 25, 2020 09:08 — forked from Adirael/fix-wordpress-permissions.sh
Fix wordpress file permissions
#!/bin/bash
#
# This script configures WordPress file permissions based on recommendations
# from http://codex.wordpress.org/Hardening_WordPress#File_permissions
#
# 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
@weiling103
weiling103 / Backup.bat
Created November 21, 2019 07:40
Simple 7-Zip based backup script
@echo off
REM # Send To Backup Script
REM # Author - Matt Little (http://matthewjlittle.com)
REM # Adam Caudill (http://adamcaudill.com)
REM #
REM # To install:
REM #
REM # (windows 7):
REM # Goto Start->Run. Type in shell:sendto
@weiling103
weiling103 / Office_kms
Created May 13, 2019 08:51 — forked from CHEF-KOCH/KMS_office.cmd
KMS server Windows
cd\Program Files\Microsoft Office\Office16
cd\Program Files (x86)\Microsoft Office\Office16
cscript OSPP.VBS /sethst:kms.digiboy.ir
cscript OSPP.VBS /actcscript OSPP.VBS /dstatus
slmgr.vbs /ckms
@weiling103
weiling103 / index.js
Created April 9, 2019 09:09 — forked from edokeh/index.js
佛祖保佑,永无 BUG
//
// _oo0oo_
// o8888888o
// 88" . "88
// (| -_- |)
// 0\ = /0
// ___/`---'\___
// .' \\| |// '.
// / \\||| : |||// \
// / _||||| -:- |||||- \
@weiling103
weiling103 / Hyper-V NAT for Windows Server 2016
Created February 27, 2019 04:30 — forked from AlexZ005/Hyper-V NAT for Windows Server 2016
Configuring NAT for Hyper-V Virtual Machines on Windows Server 2016
#1. Host machine
# Create new switch
New-VMSwitch -SwitchName NAT -SwitchType Internal
# Check current VM network adapters
Get-VMNetworkAdapter -VMName DC,FS
# Connect current adapters to created NAT switch
Connect-VMNetworkAdapter -VMName DC,FS -SwitchName NAT
# Add network adapters for both VM's with selected virtual switch
#Add-VMNetworkAdapter -VMName DC,FS -SwitchName NAT