Skip to content

Instantly share code, notes, and snippets.

Ryan Collins rymcol

Block or report user

Report or block rymcol

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@rymcol
rymcol / merged.fish
Last active Jun 27, 2019
When on a feature branch that has been merged remotely, type `merged [base_branch]` to checkout that base, update it, and delete the feature branch
View merged.fish
function merged
set branch (git branch | grep \* | cut -d ' ' -f2)
if count $argv > /dev/null
set base $argv[1]
else
echo "You must provide the base branch as an argument… `merged [base]`"
return 2
end
@rymcol
rymcol / cpanel_account_delete.py
Created Jan 9, 2019
Deletes accounts from a cPanel server
View cpanel_account_delete.py
#!/usr/bin/env python
# encoding=utf8
from urllib import urlencode
import httplib2, base64, json
filewithaccts = '/path/to/txt/full/of/usernames/accts.txt'
#WARNING THIS WILL DELETE ACCOUNTS
resellerlogin = 'root' #YOU MUST USE ROOT FOR THE SERVER
resellerpass = ''
View Backend Swift or Go Developer (Freelance, 100% Remote, EU Timezone Overlap).md

BACKEND SWIFT/GO DEVELOPER (FREELANCE, 100% REMOTE, EU TIMEZONE)

We are searching an experienced backend developer for Moonshot Energy, a well-funded AI startup in the renewable energies sector located in Germany.

You will play a major role in helping us revolutionize and rethink the energy sector in Europe.

A substantial track record in backend development and the ability to overlap some Berlin local time for team meetings are a must-have.

Your job:

@rymcol
rymcol / krmosh.fish
Created Jun 21, 2018
workaround for kr to use mosh instead of ssh
View krmosh.fish
function krmosh
mosh --experimental-remote-ip=remote $argv
end
View Senior Android Kotlin Developer (Freelance, 100% Remote, EU).md

Senior Android Kotlin Developer (Freelance, 100% Remote, EU, Short Term Contract, Full-Time)

I am searching an experienced Kotlin developer for Moonshot Energy, a disruptive, well-funded high-tech startup in the renewable energies sector located in Germany.

You will fulfil a temporary role in helping us revolutionize and rethink the energy sector in Europe with things like artificial intelligence, machine learning, and new conversational user interfaces.

A substantial track record in backend development and a good amount of overlap to Berlin local time are a must-have.

Your job:

  • build our native chat-based Android app
View EXPERIENCED GO DEVELOPER (FREELANCE, 100% REMOTE, EU TIMEZONE).md

EXPERIENCED GO DEVELOPER (FREELANCE, 100% REMOTE, EU TIMEZONE)

We are searching an experienced Golang developer for Moonshot Energy, a disruptive, well-funded high-tech startup in the renewable energies sector located in Germany.

You will play a major role in helping us revolutionize and rethink the energy sector in Europe with things like artificial intelligence, machine learning, and new conversational user interfaces.

A substantial track record in backend development and a good amount of overlap to Berlin local time are a must-have.

Your job:

@rymcol
rymcol / vscode.fish
Created Mar 7, 2018
quick open in vscode for fish
View vscode.fish
function vscode
open -a /Applications/Visual\ Studio\ Code.app .
end
@rymcol
rymcol / Packaging_Example.sh
Created Feb 2, 2018 — forked from asmaloney/Packaging_Example.sh
This is an example of script to package up and create a DMG for a Mac OS X app. Details may be found here: http://asmaloney.com/2013/07/howto/packaging-a-mac-os-x-application-using-a-dmg/
View Packaging_Example.sh
#!/bin/bash
# by Andy Maloney
# http://asmaloney.com/2013/07/howto/packaging-a-mac-os-x-application-using-a-dmg/
# make sure we are in the correct dir when we double-click a .command file
dir=${0%/*}
if [ -d "$dir" ]; then
cd "$dir"
fi
@rymcol
rymcol / ssh-copy-kr-id.sh
Created Jan 26, 2018
bash/zsh alias for copying krypton (kr) public ssh key through ssh-copy-id, for macOS
View ssh-copy-kr-id.sh
echo 'alias ssh-copy-kr-id="ssh-copy-id -f -i ~/.ssh/id_krypton.pub' >> ~/.bash_profile
echo 'alias ssh-copy-kr-id="ssh-copy-id -f -i ~/.ssh/id_krypton.pub' >> ~/.zshenv
@rymcol
rymcol / ssh-copy-kr-id.fish
Created Jan 26, 2018
Wrapper for copying krypton public key through ssh-copy-id
View ssh-copy-kr-id.fish
function ssh-copy-kr-id
ssh-copy-id -f -i ~/.ssh/id_krypton.pub $argv
end
You can’t perform that action at this time.