This file contains hidden or 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
| - alias: Extend TV dev mode every night | |
| trigger: | |
| # Run this automation every night at 4 AM. | |
| - platform: time | |
| at: 04:00:00 | |
| condition: | |
| # Run only if TV is off. | |
| - condition: template | |
| value_template: '{{ is_state("media_player.webos_tv", "off") }}' | |
| action: |
This file contains hidden or 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
| dd if=/dev/zero of=/mnt/swap bs=1024 count=5242880; | |
| mkswap /mnt/swap; | |
| chown root:root /mnt/swap ; | |
| chmod 0600 /mnt/swap ; | |
| swapon /mnt/swap; | |
| echo "/mnt/swap swap swap defaults 0 0" >> /etc/fstab; | |
This file contains hidden or 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
| #!/bin/sh | |
| rm -rf ~/Library/Preferences/WebIde* | |
| rm -rf ~/Library/Preferences/WebStorm* | |
| rm -rf ~/Library/Caches/WebIde* | |
| rm -rf ~/Library/Caches/WebStorm* | |
| rm -rf ~/Library/Application\ Support/WebIde* | |
| rm -rf ~/Library/Application\ Support/WebStorm* | |
| rm -rf ~/Library/Logs/WebIde* | |
| rm -rf ~/Library/Logs/WebStorm* |