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
@luetkemj
luetkemj / wp-query-ref.php
Last active August 18, 2025 12:15
WP: Query $args
// This gist is now maintained on github at https://github.com/luetkemj/wp-query-ref
<?php
/**
* WordPress Query Comprehensive Reference
* Compiled by luetkemj - luetkemj.github.io
*
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters
* Source: https://core.trac.wordpress.org/browser/tags/4.9.4/src/wp-includes/query.php
*/
@JamesMGreene
JamesMGreene / gitflow-breakdown.md
Last active November 4, 2025 12:43
`git flow` vs. `git`: A comparison of using `git flow` commands versus raw `git` commands.

Initialize

gitflow git
git flow init git init
  git commit --allow-empty -m "Initial commit"
  git checkout -b develop master

Connect to the remote repository

@mul14
mul14 / README.md
Last active February 10, 2023 00:55
Simple Laravel Search Trait

Usage

Put SearchTrait.php in app directory. Then use SearchTrait in your model, like so

use App\SearchTrait;
use Illuminate\Database\Eloquent\Model;

class Article extends Model 
{
@sohelamin
sohelamin / laravel-related-posts.php
Created December 3, 2015 11:31
Related posts in Laravel
@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...

@parmentf
parmentf / GitCommitEmoji.md
Last active November 5, 2025 16:33
Git Commit message Emoji
@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
@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
@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
@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;