Skip to content

Instantly share code, notes, and snippets.

@tzd
tzd / ral_standard.csv
Created May 24, 2021 22:43 — forked from lunohodov/ral_classic.csv
RAL Standard Color Table (CSV)
RAL RGB HEX German English French Spanish Italian Nederlands
RAL 1000 190-189-127 #BEBD7F Grünbeige Green beige Beige vert Beige verdoso Beige verdastro Groenbeige
RAL 1001 194-176-120 #C2B078 Beige Beige Beige Beige Beige Beige
RAL 1002 198-166-100 #C6A664 Sandgelb Sand yellow Jaune sable Amarillo arena Giallo sabbia Zandgeel
RAL 1003 229-190-001 #E5BE01 Signalgelb Signal yellow Jaune de sécurité Amarillo señales Giallo segnale Signaalgeel
RAL 1004 205-164-052 #CDA434 Goldgelb Golden yellow Jaune or Amarillo oro Giallo oro Goudgeel
RAL 1005 169-131-007 #A98307 Honiggelb Honey yellow Jaune miel Amarillo miel Giallo miele Honinggeel
RAL 1006 228-160-016 #E4A010 Maisgelb Maize yellow Jaune maïs Amarillo maiz Giallo polenta Maisgeel
RAL 1007 220-156-000 #DC9D00 Narzissengelb Daffodil yellow Jaune narcisse Amarillo narciso Giallo narciso Narcissengeel
RAL 1011 138-102-066 #8A6642 Braunbeige Brown beige Beige brun Beige pardo Beige marrone Bruinbeige
Project Repo Project license Repo License Sourcerank
NPM/fbjs https://github.com/facebook/fbjs MIT BSD-3-Clause 23
NPM/walk https://github.com/Daplie/node-walk MIT,Apache-2.0 Apache-2.0 22
NPM/vis https://github.com/almende/vis MIT Apache-2.0 20
NPM/mdi https://github.com/Templarian/MaterialDesign-Webfont OFL-1.1,MIT OFL-1.1 19
NPM/supervisor https://github.com/petruisfan/node-supervisor MIT BSD-2-Clause 19
NPM/azure-arm-resource https://github.com/Azure/azure-sdk-for-node MIT Apache-2.0 19
NPM/email-validator https://github.com/Sembiance/email-validator MIT Unlicense 19
NPM/eslint-config-fbjs https://github.com/facebook/fbjs MIT BSD-3-Clause 19
NPM/ms-rest https://github.com/Azure/azure-sdk-for-node MIT Apache-2.0 19
@tzd
tzd / GLDebugMessageCallback.c
Created May 5, 2021 22:48 — forked from liam-middlebrook/GLDebugMessageCallback.c
GL Debug Output Message Callback Guide
// This is free and unencumbered software released into the public domain.
//
// Anyone is free to copy, modify, publish, use, compile, sell, or distribute
// this software, either in source code form or as a compiled binary, for any
// purpose, commercial or non-commercial, and by any means.
//
// In jurisdictions that recognize copyright laws, the author or authors of this
// software dedicate any and all copyright interest in the software to the
// public domain. We make this dedication for the benefit of the public at large
// and to the detriment of our heirs and successors. We intend this dedication
@tzd
tzd / countries.json
Created May 5, 2021 22:48 — forked from keeguon/countries.json
A list of countries in JSON
[
{name: 'Afghanistan', code: 'AF'},
{name: 'Åland Islands', code: 'AX'},
{name: 'Albania', code: 'AL'},
{name: 'Algeria', code: 'DZ'},
{name: 'American Samoa', code: 'AS'},
{name: 'AndorrA', code: 'AD'},
{name: 'Angola', code: 'AO'},
{name: 'Anguilla', code: 'AI'},
{name: 'Antarctica', code: 'AQ'},
@tzd
tzd / docstrings.py
Created May 5, 2021 22:47 — forked from redlotus/docstrings.py
Google Style Python Docstrings [fav: true]
# -*- coding: utf-8 -*-
"""Example Google style docstrings.
This module demonstrates documentation as specified by the `Google Python
Style Guide`_. Docstrings may extend over multiple lines. Sections are created
with a section header and a colon followed by a block of indented text.
Example:
Examples can be given using either the ``Example`` or ``Examples``
sections. Sections support any reStructuredText formatting, including
@tzd
tzd / nosleep.sh
Created May 5, 2021 22:46
Completely disable sleep on any Mac
# Useful to prevent Macbooks to go to sleep when closing the lid instead of running tools that requires a Kernel Extension (e.g. InsomniaX) and more
# Before doing anything, save your current configuration using
pmset -g
# To disable sleep
sudo pmset -a sleep 0; sudo pmset -a hibernatemode 0; sudo pmset -a disablesleep 1;
# And to go back to normal
sudo pmset -a sleep 1; sudo pmset -a hibernatemode [original hibernatemode value]; sudo pmset -a disablesleep 0;
@tzd
tzd / datafile.go
Created May 5, 2021 22:45 — forked from scottcagno/datafile.go
DataFile buffered io file wrapper for handling, reading, and writing binary data
package db
import (
"bufio"
"encoding/binary"
"io"
"os"
"path/filepath"
"unsafe"
)
@tzd
tzd / erc20-token-sample.sol
Created May 5, 2021 22:45 — forked from jcmartinezdev/erc20-token-sample.sol
Necessary code to generate an ERC20 Token [fav: true]
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : LCST
// Name : LCS Token
// Total supply : 100000
// Decimals : 2
// Owner Account : 0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe
@tzd
tzd / sane-caching.nginx.conf
Created May 5, 2021 22:45 — forked from philipstanislaus/sane-caching.nginx.conf
Sample Nginx config with sane caching settings for modern web development
# Sample Nginx config with sane caching settings for modern web development
#
# Motivation:
# Modern web development often happens with developer tools open, e. g. the Chrome Dev Tools.
# These tools automatically deactivate all sorts of caching for you, so you always have a fresh
# and juicy version of your assets available.
# At some point, however, you want to show your work to testers, your boss or your client.
# After you implemented and deployed their feedback, they reload the testing page – and report
# the exact same issues as before! What happened? Of course, they did not have developer tools
# open, and of course, they did not empty their caches before navigating to your site.