Skip to content

Instantly share code, notes, and snippets.

View timmywheels's full-sized avatar
🏴‍☠️
ship it

Tim Wheeler timmywheels

🏴‍☠️
ship it
View GitHub Profile
@balexandre
balexandre / f1_viewer_config.json
Last active August 30, 2023 08:51
My F1Viewer configuration
{
"live_retry_timeout": 60,
"preferred_language": "en",
"check_updates": true,
"save_logs": true,
"log_location": "",
"horizontal_layout": false,
"theme": {
"background_color": "#000000",
"border_color": "#0CA597",
@revant
revant / github-webhook.guard.ts
Created October 20, 2019 10:47
NestJS GithubWebHookGuard
// 2019 Revant Nandgaonkar
// License: MIT
import { CanActivate, ExecutionContext, Injectable } from '@nestjs/common';
import * as crypto from 'crypto';
import * as rawBody from 'raw-body';
@Injectable()
export class GithubWebHookGuard implements CanActivate {
async canActivate(context: ExecutionContext): Promise<boolean> {
@tiero
tiero / node-nginx-codedeploy.sh
Last active January 28, 2020 22:23
Install Node, Nginx and CodeDeploy on AWS EC2 instance with Ubuntu 16.04
#!/bin/bash
sudo apt-get update -y
sudo apt-get install wget
# Install web server stuff
sudo apt-get install -y nginx
# Locale settings for python
export LC_ALL="en_US.UTF-8"
## How to hide API keys from github ##
1. If you have already pushed commits with sensitive data, follow this guide to remove the sensitive info while
retaining your commits: https://help.github.com/articles/remove-sensitive-data/
2. In the terminal, create a config.js file and open it up:
touch config.js
atom config.js
@xero
xero / irc.md
Last active May 3, 2024 23:19
irc cheat sheet

IRC Reference

Not intended as a guide for newbies, more like a "cheat sheet" for the somewhat experienced IRC user, especially one who wields some power over a channel.

The Basics

  • /join #channel
    • Joins the specified channel.
  • /part #channel
  • Leaves the specified channel.
@takekazuomi
takekazuomi / csharp.gitignore
Created April 17, 2014 05:47
.gitignore for C#
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
# User-specific files
*.suo
*.user
*.sln.docstates
# Build results
@adamloving
adamloving / git-collaborative-workflow.md
Last active January 27, 2024 02:36
Simple Git workflow for collaborating on a project. I wrote this to help a co-worker learn Git (and help me remember after a year of working on my own).

Creating the change

$ git checkout -b my-feature

... modify code ....

$ git add <filename> 
$ git commit -m “my feature is this”