most of these require logout/restart to take effect
# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false
# Set a shorter Delay until key repeat
<?php | |
function _b64enc($in, $padding = false) | |
{ | |
$inLen = count($in); | |
$out = []; | |
for ($i = 0; $i < $inLen; $i += 3) | |
{ | |
$out[] = $in[$i] >> 2; | |
if ($i + 1 < $inLen) |