-
ikawka
- Canada
- http://ikawka.github.io/
Pinned Loading
-
-
-
-
Human readable filesize
Human readable filesize 1<?php
2function human_filesize($bytes, $decimals = 2) {
3$sz = 'BKMGTP';
4$factor = floor((strlen($bytes) - 1) / 3);
5return sprintf("%.{$decimals}f", $bytes / pow(1024, $factor)) . @$sz[$factor];
-
Global Store with React Context
Global Store with React Context 1/*
2===== store.js =====
3import createStore from '@store'
4const initialState = { foo: 'bar' }
5export const { Provider, connect } = createStore(initialState)
-
327 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 | |||||||||||||||||||||||||||||||||||||||||
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