Skip to content

Instantly share code, notes, and snippets.

View TobiaszCudnik's full-sized avatar

Tobias Cudnik TobiaszCudnik

View GitHub Profile
@TalalMash
TalalMash / armv7-no-neon.sh
Last active September 16, 2023 03:10
[OpenWRT] EasyTether on ARMv7 without NEON CPUs
#!/bin/sh
###INSTRUCTIONS###
#SSH to router & download this script (copy RAW button) and easytether (openwrt19 zip file) in the same directory using command wget <link>
#run: sh armv7-no-neon.sh
#Script will autoinstall, the package in the same directory: easytether-without-neon.ipk can be used for other deployments
#Tested: Slate AX
rm -r build-xiej43 download-s39c
mkdir build-xiej43 download-s39c
@thalamus
thalamus / ArchLinuxARM-M1
Last active February 23, 2025 12:24
How to boot Arch Linux ARM in QEMU (patched for M1)
/*
* This document is provided to the public domain under the
* terms of the Creative Commons CC0 public domain license
*/
How to boot Arch Linux ARM in QEMU (patched for M1)
Prerequisites:
QEMU - patched for M1 processors - patches: https://github.com/utmapp/qemu
@verfasor
verfasor / unfollow.js
Last active October 21, 2020 18:02
LinkedIn Unfollow Script
function isHidden(el) {
if(el) return (el.offsetParent === null);
else return false;
}
TotalUnfollowed = 0;
var LoadingAnimation = document.getElementsByClassName("initial-load-animation")[0];
var CatchLoadingAnimation = setInterval(function(){
if(isHidden(LoadingAnimation) == true) {
@bbqtd
bbqtd / macos-tmux-256color.md
Last active May 9, 2025 23:46
Installing tmux-256color for macOS

Installing tmux-256color for macOS

  • macOS 10.15.5
  • tmux 3.1b

macOS has ncurses version 5.7 which does not ship the terminfo description for tmux. There're two ways that can help you to solve this problem.

The Fast Blazing Solution

Instead of tmux-256color, use screen-256color which comes with system. Place this command into ~/.tmux.conf or ~/.config/tmux/tmux.conf(for version 3.1 and later):

@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active May 18, 2025 08:23
Conventional Commits Cheatsheet

Conventional Commit Messages starline

See how a minor change to your commit message style can make a difference.

Tip

Take a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs

Commit Message Formats

Default

@bushev
bushev / ssh-tunnel-ios.md
Last active September 23, 2022 10:39
How to hide IP address without of VPN on iOS for free

In order to tunnel all iOS Internet traffic using SSH:

  1. Get this app: SSHTunnel
  2. Create a tunnel with type "Dynamic" & connect.
  3. Click on the config.pac file to copy it to a clipboard.
  4. Go to Settings > General > Network > Wi-Fi and tap the blue arrow on the right side of the entry for your network. Scroll down to the "Proxy" section and tap "Auto". Paste URL to a pac file from a clipboard.
  5. Have a FUN!

See a detailed video: https://www.youtube.com/watch?v=8r0eEr36Dg4

@mikroskeem
mikroskeem / Arch Linux btrfs install.md
Last active October 18, 2024 19:52 — forked from artizirk/Arch Linux btrfs install.md
Arch Linux installation on btrfs subvolumes

Arch Linux btrfs install

NOTE: Last update to this gist was on Jun 2, 2018. Most of the things here are out of date (e.g consider using zstd for transparent compression instead of lzo), so do your own research as well. Take care!

0. Prerequisites

  • Plenty of storage - snapshots will take (sort of) a lot of space
  • Latest Arch Linux install iso because those have newer kernels and more bugfixes in btrfs.
  • Have previous experience with installing Arch (like you can install arch with a blind fold).
  • Read everything through
= Arch Linux step-by-step installation =
= http://blog.fabio.mancinelli.me/2012/12/28/Arch_Linux_on_BTRFS.html =
== Boot the installation CD ==
== Create partition ==
cfdisk /dev/sda
* Create a partition with code 8300 (Linux)
@xcoderzach
xcoderzach / function_bind_syntax.js
Last active August 29, 2015 14:15
Function Bind Syntax
import _ from 'lodash'
function ooify(fn) {
return function() {
return fn.apply(this, [this].concat([].slice.call(arguments)))
}
}
var methods = _.zipObject(_.map(_.keys(_.prototype), methodName => {
return [methodName, ooify(_[methodName])]
}))
@Schnouki
Schnouki / popcorntime-vpn.sh
Last active November 12, 2024 00:33
OpenVPN for a single application using network namespaces -- helper scripts
#!/usr/bin/env zsh
# Initialize VPN
sudo vpnns up
sudo vpnns start_vpn
# Popcorn time!
sudo ip netns exec frootvpn sudo -u $USER popcorntime
# Cleanup