Skip to content

Instantly share code, notes, and snippets.

View KharmaScribbles's full-sized avatar

Kharma Scribbles KharmaScribbles

View GitHub Profile
@KharmaScribbles
KharmaScribbles / gnome_chromote.sh
Created January 14, 2019 05:11 — forked from packetpilot/gnome_chromote.sh
headless ubuntu|debian + gnome, accessible via Chrome Remote Desktop
#!/bin/bash
# gnome and chrome and chrome remote desktop access
# chrome itself is not required, but is included here.
# other desktops can be used w/ light script changes.
# tested on:
# - ubuntu xenial GCE instance
# - debian stretch crostini container on a Pixelbook (eve)
# running ChromeOS v67.0.3383.0 (dev channel)
# _without_ being in developer mode
@KharmaScribbles
KharmaScribbles / git-pick-file.sh
Created July 3, 2018 04:36 — forked from jussi-kalliokoski/git-pick-file.sh
Cherry-picks commits from master that have changes to specified files.
$!/usr/bin/env sh
branch=`git symbolic-ref --short HEAD`
git checkout master
commits=`git log --pretty="%H" --reverse -- $*`
git checkout $branch
for commit in $commits; do
git cherry-pick $commit
done
# This is the ssh client system-wide configuration file. See
# ssh_config(5) for more information. This file provides defaults for
# users, and the values can be changed in per-user configuration files
# or on the command line.
# Configuration data is parsed as follows:
# 1. command line options
# 2. user-specific file
# 3. system-wide file
# Any configuration value is only changed the first time it is set.
@KharmaScribbles
KharmaScribbles / kpcli-installer.sh
Created June 9, 2018 01:43 — forked from vaites/kpcli-installer.sh
kpcli installer for Termux
apt install perl
cpan Crypt::Rijndael
cpan Term::ReadKey
cpan Sort::Naturally
cpan File::KeePass
cpan Term::ShellUI
cpan Term::ReadLine::Perl5
wget http://netcologne.dl.sourceforge.net/project/kpcli/kpcli-3.0.pl -N -O /data/data/com.termux/files/usr/bin/kpcli
chmod +x /data/data/com.termux/files/usr/bin/kpcli
perl -pi -e 's/\/usr\/bin\/perl/\/data\/data\/com.termux\/files\/usr\/bin\/perl/g' /data/data/com.termux/files/usr/bin/kpcli