Skip to content

Instantly share code, notes, and snippets.

View rescenic's full-sized avatar
🌏
DevOps Engineer

Muhammad Ridwan Hakim, S.T., CPITA, ITPMCP rescenic

🌏
DevOps Engineer
View GitHub Profile
@lepz0r
lepz0r / isp-ads.filter
Last active March 13, 2024 00:14
Filter Privoxy untuk menghapus inject iklan Telkomsel & Indihome | Privoxy filter to remove Telkomsel & Indihome ad injection
# 1. Simpan file ini ke C:\Program Files (x86)\Privoxy\isp-ads.filter untuk Windows 64-bit, C:\Program Files\Privoxy\isp-ads.filter untuk Windows 32-bit, /etc/privoxy/isp-ads.filter untuk linux
# 2. Tambahkan "filterfile isp-ads.filter" ke C:\Program Files (x86)\Privoxy\config.txt untuk Windows, /etc/privoxy/config untuk linux
# 3. Tambahkan ini (tanpa '#') ke C:\Program Files (x86)\Privoxy\match-all.action untuk Windows, /etc/privoxy/match-all.action untuk Linux
#
# {+filter{isp-ads} +server-header-filter{isp-ads-page}}
# /
#
# Video (Windows): https://youtu.be/mbfp2SIVnsU
# EN:
@cromat
cromat / wsl-redis-start.md
Last active February 11, 2025 00:48
Run redis inside WSL as background service on Windows startup

Step by step guide to run redis-server inside WSL(Windows Subsystem for Linux) on Windows

I have tried to setup redis as starting background task with wsl-autostart, Task Scheduler and with lot vbs scripts including one described here but none of them seemed to work.

In the end I have manually created a simple one that does the job. This script basically starts a hidden Ubuntu Window and starts redis-server inside it.

  1. Install WSL (this is tested with Ubuntu 18.04 version)
  2. Install redis-server inside WSL sudo apt install redis-server
  3. Add sudo permission to your user to execute service command without password
@riverar
riverar / features.json
Last active November 8, 2023 20:46
Quick n' dirty hack to enable Your Phone remoting, notification and other experiments
{
"AATes123": true,
"AcrylicAndBackground": true,
"AudioInfoSync": true,
"BatteryIndicator": true,
"CallingDiscoveryTimeout": 30,
"CallingEnableOnARM": true,
"CallingFromMessages": true,
"CallingLabelInProd": true,
"CallingNode": true,
@Toliak
Toliak / .bashrc
Created June 19, 2019 13:24
Useful aliases for arch linux
alias ll="ls -la"
alias pac="sudo pacman --noconfirm"
alias yao="yaourt --noconfirm"
alias give-me-upgrade="sudo pacman --noconfirm -Syyuu && yaourt --noconfirm -Syyuua"
alias give-me-ssh="ssh-add $(ls ~/.ssh | egrep "^([^\.]+)$" | grep -v known_hosts)"
@AppLoidx
AppLoidx / Audio-on-HTML5.md
Last active March 23, 2025 15:27
Way to autoplay audio on html5

This is the method I use to automatically play the audio on the page when I open it

  1. Creating iframe with empty audio:
<iframe src="assets/music/silence.mp3" allow="autoplay" id="audio" style="display:none"></iframe>

You can use this sound: silence

  1. Add audio tag with your original sound:
@rohan-molloy
rohan-molloy / vmware-onthehub-downloads.yml
Last active September 30, 2025 21:18
Public Downloads for Various VMWare Products from OnTheHub.Com. License keys are requied
vmware:
-
name: 'VMware NSX for vSphere'
serial: null
url:
- 'http://software.onthehub.com/shared/publisher/VMware/VMware-NSX-Manager-6.2.0-2986609.ova'
-
name: 'VMware vRealize Suite 7 Enterprise'
serial: null
url:
@symmetryninja
symmetryninja / mywsl.md
Last active July 27, 2020 12:56
A basic howto for of the WSL setup I have now that I have no Apple products.

Setting up WSL v2 to do some linux on windows

This is a constant work in progress.

Why Windows with WSL

Because I became so accustom to having bash behind my VSCode app to run linux-like commands on my MacBookPro and now that I don't have or want another MacBook variant, I want to be able to have a linux-like command system behind visual studio code.

Why not just use linux? Because I use a lot of apps that don't run on linux.

@danieldogeanu
danieldogeanu / WampSendmail.md
Last active July 31, 2024 17:22
How to configure Wamp Server to send email with sendmail.

1. Download and Configure Sendmail for Windows:

  • Download Sendmail for Windows;
  • Extract sendmail.zip and place the contents in an easily accessible place, like C:\sendmail;
  • Open the sendmail.ini file using a text editor such as notepad and edit the following values:
    [sendmail]
    smtp_server=mail.example.com
    smtp_port=465
    [email protected]
    

auth_password=your_password

@pishangujeniya
pishangujeniya / reset-mysql-8-root-password-windows.md
Created December 5, 2019 18:04
Reset MySQL 8.0 root Password in Windows

Reset MySQL 8.0 root Password in Windows

  1. Stop the MySQL 8.0service from services
  2. Go to path C:\Program Files\MySQL\MySQL Server 8.0\bin and open cmd
  3. Run mysqld --console --skip-grant-tables --shared-memory
  4. Open new cmd in the same path
  5. Run following commands
  6. mysql -u root
  7. select authentication_string,host from mysql.user where user='root';
  8. UPDATE mysql.user SET authentication_string='' WHERE user='root';