Skip to content

Instantly share code, notes, and snippets.

View azcoigreach's full-sized avatar
👽

azcoigreach

👽
View GitHub Profile
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active July 21, 2024 20:54
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@cirrusUK
cirrusUK / .Xresources
Last active April 3, 2024 11:19
termite emulator orange theme and other stuff
! __ ___ __ ___ ___ ___ _ _ _ __ ___ ___ ___
! \ \/ / '__/ _ \/ __|/ _ \| | | | '__/ __/ _ \/ __|
! _ > <| | | __/\__ \ (_) | |_| | | | (_| __/\__ \
!(_)_/\_\_| \___||___/\___/ \__,_|_| \___\___||___/
!
!## Colors
#define S_base03 #191919
#define S_base02 #073642
#define S_base01 #586e75
#define S_base00 #657b83
@bonzanini
bonzanini / config.py
Last active July 20, 2024 15:06
Twitter Stream Downloader
consumer_key = 'your-consumer-key'
consumer_secret = 'your-consumer-secret'
access_token = 'your-access-token'
access_secret = 'your-access-secret'
@mtrunkat
mtrunkat / docker-mongo-repair
Last active March 19, 2024 06:28
Run "mongo --repair" in Docker container that cannot start because of MongoDB error
#!/bin/bash
# See https://github.com/docker-library/mongo/pull/63
docker run --rm --volumes-from my-mongo-server mongo unlink "/data/db/mongod.lock"
docker run --rm --volumes-from my-mongo-server mongo --repair
@martinwicke
martinwicke / automobile.ipynb
Last active January 9, 2022 08:14
Estimator demo using Automobile dataset
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@TrillCyborg
TrillCyborg / mastodon-docker-setup.md
Last active June 30, 2024 02:37
Mastodon Docker Setup

Mastodon Docker Setup

Setting up

Clone Mastodon's repository.

# Clone mastodon to ~/live directory
git clone https://github.com/tootsuite/mastodon.git live
# Change directory to ~/live

cd ~/live

@stanbar
stanbar / install_keybase_rpi.sh
Last active September 15, 2023 00:09
Keybase Raspberry Pi Raspbian installator
echo go get keybase && \
go get github.com/keybase/client/go/keybase && \
echo go build keybase && \
go build -tags production github.com/keybase/client/go/keybase && \
sudo mv keybase /usr/bin/ && \
echo go build kbfsfuse && \
go build -tags production github.com/keybase/client/go/kbfs/kbfsfuse && \
sudo mv kbfsfuse /usr/bin/ && \
@azcoigreach
azcoigreach / tasker_keybase_sign.sh
Last active August 27, 2019 20:03
Receive message from Tasker. Sign with Keybase PGP. Return signature.
#!/usr/bin/expect -f
#am broadcast --user 0 -a net.dinglish.tasker.[task name] -e [variable name] "[value]" > /dev/null
#Send passphrase as argument to keybase for PGP SIGN from pgp_input.txt to pgp_output.txt
#Uses Tasker, Termux and Keybase
set timeout -1
set PGP_PASS [lindex $argv 0];
spawn keybase --standalone pgp sign -c -o pgp_output.txt -i /data/data/com.termux/files/home/storage/shared/pgp_input.txt
expect {
"re:" {
@azcoigreach
azcoigreach / Keybase-Pi0.md
Last active September 18, 2021 21:21
Installing Keybase on Raspberry/Banana Pi Zero

Installing Keybase

For Raspberry Pi Zero W & Banana Pi Zero M2

Operating System

  • KALI Linux - Re4son kernel (RPi)
  • Armbian - Bullseye (BPi)
$ uname -rv
4.14.80-Re4son+ #1 Thu Feb 6 15:03:43 CET 2020 # KALI
@AbstractUmbra
AbstractUmbra / 00-deprecation.md
Last active July 14, 2024 16:01
discord.py 2.0+ slash command info and examples

This gist has now been 'deprecated' and has moved...

... to my blog style space for easier contribution by third parties and to provide what I believe to be an easier reading experience. Please field all enquiries and issues to the source repository.