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
# Tested on OSX Yosemite 10.10.4 | |
# XXX TODO | |
# should I disable com.google.Keystone.Agent ?? | |
# http://applehelpwriter.com/2014/07/13/how-to-remove-googles-secret-update-software-from-your-mac/ | |
# Stop DS_Store file creation on network connections | |
# restart Finder afterwards | |
defaults write com.apple.desktopservices DSDontWriteNetworkStores true |
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
#!/bin/bash | |
# | |
# Script hides all default OSX apps so that you can create aliases and sort your apps into folders | |
# | |
cd /Applications | |
chflags hidden "/Applications/Image Capture.app" | |
chflags hidden "/Applications/Apple Configurator.app" | |
chflags hidden "/Applications/QuickTime Player.app" | |
chflags hidden "/Applications/Automator.app" | |
chflags hidden "/Applications/Launchpad.app" |
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
tell application "Terminal" | |
do shell script "~/.shellscript.sh" password "yourpassword" with administrator privileges | |
quit | |
end tell |
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
# # ALIASES | |
# | |
status () { sudo service "$@" status; } | |
# usuage "status <servicename> | |
# | |
# Service Shortcuts | |
alias t-start='sudo service transmission-daemon start' | |
alias t-stop='sudo service transmission-daemon stop' | |
alias t-reload='sudo service transmission-daemon reload' | |
alias t-list='transmission-remote -n 'transmission:transmission' -l' |
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
<!-- General Settings --> | |
<advancedsettings> | |
<loglevel hide="true">-1</loglevel> <!-- Comment: Disables logging --> | |
<playcountminimumpercent>95</playcountminimumpercent> | |
<skiploopfilter>0</skiploopfilter> <!-- Comment: For RPi or similar use 16 or higher (low CPU usage) --> | |
<nodvdrom>true</nodvdrom> | |
<!-- Streaming Optimization --> | |
<network> | |
<buffermode>1</buffermode> <!-- Comment: Default is 1 --> |
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
## | |
## | |
# Host Database | |
# | |
# localhost is used to configure the loopback interface | |
# when the system is booting. Do not change this entry. | |
## | |
127.0.0.1 localhost | |
255.255.255.255 broadcasthost | |
::1 localhost |
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
What is Netdata? | |
Get control of your Linux servers | |
Simple. Effective. Awesome. | |
Unparalleled insights, in real-time, of everything happening on your Linux systems and applications, with stunning, | |
interactive web dashboards and powerful performance and health alarms. | |
official site > https://my-netdata.io |
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
# # # # # # # # # # # # # # # # # # # # # # # # # # # | |
# iTerm2 (OSX) | |
# Terminal replacement | |
https://www.iterm2.com/downloads.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
#!/bin/ash | |
echo "Updating package list..." | |
opkg update > /dev/null | |
if [ `opkg list-upgradable | cut -d " " -f1 | wc -l` -gt 0 ]; then | |
echo "Available updates:" | |
opkg list-upgradable | |
echo "" |
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
blueprint: | |
name: HA Restart Notify app & telegram | |
description: Notify mobile HA user & telegram that Home Assistant has successfully restarted | |
domain: automation | |
source_url: https://gist.github.com/nikosthanos/0af8b2b484694ede4250ef5817bb4da4 | |
input: | |
notification_title: | |
name: Notification title (Optional) | |
description: 'Default: "Home Assistant"' | |
default: Home Assistant |
OlderNewer