Skip to content

Instantly share code, notes, and snippets.

☠️
Literally dead

Grim GrimTheReaper

☠️
Literally dead
  • Hiding in a panic room.
Block or report user

Report or block GrimTheReaper

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
View SGX Character Creation.md

The Setting

Set in an alternative timeline of the Stargate the series. So characters of the show will not be present in this setting, but they might be parallel characters.

Stargate Command was formed upon the discovery of an ancient alien artifact discovered under a pyramid in Egypt. This device, known as the Stargate, can transport objects instantly across the galaxy to other Stargates. The SGC's primary mission is to seek out alien technology in order to progress and protect humanity.

The SGC has only been involved in full offworld operations for the last 8 months with over a dozens missions under it's belt. Much about the Stargate Network, alien technology, and other races is unknown.

You have been recruited to join SG-6, the SGC's newest team. You have been selected because of your extraordinary skills and talents. The SGC is always seeking exceptional individuals in the fields of strategy/tactics, diplomacy, physics/engineering, and languages/history/archaeology.

@BarnabasMarkus
BarnabasMarkus / knn.py
Created Jan 13, 2017
k-nearest neigbors
View knn.py
#!/usr/bin/env python3
# K N N A L G O R I T H M
# Project KNN Algorithm Implementation
# Author Barnabas Markus
# Email barnabasmarkus@gmail.com
# Date 13.01.2017
# Python 3.5.1
# License MIT
View winpath,sh
#!/bin/bash
echo "$@" | sed -e 's|\\|/|g' -e 's|^\([A-Za-z]\)\:/\(.*\)|/mnt/\L\1\E/\2|'
View dicom.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View setup.sh
$ git init
$ git remote add origin https://yourGitURL.com/user/repo.git
# Set a new remote
$ git remote -v
# Verify new remote
origin https://yourGitURLcom/user/repo.git (fetch)
origin https://yourGitURL.com/user/repo.git (push)
# now add the files
@mtorromeo
mtorromeo / add-firmware-to-debian.sh
Created Jun 8, 2016
Script to add firmware files to a debian ISO
View add-firmware-to-debian.sh
#!/bin/bash
#
# add-firmware-to: Add non-free firmware to Debian install media
#
# Copyright (C) 2008-2009 dann frazier <dannf@debian.org>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
@cyrusboadway
cyrusboadway / google-domains-dynamic-dns-update.sh
Created Feb 20, 2016
Script to update a Google Domains DNS record
View google-domains-dynamic-dns-update.sh
#!/bin/bash
### Google Domains provides an API to update a DNS "Syntheitc record". This script
### updates a record with the script-runner's public IP, as resolved using a DNS
### lookup.
###
### Google Dynamic DNS: https://support.google.com/domains/answer/6147083
### Synthetic Records: https://support.google.com/domains/answer/6069273
USERNAME=""
@bmcbride
bmcbride / google-form-to-github-issue.md
Last active Sep 6, 2019
Create a new GitHub Issue from a Google Form submission
View google-form-to-github-issue.md

Wiring up a Google Form to GitHub is not that difficult with a little bit of Apps Script automation. All you need is a Google account, a GitHub account, and a web browser...

Set up your GitHub Personal Access Token

Personal access tokens provide an easy way to interact with the GitHub API without having to mess with OAuth. If you don't already have a personal access token with repo or public_repo access, visit your GitHub settings page and generate a new token.

Be sure to copy your token some place safe and keep it secure. Once generated, you will not be able to view or copy the token again.

Set up the Form & Spreadsheet

  1. Create a Google Form.
@rbellamy
rbellamy / bitbucket-to-github.rb
Last active Jun 7, 2019
Bulk import Bitbucket repos to Github
View bitbucket-to-github.rb
#!/usr/bin/env ruby
require 'fileutils'
# Originally -- Dave Deriso -- deriso@gmail.com
# Contributor -- G. Richard Bellamy -- rbellamy@terradatum.com
# If you contribute, put your name here!
# To get your team ID:
# 1. Go to your GitHub profile, select 'Personal Access Tokens', and create an Access token
# 2. curl -H "Authorization: token <very-long-access-token>" https://api.github.com/orgs/<org-name>/teams
# 3. Find the team name, and grabulate the Team ID
@rjz
rjz / handler.go
Last active Oct 1, 2019
Handle Github webhooks with golang
View handler.go
// Now available in package form at https://github.com/rjz/githubhook
package handler
// https://developer.github.com/webhooks/
import (
"crypto/hmac"
"crypto/sha1"
"encoding/hex"
"errors"
You can’t perform that action at this time.