Skip to content

Instantly share code, notes, and snippets.

@paulmillr
paulmillr / github-languages-stats.json
Last active May 11, 2024 02:23
Most active GitHub users raw data
{
"Total": 910,
"my dms": 1,
"harbor is safe": 1,
"the Galaxy ": 1,
"Practice author": 1,
"Graph Representation Learning - rusty1s": 1,
"the PHP ecosystem": 1,
"software and to ensure that Python code is properly ported to Python 3": 1,
"Vienna - alanhamlett": 1,
@mrts
mrts / .gitignore
Created January 17, 2011 20:45
Script that uses the Google Calendar API for automated time reports.
*.pyc
*.swp
timetrack_conf.py

Most active GitHub users in Thailand

The count of contributions (summary of Pull Requests, opened issues and commits) to public repos at GitHub.com from Wed, 29 Jul 2015 01:52:41 GMT till Fri, 29 Jul 2016 01:52:41 GMT.

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 > 6)
@halgari
halgari / gist:f431b2d1094e4ec1e933969969489854
Last active May 11, 2024 02:23
What I want from a Type System
The question was asked why I (as a programmer who prefers dynamic languages) don't consider static types "worth it". Here
is a short list of what I would need from a type system for it to be truely useful to me:
1) Full type inference. I would really prefer to be able to write:
(defn concat-names [person]
(assoc person :full-name (str (:first-name person)
(:second-name person))))
And have the compiler know that whatever type required and produced from this function was acceptible as long as the
const roundNum = (i, j) => Math.max(Math.abs(i), Math.abs(j))
const sumRange = n => (n * (n + 1)) / 2
const accumulateBy = f => n => f(sumRange(n))
const roundCircumference = n => 8 * n
const accumulateDistanceUpToRound = accumulateBy(roundCircumference)
const distanceOnOuterRound = (i, j) => {
const n = roundNum(i, j)
@mohayonao
mohayonao / morse-code.json
Created July 14, 2014 06:18
morse-code.json
{
"0": "-----",
"1": ".----",
"2": "..---",
"3": "...--",
"4": "....-",
"5": ".....",
"6": "-....",
"7": "--...",
"8": "---..",

Bubblemaps Iframes

Pricing

Basic Usage

No worries, if you just want something simple (for example if you’re a token and want to display your map on your showcase website) it’ll most likely be free. Contact us and we’ll discuss it, we might even want to share your initiative on our socials.

Exchanges & Analytics Platforms

@dtinth
dtinth / README.md
Last active May 11, 2024 02:21
Batch File Rename Script

Batch File Rename

Use JavaScript for Automation to rename files in batch!

Motivation

@edokeh
edokeh / index.js
Last active May 11, 2024 02:21
佛祖保佑,永无 BUG
//
// _oo0oo_
// o8888888o
// 88" . "88
// (| -_- |)
// 0\ = /0
// ___/`---'\___
// .' \\| |// '.
// / \\||| : |||// \
// / _||||| -:- |||||- \
@Hakky54
Hakky54 / java_keytool_cheat_sheet.md
Last active May 11, 2024 02:18
Keytool Cheat Sheet - Some list of keytool commands for create, check and verify your keys

Keytool CheatSheet 🔐

Some history

This cheat sheet came into life when I started working on a tutorial of setting up one way tls and two way tls, which can be found here: GitHub - Mutual TLS SSL

Creation and importing

Generate a Java keystore and key pair

keytool -genkeypair -keyalg RSA -keysize 2048 -keystore keystore.jks -alias server -validity 3650