Skip to content

Instantly share code, notes, and snippets.

@iamacarpet
iamacarpet / Boot
Last active March 22, 2025 10:26
Glazier UEFI network boot (Secure Boot enabled)
#!ipxe
# Some menu defaults
set menu-timeout 60000
set submenu-timeout ${menu-timeout}
isset ${menu-default} || set menu-default exit
###################### MAIN MENU ####################################
@iamacarpet
iamacarpet / Boot-Glazier.ps1
Last active March 22, 2025 10:27
Glazier WinPE boot from existing Windows install
cd C:\Windows\Temp
& curl.exe --output glazier.iso https://storage.googleapis.com/example-glazier-files/OSDCloud-WinPE-Glazier.iso
Mount-DiskImage C:\Windows\Temp\glazier.iso -PassThru
$driveLetter = ($mountResult | Get-Volume).DriveLetter
Copy-Item -Path $( -join($driveLetter, ":\sources\") ) -Destination C:\sources -Recurse
mkdir C:\boot
Copy-Item -Path $( -join($driveLetter, ":\boot\boot.sdi" ) ) -Destination C:\boot\boot.sdi
Dismount-DiskImage C:\Windows\Temp\glazier.iso
@mcmoe
mcmoe / Convert .mov or .MP4 to .gif.md
Last active April 4, 2025 23:08 — forked from SheldonWangRJT/Convert .mov or .MP4 to .gif.md
Convert Movie(.mov) file to Gif(.gif) file in one command line in Mac Terminal

This note is written by Sheldon. You can find me with #iOSBySheldon in Github, Youtube, Facebook, etc.

Need

Convert .mov/.MP4 to .gif

Reason

As a developer, I feel better to upload a short video when I create the pull request to show other viewers what I did in this PR. I tried .mov format directly got after finishing recording screen using Quicktime, however, gif offers preview in most web pages, and has smaller file size.

This is not limited to developer, anyone has this need can use this method to convert the files.

@M0r13n
M0r13n / doh
Last active April 3, 2025 13:51
Setup Cloudflare as a DoH (DNS over HTTPS) resolver on Mikrotik devices (RouterOS v7.0.2+)
# Temporarily add a normal upstream DNS resolver
/ip dns set servers=1.1.1.1,1.0.0.1
# CA certificates extracted from Mozilla
/tool fetch url=https://curl.se/ca/cacert.pem
# Import the downloaded ca-store (127 certificates)
/certificate import file-name=cacert.pem passphrase=""
# Set the DoH resolver to cloudflare
@clarencetw
clarencetw / tv-changer-for-mac.py
Last active July 6, 2023 17:35 — forked from zhenhappy/tv-changer-for-mac.py
TV changer for Mac
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import platform
import random
import re
import string
import sys
*. Full Toolkit 4.7:
https://veryfiles.com/apcik7jdp3wz
https://uploading.vn/vtyktzy6ukao
*. Tools Download 4:
https://veryfiles.com/j7ixfpx6disy
https://uploading.vn/f2t2lheqjben
*. 6.40 b.11 P@cth:
https://veryfiles.com/8pp1pwdly2kp
@f0r34chb3t4
f0r34chb3t4 / keys.txt
Created April 9, 2019 16:42
Proxifier.txt
Portable Version KEYS:
P6Z3T-UYJC9-YAK3F-APN9M-6ZDSD
FGZPK-93CWX-Q33Y6-D5URV-YXC3X
9CZQX-9YAQA-PF33L-XVUQH-NSD48
8RZ3L-H3Y5L-W2RY5-Z5M8N-C7Z2U
CCZNU-LW3LF-K9V2T-MYZFF-94667
EWZM6-3W4UX-KH922-C96GK-VGBH2
Standard Version KEYS:
4AZNW-S2YHE-LLMWM-J6EL8-7QKDL
@trongtinh1212
trongtinh1212 / tinh.cfg
Last active April 2, 2024 21:55
Autoexec config for 3rd server like Faceit, ESEA, - 128 tick server and 64tick Match Marking
// tinh Autoexec 2023 Edition - CS2
// Content
// 1. Game
// 2. Bindings
// 3. Crosshair
// 4. Hud
// 5. Radar
// 6. Mouse
// 7. Viewmodel
@machv
machv / Bootstrap.ini
Created November 7, 2018 11:13
[MDT] Multi-site deployment
[Settings]
Priority=FallbackDeployRoot, DefaultGateway, Default
[FallbackDeployRoot]
; Default deployment root in case of failure in the next step with the gateway selection
DeployRoot=\\CZ-PRG-MDT\ClientDeploymentShare$
[DefaultGateway]
; Based on the default gateway we will select corresponding location section
172.24.39.254=CZ-PRAHA
@AveYo
AveYo / .. MediaCreationTool.bat ..md
Last active April 24, 2025 13:43
Universal MediaCreationTool wrapper for all MCT Windows 10 versions - MOVED TO github.com/AveYo/MediaCreationTool.bat