Skip to content

Instantly share code, notes, and snippets.

View willnode's full-sized avatar

Wildan M willnode

View GitHub Profile
// TEXSupRTLSupport is a helper script with the goal to intellegently filter strings
// before being processed to existing arabic plugins in Unity Game Engine.
// It's originally developed for my TEXDraw plugin and released here without any changes.
// The script allows you to mix arabic - english (bidirectional) text without any problem,
// along with LaTeX syntaxes and commands that implemented in TEXDraw.
// However it's not guaranteed to work 100% in regular Text Component,
// because the code doesn't handle HTML tags, and Text Component it self
// doesn't handle reversed wrapping (See PersianFixer git for the solution).
// Code implementation starts from ReplaceString ()
@willnode
willnode / SomeBatExample.bat
Created July 3, 2017 15:19
My naive bat examples
@echo off
:: Ganti judul
title Testing Aplikasi BAT
:: Tulis pesan
echo Tunggu sebentar....
:: Animasi timeout per 1 detik
timeout /T 1 > nul
@willnode
willnode / cmd_ext.reg
Last active October 18, 2017 23:45
Registry file for adding "open with cmd" in explorer (Just download & run)
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\cmd_ext]
@="Open with &Cmd"
"Icon"="cmd.exe"
[HKEY_CLASSES_ROOT\Directory\Background\shell\cmd_ext\command]
@="cmd.exe /s /k pushd \"%V\""
@willnode
willnode / kramdown_playground
Last active May 16, 2023 07:50
Kramdown Playground
<!-- This is HTML comment, but works well anyway -->
<!-- See http://wellosoft.net/blog/en/2017/hello-world.html for preview -->
## The playground
#### Not yet
###### Yet ...
***
<br>
Now, you may see an `inline code` or _italic_ or **bold** or ~~striking~~ texts.
@willnode
willnode / RemoveBloatsInWin10.bat
Created November 22, 2017 14:42
Script shell to remove bloats the included within Windows 10. Run with elevated access.
REM Script shell to remove bloats the included within Windows 10. Run with elevated access.
REM http://wellosoft.net/blog/en/2017/make-windows-great-a.html
REM !IMPORTANT! READ THE WHOLE BATCH FILE BEFORE EXECUTION.
REM !IMPORTANT! THE FILE PROVIDED AS-IS. MODIFY AS YOU WISH.
@echo off
cls
@willnode
willnode / CodeMetrics.go
Created January 1, 2018 14:44
Tool for measuring code metrics in given directory
/*
*
* This is a Go Application for measuring code metrics
* File selection can be included via arguments as extension, or:
* append '+' for exclusion as filename
* append '-' for exclusion as filename
* append '!' for exclusion as extension
*
* Compile => go build -o CodeMetrics.exe CodeMetrics.go
* Launch => CodeMetrics js !min.js
@willnode
willnode / gist:052cc2f0b0115c7e4041a7792c6ba8d3
Last active February 5, 2018 00:53 — forked from nternetinspired/gist:7482445
Load Disqus comments only on demand if you give a shit about page weight and your visitors.Even with no comments, i.e. an empty comment form, calling Disqus will load an extra 226Kb. If your page has comments this can be far higher.This Gist accompanies my blog post: http://internet-inspired.com/wrote/load-disqus-on-demand/
var disqus_config = function () {
// Disqus config here
};
var show_disqus = document.getElementById('show-disqus');
show_disqus.onclick = function() {
show_disqus.textContent = 'Loading...';
// OR
show_disqus.parentNode.removeChild(show_disqus);
var d = document, s = d.createElement('script');
@willnode
willnode / randomnames.json
Created February 16, 2018 14:50
Random Names
["Aaliyah", "Aarushi", "Abagail", "Abbey", "Abbi", "Abbie", "Abby", "Abi", "Abia", "Abigail", "Abree", "Abrianna", "Abrielle", "Aby", "Acacia", "Ada", "Adalia", "Adaline", "Adalyn", "Addie", "Addilyn", "Addison", "Adelaide", "Adele", "Adelene", "Adelia", "Adelina", "Adeline", "Adelynn", "Adora", "Adreanna", "Adriana", "Adrianna", "Adrianne", "Adrienne", "Ady", "Aerona", "Agatha", "Aggie", "Agnes", "Aida", "Aileen", "Ailsa", "Aimee", "Aine", "Ainsleigh", "Ainsley", "Aisha", "Aisling", "Aislinn", "Aislynn", "Alaina", "Alana", "Alanis", "Alanna", "Alannah", "Alaska", "Alayah", "Alayna", "Alba", "Albany", "Alberta", "Albertina", "Aleah", "Alecia", "Aleisha", "Alejandra", "Alena", "Alessandra", "Alessia", "Alex", "Alexa", "Alexandra", "Alexandria", "Alexia", "Alexis", "Alexus", "Ali", "Alia", "Aliana", "Alice", "Alicia", "Alina", "Alisa", "Alisha", "Alison", "Alissa", "Alivia", "Aliyah", "Aliza", "Alize", "Alka", "Allie", "Allison", "Ally", "Allyson", "Alma", "Alondra", "Alya", "Alycia", "Alyshialynn", "Alyson", "
@willnode
willnode / HowToCleanRepo.md
Last active February 28, 2018 07:44
Repo Cleanup (trailing spaces and EOF blank line) using Notepad++

How to clean your Repo

Cleaning repo is easy as 1.2.3

Remove trailing spaces

Find: [ ]+$

Replace: (empty)

@willnode
willnode / ffmpeg-compress-mp4.bat
Last active March 10, 2022 22:45 — forked from lukehedger/ffmpeg-compress-mp4
Compress mp4 using FFMPEG (batch script for whole .mp4 in folder)
for %%v in (*.mp4) do ffmpeg -i "%%v" -vcodec h264 -b:v 800k -acodec mp3 "compress/%%v"