This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../core-scaffold/core-scaffold.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-menu/core-menu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../paper-input/paper-input.html"> | |
<link rel="import" href="../paper-button/paper-button.html"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
function b() { | |
return 8 | |
} | |
return { | |
"a": 3, | |
"b": b | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo du -cha --max-depth=1 / | grep -E "M|G" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Disable dumping complete memory to disk for sleeping, saves lots of diskspace at the cost of not having sleepmode | |
sudo pmset -a hibernatemodhisto | |
sudo rm -fr /private/var/vm/sleepimage | |
sudo touch /private/var/vm/sleepimage | |
sudo chmod 000 /private/var/vm/sleepimage | |
sudo rm -rf /System/Library/Speech//Voices/* | |
sudo rm -rf /private/var/log/* | |
sudo rm -rf /private/var/folders/ | |
rm -rf /private/var/tmp/TM* | |
sudo rm -fr /private/var/tmp/kernel_panics |