Skip to content

Instantly share code, notes, and snippets.

View emrivero's full-sized avatar
💻
Road to computer engineering

Emilio Martínez Rivero emrivero

💻
Road to computer engineering
  • G+D
  • Seville, Spain
View GitHub Profile
@paulmillr
paulmillr / active.md
Last active June 24, 2024 13:58
Most active GitHub users (by contributions). http://twitter.com/paulmillr

Most active GitHub users (git.io/top)

The count of contributions (summary of Pull Requests, opened issues and commits) to public repos at GitHub.com from Wed, 21 Sep 2022 till Thu, 21 Sep 2023.

Only first 1000 GitHub users according to the count of followers are taken. This is because of limitations of GitHub search. Sorting algo in pseudocode:

githubUsers
 .filter(user => user.followers > 1000)
@rxaviers
rxaviers / gist:7360908
Last active July 4, 2024 01:27
Complete list of github markdown emoji markup

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:
@mikeblum
mikeblum / sizeChecker.java
Created September 8, 2016 20:26
Calculate the size of an InputStream
package size_checker;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
public class SizeChecker {
@Dither
Dither / moon_phase.js
Created September 17, 2016 10:07
JS function to calculate moon phase
function moon_phase(date) { // ported from http://www.voidware.com/moon_phase.htm
var year = date.getYear(),
month = date.getMonth(),
day = date.getDay();
if (month < 3) {
year--;
month += 12;
}
@hauthorn
hauthorn / postman.desktop
Last active June 20, 2024 15:17
Postman desktop entry
[Desktop Entry]
Categories=Development;
Comment=Supercharge your API workflow
Exec="/home/hauthorn/Programs/Postman/Postman"
Icon=/home/hauthorn/Programs/Postman/app/resources/app/assets/icon.png
Name=Postman
Terminal=false
Type=Application
Version=1.0
fetch('https://api.github.com/repos/:user/:repo/issues?per_page=1000').then(res => res.json()).then(res => {
console.log('"title","labels","id","created","author"');
console.log(res.map(i => `"${i.title}","${i.labels.map(l => l.name).join(';')}","#${i.number}","${i.created_at}","${i.user.login}"`).join('\n'));
});
@manmorjim
manmorjim / init.coffee
Last active November 19, 2018 13:31
atom-settings-guadaltel
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
@manmorjim
manmorjim / .zshrc
Last active April 12, 2018 18:22
ZSH configuration file
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=/home/manueljmorillo/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
#ZSH_THEME="agnoster"
@jgleal
jgleal / fiddleToMapea5
Last active September 13, 2018 07:40
Macro de iMacros (https://imacros.net/) para cambiar los recursos de un fiddle a Mapea 5
VERSION BUILD=1003 RECORDER=CR
TAG POS=1 TYPE=A ATTR=TXT:remove
TAG POS=1 TYPE=A ATTR=TXT:remove
TAG POS=1 TYPE=A ATTR=TXT:remove
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:show-result ATTR=ID:external_resource CONTENT=https://sigc.desarrollo.guadaltel.es/mapea5/js/mapea.ol.min.js
TAG POS=1 TYPE=A ATTR=TITLE:"Add resource"
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:show-result ATTR=ID:external_resource CONTENT=https://sigc.desarrollo.guadaltel.es/mapea5/assets/css/mapea.ol.min.css
TAG POS=1 TYPE=A ATTR=TITLE:"Add resource"
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:show-result ATTR=ID:external_resource CONTENT=https://sigc.desarrollo.guadaltel.es/mapea5/js/configuration.js
TAG POS=1 TYPE=A ATTR=TITLE:"Add resource"
@enepomnyaschih
enepomnyaschih / base64.js
Last active March 6, 2024 23:45
https://www.npmjs.com/package/byte-base64 - Encode JS Uint8Array, simple array of bytes or native JS string to base64 and back
/*
MIT License
Copyright (c) 2020 Egor Nepomnyaschih
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is