Skip to content

Instantly share code, notes, and snippets.

View porobertdev's full-sized avatar
🎯
Focusing

Robert P. porobertdev

🎯
Focusing
View GitHub Profile
@infomiho
infomiho / README.md
Last active May 19, 2025 12:49
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
@skrymets
skrymets / Cornell's Notes Template.md
Last active February 23, 2025 13:03
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 May 30, 2025 07:19
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!

before-after

Nest Hub Max? Come on. I dropped a bunch of devices that were older and/or close to these dimensions. It obviously doesn’t cover everything (sorry Android/Chrome), but offers a decent spread/increments for common 2023/2024 viewports.

@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 January 29, 2025 19:44
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 May 29, 2025 16:45
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/[email protected]?module'), import('https://unpkg.com/@tehshrike/[email protected]'), ]).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 March 23, 2025 22:33
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 May 27, 2025 11:12
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'
@mnghn07
mnghn07 / gitCommitEmoji.md
Created August 10, 2020 10:32
Git Commit Message Emoji