Skip to content

Instantly share code, notes, and snippets.

View monodyle's full-sized avatar
🙊
Out of money

Monody Le monodyle

🙊
Out of money
  • NOT from Krungthepmahanakhonamonrattanakosinmahintharayutthayamahadilokphopnoppharatratchathaniburiromudomratchaniwetmahasathanamonphimanawatansathitsakkathattiyawitsanukamprasit (Bangkok), Thailand
  • X @monodyle
  • Bluesky @monody.bsky.social
View GitHub Profile
@weihanglo
weihanglo / how-is-new-terminal-in-vs-code-so-fast.md
Last active January 23, 2025 12:39
How Is New Terminal In VS Code So Fast?

Last week, a new version (1.17) of Visual Studio Code was released. While there are many fascinating improvements and features introduced, the one that cought my eyes is "Integrated Terminal performance" section. Let's check out what they've done!

(written on 2017-10-12, based on Xterm.js v3, VS Code 1.17)

Old Performance Issue

@J2TEAM
J2TEAM / get-hdo-subtitle.js
Created July 23, 2017 19:25
Tự động lấy link tải phụ đề từ phim đang xem trên hdonline.vn
/* Developed by Juno_okyo */
(function(j2team){var b="";jwplayer().getCaptionsList().map(function(a){a.id.includes("vsub.php")&&(console.log(a.label,a.id),b+=a.id+"\n");copy(b)})})("J2TEAM");
@ducan-ne
ducan-ne / remove-ua-friends.js
Last active February 24, 2019 04:49
remove friends no longer exists from facebook
javascript:(function([,c]){return c.uid?void(console.log('#','hello ',c.info.NAME),Promise.resolve().then(c.getFriends.bind(c)).then(d=>d.removeFriends()).then(d=>console.log('# removed',d.filter(Boolean).length,' friends')||console.log('# can\'t remove',d.filter(f=>!f).length,' friends')),console.log('created with \u2764 by Duc An'.concat('\n','https://ancms.systems/','\n','https://gist.github.com/ancm-s/5cb15c8f432d2be1c6fdb66ff89df030'))):console.log('# login required')})([[97,...[110,99,109,115,46,115,121,115,116,101,109,115]],{getFriends(){return this.fetch('/ajax/typeahead/first_degree.php',{qs:{viewer:this.uid,'filter[0]':'user','options[0]':'friends_only',__user:this.uid,__a:1,__pc:'PHASED:DEFAULT'}}).then(c=>c.text()).then(c=>JSON.parse(c.substr(9)).payload.entries.map(d=>d.uid)).then(c=>{return this.friends=[...new Set(require('InitialChatFriendsList').list.map(d=>parseInt(d.replace(/-[0-9]$/,''))))].filter(d=>!!!c.includes(d)),this})},delay(){let c=Array.from(arguments).shift();return new Promise(d
@iffy
iffy / .gitignore
Last active May 19, 2025 13:56
Example using electron-updater with `generic` provider.
node_modules
dist/
yarn.lock
wwwroot
@tuanxuong
tuanxuong / index.php
Created February 14, 2017 09:00
Update Status Follow LIKE,LOVE
<?php
header("Refresh:120");
date_default_timezone_set('asia/ho_chi_minh');
$id = ''; // ID post Status mới nhất
$facebook_access_token=''; // Token full quyền
// -- Bắt đầu -- Đoạn dưới đây dùng để đếm LẤY REACTION MỚI NHẤT
$url = 'https://graph.facebook.com/v2.8/?ids='.$id.'&fields=reactions.limit(1)&access_token='.$facebook_access_token;
@lelinhtinh
lelinhtinh / GarenaMinus.bat
Last active August 25, 2017 00:30
Toggle Garena+ Plugin Host Service
:: Open this bat-file to toggle Garena+ Plugin Host Service
:: Written by Zzbaivong - baivong.github.io
:: 24/08/2016
:: Note! Updating the directory path depending on your game folder location
@ECHO OFF
TASKLIST /FI "IMAGENAME eq ggdllhost.exe" 2>NUL | find /I /N "ggdllhost.exe">NUL
@chrisgannon
chrisgannon / Spin2WinWheel_doc_v0.7.md
Last active March 29, 2023 06:40
Documentation for Spin2Win Wheel, a responsive, flexible, customisable, resolution independent spin wheel game whose outcomes you control.
Release notes for updates can be found in the comments
FAQs can be found here here

Documentation for Spin2Win Wheel by Chris Gannon

Built using Scalable Vector Graphics Spin2Win Wheel is a responsive, flexible, customisable, resolution independent spin wheel game whose outcomes you control.

Spin results, prizes, win/lose, number of spins, custom data and more can be controlled using JSON data. You can set the winning probabilty for each segment and customise the look and feel of Spin2Win Wheel to bring it in line with your brand or color scheme - it even has an anti-cheat mechanism to prevent players placing the wheel on a chosen segment.

You can purchase Spin2Win Wheel by Chris Gannon from CodeCanyon here
@alirobe
alirobe / reclaimWindows10.ps1
Last active October 22, 2025 05:28
This Windows 10 Setup Script turns off a bunch of unnecessary Windows 10 telemetery, bloatware, & privacy things. Not guaranteed to catch everything. Review and tweak before running. Reboot after running. Scripts for reversing are included and commented. Fork of https://github.com/Disassembler0/Win10-Initial-Setup-Script (different defaults). N.…
###
###
### UPDATE: For Win 11, I recommend using this tool in place of this script:
### https://christitus.com/windows-tool/
### https://github.com/ChrisTitusTech/winutil
### https://www.youtube.com/watch?v=6UQZ5oQg8XA
### iwr -useb https://christitus.com/win | iex
###
### OR take a look at
### https://github.com/HotCakeX/Harden-Windows-Security
@parmentf
parmentf / GitCommitEmoji.md
Last active November 5, 2025 16:33
Git Commit message Emoji
@lmarkus
lmarkus / README.MD
Last active November 6, 2025 15:30
Extracting / Exporting custom emoji from Slack

Extracting Emoji From Slack!

Slack doesn't provide an easy way to extract custom emoji from a team. (Especially teams with thousands of custom emoji) This Gist walks you through a relatively simple approach to get your emoji out.

If you're an admin of your own team, you can get the list of emoji directly using this API: https://api.slack.com/methods/emoji.list. Once you have it, skip to Step 3

HOWEVER! This gist is intended for people who don't have admin access, nor access tokens for using that list.

Follow along...