Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Ismael Venegas Castelló SalchiPapa

🎯
Focusing
View GitHub Profile
View README.MD

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 Jun 7, 2020
Ergodox-EZ Glow per layer / per key illumination
View ABOUT.md

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 Jul 6, 2017
Dapper guide
View Dapper guide.md




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 Jun 19, 2017
C's offsetof in julia
View offsetof_julia.jl
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 Oct 18, 2020
Tips for creating and growing a new Discord server
View Growing A Discord Server.md

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

@SalchiPapa
SalchiPapa / 🙈🙉🙊.jl
Last active Jul 1, 2017
"Obfuscated" do-when loop in Julia.
View 🙈🙉🙊.jl
eval(:(@doc("do-when loop"->macro$(:do)(🙈,🙉::Symbol,🙊)🙉:when&&error("expected `when` got `$🙉`");:(let;$🙈;while(!$🙊);$🙈;end;end)|>esc;end)))
View Install the latest tmux (2.2 now) on CentOS 6.7
## 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 Nov 1, 2016
For my Raspberry Pi powered jack-o'-lantern
View spooky.jl
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
@ityonemo
ityonemo / uppertriangular.jl
Created Sep 28, 2016
Iterates over upper triangular indices.
View uppertriangular.jl
#upper triangular indices - iterates over upper triangular indices in a list of
#indices.
type uppertriangular; iterable; end
Base.start(x::uppertriangular) = (1, 1)
function Base.next(x::uppertriangular, state)
(idx1, idx2) = state
next1 = idx1
next2 = idx2 + 1
if next2 > length(x.iterable)
@SimonDanisch
SimonDanisch / lorenz.jl
Created Sep 23, 2016
Interactively plot Lorenz attractor with GLPlot
View lorenz.jl
using GeometryTypes, Reactive, GLVisualize
using GLPlot;GLPlot.init()
"""
Lorenz function
"""
function lorenz(t0, a, b, c, h)
Point3f0(
t0[1] + h * a * (t0[2] - t0[1]),
t0[2] + h * (t0[1] * (b - t0[3]) - t0[2]),
You can’t perform that action at this time.