Skip to content

Instantly share code, notes, and snippets.

Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 3 column 1
---
language: uxntal
contributors:
	- ["Devine Lu Linvega", "https://wiki.xxiivv.com"]
filename: learnuxn.tal
---

Uxntal is a stack-machine assembly language targetting the Uxn virtual machine.

Stack machine programming might look at bit odd, as it uses a postfix notation,

@Ismael-VC
Ismael-VC / ExtHarpTab.md
Last active January 20, 2021 05:21
Extended Harmonica Tablature (Rhythm and Articulations)

Extended Harmonica Tablature (Rhythm and Articulations, etc.)

Standard tab notation.

Syntax Meaning
4, +4 Blow.
-4 Draw.
-3' half step draw bend
10'' whole step blow bend

SOBERS Assignment

Introduction

For this assignment our client has a web application that deals with accounting. One of the features is to import csv's with bank statements.

In this assignment, There is already a version that runs for a single bank. In this assignment a version is needed that is not a POC(Proof of Concept) but will be used as the main point for the bank integration feature. There for maintenance and extensibility will be important. Your task will be to create a script that parses data from different banks.

@fdidron
fdidron / ABOUT.md
Last active April 9, 2024 23:53
Ergodox-EZ Glow per layer / per key illumination

rules.mk

Contains all the directives required to activate QMK's rgb matrix features.

config.h

Sets a constant required to read the rgb matrix config from the EEPROM.

keymap.c

Custom keymap based on my layout. This is where the magic happens.

First let's declare a rgb_matrix_config variable of type rgb_config_t :

anonymous
anonymous / Dapper guide.md
Created July 6, 2017 09:19
Dapper guide

File: Download Dapper guide   From design to style to tech, Dapper Guide is a curation of the best and most exciting goods and information making the rounds on the streets and on rooftop The latest Tweets from Dapper Guide (@dapperguide). A Curation of Sophistication for the Millennial Man » media/PR: media@dapperguide.com. New York. Fashion to me is nothing but a bunch of senseless trends that come and go with the voices of “fashion” society. Style on the other hand is something tangible, The word “dapper” typically describes a man who is neat and trim in appearance, but we like to think of it as embodying something more — the highest level of So You're Go To #DapperSummer #menswear with our #dapper Guy Ben @ Ben is Back! We did a #photoshoot today with our #Dapper Guy @ #Dap

@kungfooman
kungfooman / offsetof_julia.jl
Created June 19, 2017 21:03
C's offsetof in julia
type ABC a::Int64; b::Int64; c::Int64 end
function offsetof(type_, member::Symbol)
for (i, item) in enumerate(fieldnames(type_))
if item == member
return fieldoffset(type_, i)
end
#print(typeof(i))
end
# what to do when symbol not in type_?
@jagrosh
jagrosh / Growing A Discord Server.md
Last active February 17, 2024 04:29
Tips for creating and growing a new Discord server

This guide is kept up-to-date as Discord and available resources change!
A basic server template is available here

Creating and Growing a Discord Server

logo

Introduction

Hello! I'm jagrosh#4824! I'm writing this guide to try to help new server owners set up and grow their servers, which is a commonly-requested topic. It's very easy to go about this the wrong way, so it's best to be prepared and make smart decisions so that your community can flourish!

Background

@Ismael-VC
Ismael-VC / 🙈🙉🙊.jl
Last active July 1, 2017 15:40
"Obfuscated" do-when loop in Julia.
eval(:(@doc("do-when loop"->macro$(:do)(🙈,🙉::Symbol,🙊)🙉≠:when&&error("expected `when` got `$🙉`");:(let;$🙈;while(!$🙊);$🙈;end;end)|>esc;end)))
## you may need sudo permission to execute some commands or swith to root
# if installed old version by yum, remove it first
sudo yum remove tmux libevent libevent-devel libevent-headers
# install deps
sudo yum install gcc kernel-devel make ncurses-devel
# create temp dir
mkdir /tmp/for-latest-tmux
@simonbyrne
simonbyrne / spooky.jl
Last active November 1, 2016 01:18
For my Raspberry Pi powered jack-o'-lantern
using SenseHat
import SenseHat: RGB565
function spooky(decay, arriv, refresh)
x = rand()
while true
x *= exp(-decay*refresh)
if rand() < arriv*refresh
x += (1-x)*rand()
end