Skip to content

Instantly share code, notes, and snippets.

View wh0am1-dev's full-sized avatar
🙃

Carlos Aguilar wh0am1-dev

🙃
View GitHub Profile
@wh0am1-dev
wh0am1-dev / semantic-commits.md
Last active July 16, 2019 09:13 — forked from mutewinter/commit_format.txt
Semantic commits format

semantic commits

feat: add hat wobble
^--^  ^------------^
|     |
|     +-> summary in present tense
|
+-------> type: chore, docs, feat, fix, refactor, style, or test
// ==UserScript==
// @name EmuParadise Download Workaround - 1.1.1
// @version 1.1.2
// @description Replaces the download button link with a working one
// @author Eptun
// @match https://www.emuparadise.me/*/*/*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// @grant none
// ==/UserScript==
@wh0am1-dev
wh0am1-dev / Default (Windows).sublime-keymap
Created March 5, 2019 14:25 — forked from rotassator/Default (Windows).sublime-keymap
Sublime Text 3: Key Binding - restore Quick Switch Project keystroke
[
{ "keys": ["ctrl+alt+p"], "command": "prompt_select_workspace" }
]
@wh0am1-dev
wh0am1-dev / generate.c
Created March 4, 2019 20:34 — forked from munificent/generate.c
A random dungeon generator that fits on a business card
#include <time.h> // Robert Nystrom
#include <stdio.h> // @munificentbob
#include <stdlib.h> // for Ginny
#define r return // 2008-2019
#define l(a, b, c, d) for (i y=a;y\
<b; y++) for (int x = c; x < d; x++)
typedef int i;const i H=40;const i W
=80;i m[40][80];i g(i x){r rand()%x;
}void cave(i s){i w=g(10)+5;i h=g(6)
+3;i t=g(W-w-2)+1;i u=g(H-h-2)+1;l(u
@wh0am1-dev
wh0am1-dev / HowToOTGFast.md
Last active January 24, 2019 18:59 — forked from gbaman/HowToOTGFast.md
Simple guide for setting up OTG modes on the Raspberry Pi Zero, the fast way!

headless pi zero setup

More details - http://blog.gbaman.info/?p=791

For this method, alongside your Pi Zero, MicroUSB cable and MicroSD card, only an additional computer is required, which can be running Windows (with Bonjour, iTunes or Quicktime installed), Mac OS or Linux (with Avahi Daemon installed, for example Ubuntu has it built in).

  1. Flash Raspbian Jessie full or Raspbian Jessie Lite onto the SD card.
  2. Once Raspbian is flashed, open up the boot partition (in Windows Explorer, Finder etc) and add to the bottom of the config.txt file dtoverlay=dwc2 on a new line, then save the file.
  3. If using a recent release of Jessie (Dec 2016 onwards), then create a new file simply called ssh in the SD card as well. By default SSH is now disabled so this is required to enable it. Remember - Make sure your file doesn't have an extensi
%YAML 1.2
---
# See http://www.sublimetext.com/docs/3/syntax.html
name: JavaScript Literals
file_extensions:
- js
- ng.js
scope: source.js.ng
contexts:
main:
@wh0am1-dev
wh0am1-dev / emoji.md
Last active December 9, 2018 20:32 — forked from rxaviers/gist:7360908
github emoji

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@wh0am1-dev
wh0am1-dev / perfectelementary.bash
Created May 9, 2017 16:10
HowTo Install the perfect Elementary-OS
#Download Elementary OS from here:
#http://sourceforge.net/projects/elementaryos/files/stable/
#First you update your system
sudo apt-get update && sudo apt-get dist-upgrade
#Install Google Chrome
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
@wh0am1-dev
wh0am1-dev / OpenSimplexNoise.java
Created December 12, 2016 12:22 — forked from KdotJPG/OpenSimplex2S.java
Visually axis-decorrelated coherent noise algorithm based on the Simplectic honeycomb.
/*
* OpenSimplex Noise in Java.
* by Kurt Spencer
*
* v1.1 (October 5, 2014)
* - Added 2D and 4D implementations.
* - Proper gradient sets for all dimensions, from a
* dimensionally-generalizable scheme with an actual
* rhyme and reason behind it.
* - Removed default permutation array in favor of