Skip to content

Instantly share code, notes, and snippets.


Ismael Venegas Castelló SalchiPapa

Block or report user

Report or block SalchiPapa

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
fdidron /
Last active May 22, 2019
Ergodox-EZ Glow per layer / per key illumination

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


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


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 / Dapper
Created Jul 6, 2017
Dapper guide
View Dapper

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: 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 / 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)
# what to do when symbol not in type_?
jagrosh / Growing A Discord
Last active Oct 16, 2019
Tips for creating and growing a new Discord server
View Growing A Discord

This guide is kept up-to-date as Discord and available resources change!

Creating and Growing a Discord Server



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!


You might be wondering: why am I qualified to write this guide? Excellent question! Well, I've created several successful Discord servers, including the Monster Hunter Gathering Hall (70,000+ members, game community), a bot support server (7,500+ members), and two bot community servers (25,000+ members and 20,000+ members). I also help moderate several large servers, and I am a Discord partner. Finally, I am very familiar with the technical aspects of Discord, which are useful for setting up servers and permi

denis111 /
Last active Oct 15, 2019
reset intellij idea 14 - 2017.x.x evaluation
echo "removeing evaluation key"
rm ~/.IntelliJIdea15/config/eval/idea15.evaluation.key
echo "resetting evalsprt in options.xml"
sed -i '/evlsprt/d' ~/.IntelliJIdea15/config/options/options.xml
echo "resetting evalsprt in prefs.xml"
sed -i '/evlsprt/d' ~/.java/.userPrefs/prefs.xml
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 / 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()
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
type uppertriangular; iterable; end
Base.start(x::uppertriangular) = (1, 1)
function, state)
(idx1, idx2) = state
next1 = idx1
next2 = idx2 + 1
if next2 > length(x.iterable)
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)
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.