Skip to content

Instantly share code, notes, and snippets.

View stupid-kid-af's full-sized avatar

Ashutosh Tripathi stupid-kid-af

  • Pale Blue Dot
View GitHub Profile
deadjakk /
Last active February 24, 2024 03:40
Outputs status information to dwm status bar.
# Original source:
# Network speed stuff stolen from
print_wifi() {
ip=$(ip route get 2>/dev/null|grep -Eo 'src [0-9.]+'|grep -Eo '[0-9.]+')
while IFS=$': \t' read -r label value
case $label in SSID) SSID=$value
mrk-han /
Last active April 10, 2024 15:34
Installing and creating Emulators with AVDMANAGER (For Continuous Integration Server or Local Use)

Install and Create Emulators using AVDMANAGER and SDKMANAGER


For an emulator that mimics a Pixel 5 Device with Google APIs and ARM architecture (for an M1/M2 Macbook):

  1. List All System Images Available for Download: sdkmanager --list | grep system-images

  2. Download Image: sdkmanager --install "system-images;android-30;google_atd;arm64-v8a"

SingingBush /
Created April 1, 2018 01:25
setting up Godot on Fedora Linux

Godot 3.0.2 (Mono Version)

Get the latest Mono

Godot requires Mono 5.4.x but the Fedora repo is still stuck on an older version. Install the latest directly from the Mono Project (currently 5.10.x).

rpm --import ""
[Shift]+[Mod]+[Enter] - launch terminal.
[Mod]+[b] - show/hide bar.
[Mod]+[p] - dmenu for running programs like the x-www-browser.
[Mod]+[Enter] - push acive window from stack to master, or pulls last used window from stack onto master.
[Mod] + [j / k] - focus on next/previous window in current tag.
ForgottenUmbrella /
Last active December 25, 2023 21:49
How to publish Python apps for human beings

How to publish Python apps for human beings

So, you've created a Python app (be it a graphical user interface with Qt or the like, or a simple command line interface). Great! But how are others going to use it? Python applications often have dependencies (e.g. from third-party modules), and they also need a Python interpreter to run them. For a developer, installing all the necessary bits and bobs to make things work is okay, but that's unacceptable for a normal user - they just want to download the thing and run it.

Below are simple instructions to publish your app on the three main operating systems: Windows, macOS and Linux.

dianjuar /
Created April 10, 2017 03:22
install android SDK on arch linix

Install Android SDK on Arch Linux

1. Download Android SDK on your computer

yaourt android-sdk-platform-tools
yaourt android-udev
yaourt android-sdk

2. Create global variables on system

josh-padnick /
Last active April 1, 2024 06:28
Run ssh-agent via fish shell
# Convert ssh-agent output to fish shell
eval "$(ssh-agent)" >/dev/null
ertseyhan /
Created February 2, 2016 20:51
Temporarily increase size of tmp folder on Arch linux
sudo mount -o remount,size=10G,noatime /tmp
echo "Done. Please use 'df -h' to make sure folder size is increased."