Skip to content

Instantly share code, notes, and snippets.

@mcmoe
mcmoe / Convert .mov or .MP4 to .gif.md
Last active September 8, 2024 15:30 — 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 October 17, 2024 07:23
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 October 18, 2024 12:07
Universal MediaCreationTool wrapper for all MCT Windows 10 versions - MOVED TO github.com/AveYo/MediaCreationTool.bat
@zthxxx
zthxxx / Activate Office 2019 for macOS VoL.md
Last active October 18, 2024 05:03
crack activate Office on mac with license file
@AveYo
AveYo / @ batch scripts for power users.md
Last active October 13, 2024 00:42
Windows batch scripts for power users

windows_update_toggle.bat v10.1 final
~ one script to rule them all!
~ block build upgrades and/or automatic updates without breawking Store downloads and Defender protection updates
~ there is a lot of focus on Defender updates working independently, unlike any other updates "management" solution
~ ifeo safe blocking with no destructive changes of ownership, deleting files, removing tasks, or over-blocking
~ toggle everything from the Desktop right-click context menu!
but wait, there is more:
~ hide/unhide/install update lists with counter at the Desktop right-click context menu!

Previous update toggle batch suite scripts have been overwritten on pastebin, but will still be available here: