Skip to content

Instantly share code, notes, and snippets.

@infomiho
infomiho / README.md
Last active August 2, 2025 17:01
Deploy Wasp to a VPS (reverse proxy + Docker)

Deploying a Wasp app to a VPS

Let's deploy a Wasp app directly to a VPS. We'll do things directly on the machine without any management dashboard.

We'll need a couple of things to get this going:

  • a VPS (I'll be using Hetzner, but it doesn't matter which provider you use)
  • a domain name (mostly to have HTTPS)

Our setup will look like this:

  • Ubuntu LTS
@lucasmz-dev
lucasmz-dev / calyxos_motog_return-to-stock.md
Last active November 22, 2025 20:52
How to return back to stock software in Motorola devices on Linux

I am not responsible for any type of damage when you follow this tutorial. You have been warned.

This tutorial was originally designed for the devices: moto g32, g42, and g52. It should also work for the moto g34/45, g84, and g 5g 2024.

Device codenames

It is important to note that these devices are usually referenced using codenames in multiple places, it is important to know which one is yours.

  • g32: devon
@skrymets
skrymets / Cornell's Notes Template.md
Last active October 15, 2025 01:38
Cornell Note Template for Obsidian
cssclass
cornell-note
Cues

Notes

The Cornell Note-taking System is a popular and effective method for organizing and summarizing information during lectures, readings, or any other form of learning.

@mfehrenbach
mfehrenbach / chrome-device-dimensions.md
Last active November 28, 2025 18:14
Modern device dimensions for Chrome DevTools.

Modern Device Dimensions for Chrome DevTools

These are modern “Emulated Devices” (a.k.a. responsive dimensions) for Chrome DevTools’ Mobile Device Viewport Mode.

They are specifically Apple devices, subtracting for recent Safari UI (as in window.innerWidth/Height), and cleverly sorted with some dark-arts unicode shenanigans. (This glitchy, unloved portion of the tools sorts lexicographically, because of course it would.) Ergonomics!

 

Note

Updated June 2025 with some notes from folks below! TL;DR: use Vibranium!

@firefart
firefart / digitales-amt.js
Created November 8, 2022 11:10
Root Detection and SSL pinning bypass script for the Digitales Amt app
var printBacktrace = function () {
Java.perform(function() {
var JLog = Java.use('android.util.Log'), JException = Java.use('java.lang.Exception');
console.warn("Call Stack:");
console.warn(JLog.getStackTraceString(JException.$new()));
});
};
Java.perform(function() {
var targetClass = Java.use("at.asitplus.utils.deviceintegrity.DeviceIntegrityCheck");
@OliverBalfour
OliverBalfour / README.md
Last active October 23, 2025 09:04
Obsidian custom checkbox snippet

Custom checkboxes for Obsidian! It's like deathau's snippet except updated to work really well in Live Preview mode in Obsidian 1.0.

Simply edit the x inside checkboxes to >, ?, etc. to see styling like below!

Editing Live Preview Viewing
image image image

Installation:

  • Download the checkbox.css file on this page
@kepano
kepano / obsidian-web-clipper.js
Last active November 23, 2025 18:40
Obsidian Web Clipper Bookmarklet to save articles and pages from the web (for Safari, Chrome, Firefox, and mobile browsers)
javascript: Promise.all([import('https://unpkg.com/turndown@6.0.0?module'), import('https://unpkg.com/@tehshrike/readability@0.2.0'), ]).then(async ([{
default: Turndown
}, {
default: Readability
}]) => {
/* Optional vault name */
const vault = "";
/* Optional folder name such as "Clippings/" */
@agichim
agichim / flash-custom-rom-motog8power.md
Last active June 17, 2025 22:49
Full guide to flash Moto G8 Power (sofiar)
id title desc updated created
3UT7YPV6Qnr2UL6H6roQ0
Motog8power
1682709194077
1629568034286

Moto G8 Power guide to flash and install a custom ROM

@davidjguru
davidjguru / bash_aliases
Last active August 2, 2025 18:27
BASH Aliases commands for a Linux (Debian / Ubuntu) environment
## Morning Opertures
alias whatsup='service --status-all'
alias hello='sudo /etc/init.d/apache2 stop && cd workspace/project && ddev start && ddev launch'
alias hi='sudo systemctl stop apache2'
alias iad='systemctl is-active docker'
alias ports='nmap localhost'
alias dns="sudo systemd-resolve --status | grep 'DNS Servers'"
alias bye='shutdown -r now'
## Usual Instructions
@dvinciguerra
dvinciguerra / vim-plugins.vim
Last active September 27, 2024 04:55
My personal list of VIM plugins
" plugins
call plug#begin('~/.vim/plugged')
" themes & ui
Plug 'dracula/vim', { 'as': 'dracula' }
Plug 'scrooloose/nerdtree', { 'on': [ 'NERDTree', 'NERDTreeFind', 'NERDTreeToggle' ] }
Plug 'Xuyuanp/nerdtree-git-plugin', { 'on': [ 'NERDTree', 'NERDTreeFind', 'NERDTreeToggle' ] }
Plug 'ryanoasis/vim-devicons'
Plug 'mhinz/vim-signify'
Plug 'vim-airline/vim-airline'