Pinned Loading
-
format.js
format.js 1//////////////////////////////////////////////////////
2// pythonic string formating for javascript
3// supports chaining e.g. 'i like {}'.format('coffee and {}').format('cakes') === 'i like coffee and cakes'
4// standalone function:
5// var s = format('i like {}', 'pie');
-
DJB hash function in python and some...
DJB hash function in python and some variants 1"""DJB hash function in python and some variants"""
23MAGIC_NUMBER = 0x1505 # 5381
45MASK_24 = (1 << 24) - 1 # 0xFFFFFF
-
tccrun
tccrun 1#!/usr/bin/python3
2"""
3A simple script that accepts c statements as arguments,
4compiles and runs them with tcc (Tiny C Compiler).
5 -
toac3.py
toac3.py 1#!/bin/env python
2import os
3import subprocess
4import shutil
5
35 contributions in the last year
Day of Week | March Mar | April Apr | May May | June Jun | July Jul | August Aug | September Sep | October Oct | November Nov | December Dec | January Jan | February Feb | March Mar | ||||||||||||||||||||||||||||||||||||||||
Sunday Sun | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Monday Mon | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Tuesday Tue | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Wednesday Wed | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Thursday Thu | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Friday Fri | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Saturday Sat |
Less
No contributions.
Low contributions.
Medium-low contributions.
Medium-high contributions.
High contributions.
More