Skip to content

Instantly share code, notes, and snippets.

View ameintjes's full-sized avatar

Ayton Meintjes ameintjes

View GitHub Profile
@ameintjes
ameintjes / change_wallpaper
Created November 17, 2019 16:51 — forked from luelista/change_wallpaper
Use the recent "Astronomy Picture of the Day" by NASA as your desktop wallpaper (Python script for Mac OS X, should be easy do adapt for Linux or Windows)
#!/usr/bin/python
# Downloads the current "Astronomy Picture of the Day" from nasa.gov and sets as wallpaper
#
# Installation steps:
# - store this file somewhere and take note of the path
# - change WALLPAPER_DIR to some folder in your home directory
# and create the folder
# - make it executable:
# chmod a+x /path/to/change_wallpaper
# - follow instructions given in the .plist file to make it run daily
@ameintjes
ameintjes / osx-for-hackers.sh
Created August 19, 2019 13:15 — forked from brandonb927/osx-for-hackers.sh
OSX for Hackers: Yosemite/El Capitan Edition. This script tries not to be *too* opinionated and any major changes to your system require a prompt. You've been warned.
#!/bin/sh
###
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer)
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos
###
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx
@ameintjes
ameintjes / snippets.sh
Last active August 11, 2019 11:27 — forked from dceoy/disable_DS_Store.sh
[OSX howtos] #osx
# disable .DS_Store
defaults write com.apple.desktopservices DSDontWriteNetworkStores True
# remove xcode bloat
# https://macperformanceguide.com/blog/2016/20161031_1600-XCode-saving-space.html
cd /Applications/Xcode.app/Contents/Developer/Platforms/
sudo rm -rf AppleTV* Watch* iPhone*