This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.6" | |
services: | |
soft-serve: | |
image: charmcli/soft-serve:latest | |
container_name: soft-serve | |
restart: unless-stopped | |
ports: | |
- 23231:23231 | |
- 23232:23232 | |
- 23233:23233 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
file="followers.txt" | |
followers=() | |
page=1 | |
per_page=100 | |
page_result=() | |
# github_token= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -eu | |
# repositories should be identical at the time | |
#SOURCE_REPO="fdehau/tui-rs" | |
#TARGET_REPO="tui-rs-revival/tui-rs" | |
# make sure you have the correct scope permissions | |
#GITHUB_TOKEN="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn main() { | |
// Initialize repository | |
let repo = git2::Repository::open(std::env::var("REPOSITORY").unwrap()).unwrap(); | |
let mut revwalk = repo.revwalk().unwrap(); | |
revwalk | |
.set_sorting(git2::Sort::NONE | git2::Sort::TIME) | |
.unwrap(); | |
revwalk.push_head().unwrap(); | |
// Parse commits |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# usage: crack.sh <log> <wordlist> | |
usernames=() | |
while read -r username; do | |
read -r challenge | |
read -r response | |
if [ "$username" == "test" ]; then | |
continue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Please report issues with the package on GitHub or in the comments | |
# Maintainer: Lunush | |
pkgname=rates | |
pkgver=0.6.0 | |
pkgrel=1 | |
pkgdesc="Currency exchange rates in your terminal" | |
arch=("x86_64") | |
url="https://github.com/lunush/rates" | |
license=('Apache' 'MIT') |
- AUR account (aur.archlinux.org)
- Archweb account (archlinux.org)
- devtools
- aurpublish
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Plays a random MOD file from https://modarchive.org | |
# Depends on XMP (http://xmp.sourceforge.net/) | |
# https://gist.github.com/orhun/eda9701e357b625c2bada19563872715 | |
rand=$(shuf -i 1-189573 -n 1) | |
tmp=$(mktemp /tmp/${rand}.XXXXXXXX.mod) | |
curl https://modarchive.org/jsplayer.php?moduleid=${rand} > ${tmp} | |
xmp ${tmp} | |
rm ${tmp} |