Skip to content

Instantly share code, notes, and snippets.

View organicaudio's full-sized avatar
💻
Working away on my plastic rectangle... Lappy 486

Scott Eh? organicaudio

💻
Working away on my plastic rectangle... Lappy 486
View GitHub Profile
@organicaudio
organicaudio / osx_yosemite_disable_features.sh
Last active December 31, 2015 03:57 — forked from guycalledseven/osx_yosemite_disable_features.sh
Disabling OSX Yosemite annoyances / features I have no use of
# 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
@organicaudio
organicaudio / hide_my_default_apps.sh
Last active December 31, 2015 02:20
Hide Default OSX Apps Set's All OS X Apps to Hidden Flag to allow for folder sorting
#!/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"
@organicaudio
organicaudio / do_shell_script_as_root
Created January 6, 2016 08:08
Running a Shell Script as Root
tell application "Terminal"
do shell script "~/.shellscript.sh" password "yourpassword" with administrator privileges
quit
end tell
@organicaudio
organicaudio / custom_ubuntu_bash_aliases
Created January 18, 2016 07:31
Custom Aliases for Ubuntu Server
# # 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'
@organicaudio
organicaudio / advancedsettings.xml
Last active January 19, 2016 08:11 — forked from htpcBeginner/advancedsettings.xml
AdvacedSettings.xml for Kodi with MySQL and other tweaks.
<!-- 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 -->
@organicaudio
organicaudio / osx_default_host_file
Created August 29, 2016 05:16
OSX Default Host File
##
##
# 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
@organicaudio
organicaudio / installing_netdata_ubuntu_14-04
Last active March 16, 2022 18:32
Installing Netdata on Ubuntu 14.04
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
@organicaudio
organicaudio / open-source-app-list
Created May 12, 2017 02:21
Open Sourced Apps Worth Remembering (Cross-Platform)
# # # # # # # # # # # # # # # # # # # # # # # # # # #
# iTerm2 (OSX)
# Terminal replacement
https://www.iterm2.com/downloads.html
# # # # # # # # # # # # # # # # # # # # # # # # # # #
@organicaudio
organicaudio / upgrade-all-packages
Created June 14, 2017 04:41 — forked from danielvijge/upgrade-all-packages
Upgrade all packages on OpenWRT router
#!/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 ""
@organicaudio
organicaudio / HA_restart_notify_app_telegram.yaml
Created January 16, 2021 00:52 — forked from nikosthanos/HA_restart_notify_app_telegram.yaml
Home Assistant Restart Notification app & Telegram
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