Skip to content

Instantly share code, notes, and snippets.

View ylazy's full-sized avatar
👻
yay!

Ylazy ylazy

👻
yay!
View GitHub Profile
@adielbm
adielbm / ipa-for-google-translate.js
Last active August 24, 2025 22:36
IPA for Google Translate (phonetic transcription)
// ==UserScript==
// @name IPA for translate.google
// @namespace https://gist.github.com/adielBm/21762fe5e964071cb820a0c46896da34
// @version 2024-06-27
// @description Convert phonetic transcription to IPA on Google Translate
// @author adielBm
// @match https://translate.google.com/*
// @grant none
// @updateURL https://gist.githubusercontent.com/adielBm/21762fe5e964071cb820a0c46896da34/raw
// @downloadURL https://gist.githubusercontent.com/adielBm/21762fe5e964071cb820a0c46896da34/raw
@ConnerWill
ConnerWill / ANSI-escape-sequences.md
Last active January 5, 2026 14:59
ANSI Escape Sequences cheatsheet

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@mmozeiko
mmozeiko / !README.md
Last active January 12, 2026 01:12
Download MSVC compiler/linker & Windows SDK without installing full Visual Studio

This downloads standalone MSVC compiler, linker & other tools, also headers/libraries from Windows SDK into portable folder, without installing Visual Studio. Has bare minimum components - no UWP/Store/WindowsRT stuff, just files & tools for native desktop app development.

Run py.exe portable-msvc.py and it will download output into msvc folder. By default it will download latest available MSVC & Windows SDK from newest Visual Studio.

You can list available versions with py.exe portable-msvc.py --show-versions and then pass versions you want with --msvc-version and --sdk-version arguments.

To use cl.exe/link.exe first run setup_TARGET.bat - after that PATH/INCLUDE/LIB env variables will be updated to use all the tools as usual. You can also use clang-cl.exe with these includes & libraries.

To use clang-cl.exe without running setup.bat, pass extra /winsysroot msvc argument (msvc is folder name where output is stored).

@dominikwilkowski
dominikwilkowski / README.md
Last active December 30, 2025 18:52
ANSI codes for cli controled output

ANSI escape sequences

ANSI escape sequences can be printed to a shell to as instructions. The below is a list of codes I have used often in my CLI programs and I find myself looking up over and over again.

A great article about it can be found here.

Content

@juniorcesarabreu
juniorcesarabreu / sharing-folder-windows-macos-vmware.md
Created March 30, 2020 22:16
Sharing a folder between windows and mac os x on vmware

You need to follow this procedure in order to share files between Windows 7 and Mac OS X on VMWare :

  1. Go in your virtual machine settings and select 'Options' tab.
  2. Click on 'Folder Sharing' and tick 'Always enabled'.
  3. Click on 'Add' button and select a folder you want to share.
  4. Confirm virtual machine settings.
  5. From 'System preferences' on Mac OS X, select 'Sharing'.
  6. Make sure that 'File Sharing' is enabled.
  7. From top menu bar, select 'Go' and 'Computer'.
  8. You will now see a folder named '/'. This is your shared folder between Windows 7 and Mac OS X.
@roipeker
roipeker / BezierEase.as
Created April 21, 2018 13:40
Cubic Bezier Easing for any AS3 Tween engine (Starling / Greensock)
// =================================================================================================
//
// Created by Rodrigo Lopez [roipeker™] on 21/04/2018.
//
// =================================================================================================
// ** Cubic Bezier Easing **
// based on https://github.com/gre/bezier-easing/
//
// Compatible with Greensock and Starling tween engine.
@therabbitwindfall
therabbitwindfall / gist:8eca8f4c4dcb62387bb6620bb3cff4df
Last active March 9, 2023 04:17
Говносвайп для CreateJS | Swipe for CreateJS. Used for Animate CC
createjs.Touch.enable(stage);
var box = this.box;
box.isDown = false;
box.addEventListener('mousedown', MouseDownAction);
stage.addEventListener('stagemouseup', MouseUpAction);
function MouseDownAction(event){
box.prevInteraction = new Date().getTime();
@aesuli
aesuli / Wikipedia_character_frequencies.txt
Last active September 30, 2024 10:41
Unicode character frequencies computed on dumps of all wikipedia languages
# Unicode character frequencies computed on dumps of all wikipedia languages (288)
# Dumps downloader: https://github.com/aesuli/wikipediatools
# Html converted to plain text: https://github.com/aesuli/wikipedia-extractor
#
# Andrea Esuli
# http://www.esuli.it/
#
#'char'<tab>ord(char)<tab>freq
' ' 32 6098823328
'e' 101 3226481962
@Manouchehri
Manouchehri / rfc3161.txt
Last active January 5, 2026 21:37
List of free rfc3161 servers.
https://rfc3161.ai.moda
https://rfc3161.ai.moda/adobe
https://rfc3161.ai.moda/microsoft
https://rfc3161.ai.moda/apple
https://rfc3161.ai.moda/any
http://rfc3161.ai.moda
http://timestamp.digicert.com
http://timestamp.globalsign.com/tsa/r6advanced1
http://rfc3161timestamp.globalsign.com/advanced
http://timestamp.sectigo.com
@DesignByOnyx
DesignByOnyx / JS Comments REGEX - Failing Cases.md
Last active September 21, 2022 03:31
JS Comments REGEX - Failing Cases

This shows use cases where a simple regex like the one on StackOverflow cannot be relied upon for 100% accuracy in detecting comments in code.

Case 1 - comment-like characters within a string:

var foo = "There's no way to tell that this /* is not the beginning of a comment";
var bar = "There's no way to tell that this */ is not the end of a comment";
var baz = "There's no way to tell that this // is not a single line comment";
var buz = "Matters get much worse when there are escaped \" quotes /* inside the string. Definitely need a parser.";
var fiz = `And there is