Verify Permissions
diskutil verifyPermissions /
Repair Permissions
diskutil repairPermissions /
# Install dependencies | |
% apt-get install cifs-utils | |
# Create mount point folder | |
% mkdir /mnt/capsule | |
# Create credentials file | |
% touch /root/.cifs/capsule | |
% cat /root/.cifs/capsule | |
username=username |
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.
elem.offsetLeft
, elem.offsetTop
, elem.offsetWidth
, elem.offsetHeight
, elem.offsetParent
alias accio=wget | |
alias avadaKedavra='rm -f' | |
alias imperio=sudo | |
alias priorIncantato='echo `history |tail -n2 |head -n1` | sed "s/[0-9]* //"' | |
alias stupefy='sleep 5' | |
alias wingardiumLeviosa=mv | |
alias sonorus='set -v' | |
alias quietus='set +v' |
This post by a security researcher who prefers to remain anonymous will elucidate concerns about certain problematic decisions Apple has made and caution about future decisions made in the name of “security” while potentially hiding questionable motives. The content of this article represents only the opinion of the researcher. The researcher apologises if any content is seen to be inaccurate, and is open to comments or questions through PGP-encrypted mail.
TL;DR
/* | |
Use Fonteer app to install profile | |
with Cutive Mono font from Google Fonts | |
*/ | |
@font-face { | |
font-family: 'Cutive Mono'; | |
src: local('Cutive Mono'); | |
font-weight: normal; | |
font-style: normal; |
# me> gi tpush | |
# computer> -bash: gi: command not found | |
# me> dang it you kno wwhat I meant! | |
gi() { TCOMMAND=$1; shift; OTHERARGS=$@; if [ ${TCOMMAND:0:1} = "t" ]; then git ${TCOMMAND:1} $OTHERARGS; fi; } |
This is a collection of the things I believe about software development. I have worked for years building backend and data processing systems, so read the below within that context.
Agree? Disagree? Feel free to let me know at @JanStette. See also my blog at www.janvsmachine.net.
Keep it simple, stupid. You ain't gonna need it.