Skip to content

Instantly share code, notes, and snippets.

View GrimTheReaper's full-sized avatar
☠️
Literally dead

Grim GrimTheReaper

☠️
Literally dead
  • Hiding in a panic room.
View GitHub Profile

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 January 13, 2017 13:03
k-nearest neigbors
#!/usr/bin/env python3
# K N N A L G O R I T H M
# Project KNN Algorithm Implementation
# Author Barnabas Markus
# Email [email protected]
# Date 13.01.2017
# Python 3.5.1
# License MIT
#!/bin/bash
echo "$@" | sed -e 's|\\|/|g' -e 's|^\([A-Za-z]\)\:/\(.*\)|/mnt/\L\1\E/\2|'
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
$ 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 June 8, 2016 13:28
Script to add firmware files to a debian ISO
#!/bin/bash
#
# add-firmware-to: Add non-free firmware to Debian install media
#
# Copyright (C) 2008-2009 dann frazier <[email protected]>
#
# 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
@carlos-jenkins
carlos-jenkins / multihooks.py
Last active August 10, 2023 22:12
Delegating script for multiple git hooks
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright (C) 2015-2017 Carlos Jenkins <[email protected]>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
@cyrusboadway
cyrusboadway / google-domains-dynamic-dns-update.sh
Created February 20, 2016 17:21
Script to update a Google Domains DNS record
#!/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 September 11, 2024 08:13
Create a new GitHub Issue from a Google Form submission

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 October 8, 2024 14:45
Bulk import Bitbucket repos to Github
#!/usr/bin/env ruby
require 'fileutils'
# Originally -- Dave Deriso -- [email protected]
# Contributor -- G. Richard Bellamy -- [email protected]
# 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