Skip to content

Instantly share code, notes, and snippets.

View YogaSakti's full-sized avatar
🎯
Focusing

Yoga Sakti YogaSakti

🎯
Focusing
View GitHub Profile
@orepras
orepras / bahasa-indonesia-plain.md
Last active December 3, 2026 12:42
An agent skill for writing in Bahasa Indonesia plain style and RASA framework

name: bahasa-indonesia-plain description: > Tulis dan edit teks antarmuka, panduan, dokumentasi, atau konten apa pun dalam Bahasa Indonesia yang lugas, inklusif, dan ramah semua orang, menggunakan prinsip bahasa polos (plain language), EYD, desain trauma-informed, aksesibilitas kognitif, dan framework RASA (Ritmis, Akurat, Sarat Makna, Alami) sebagai lensa evaluasi kualitas tulisan. Gunakan skill ini saat menulis UI copy, microcopy, laporan, panduan pengguna, komunikasi layanan publik, atau teks apa pun yang harus dipahami siapa saja sejak pertama kali membacanya.

@kennedysmartins
kennedysmartins / gist:58b681b3d49085a452882105e401db36
Created August 23, 2020 02:25
Random function & Fun ball8 command
//Random function
function rand(min, max) { //Random Function
return Math.floor(Math.random() * (max - min) + min);
}
//Ball8 command
} else if (msg.body.startsWith('!ball8')) { //Ball8 fun game
var args = msg.body.split(' ');
var bola8palavras = ["It's right", "It definitely is", "Without a doubt", "Yes, definitely", "You can count on it", "In my opinion, yes", "Probably", "It seems so", " Yes "," Signs point to yes "," Vague answer try again "," Ask again later "," I better not tell you now "," I can't predict now "," Focus and ask again " , "Don't count on it", "My answer is no", "My sources say no", "Looks like no", "Very Doubtful"];
if (args.length >= 2) {
@AnatomicJC
AnatomicJC / android-backup-apk-and-datas.md
Last active November 28, 2026 00:29
Backup android app, data included, no root needed, with adb

Backup android app, data included, no root needed, with adb

Note: This gist may be outdated, thanks to all contributors in comments.

adb is the Android CLI tool with which you can interact with your android device, from your PC

You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.

Don't hesitate to read comments, there is useful tips, thanks guys for this !

@jalbam
jalbam / unfollow-non-followers-twitter.js
Last active June 8, 2026 02:59
Code to stop following those ones who are not following you back on Twitter and keeping those you want or follow anyone you want, with certain filters (working in July 2019)
/*
Unfollow (stop following) those people who are not following you back on Twitter (or unfollow everyone if desired).
This will work for new Twitter web site code structure (it was changed from July 2019, causing other unfollow-scripts to stop working).
Instructions:
1) The code may need to be modified depending on the language of your Twitter web site:
* For English language web site, no modification needed.
* For Spanish language web site, remember to set the 'LANGUAGE' variable to "ES".
* For another language, remember to set the 'LANGUAGE' variable to that language and modify the 'WORDS' object to add the words in that language.
@tomsihap
tomsihap / gist:e703b9b063ecc101f5a4fc0b01a514c9
Created December 23, 2018 14:46
Install NVM in Ubuntu 18.04 with ZSH
# Find the latest version on https://github.com/creationix/nvm#install-script
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
# Add in your ~/.zshrc the following:
export NVM_DIR=~/.nvm
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
$ source ~/.zshrc
@imfing
imfing / wsl-setup.md
Last active July 11, 2026 14:43
WSL + ZSH + Hyper Setup

My WSL Setup

A guide to setup your WSL with Hyper and zsh

Download & Install the WSL

  • Follow the very thorough instructions here

Get a prettier terminal

  • Download Hyper.js here - I went with the 'hyperblue' theme.
@brandonb927
brandonb927 / osx-for-hackers.sh
Last active November 3, 2026 22:33
OSX for Hackers: Yosemite/El Capitan Edition. This script tries not to be *too* opinionated and any major changes to your system require a prompt. You've been warned.
#!/bin/sh
###
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer)
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos
###
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx