####Remove custom icon from folder your_folder:
cd your_folder; rm Icon$'\r'
After executing this command, the operating system should immediately restore the default folder icon.
####Example usage:
####Remove custom icon from folder your_folder:
cd your_folder; rm Icon$'\r'
After executing this command, the operating system should immediately restore the default folder icon.
####Example usage:
# This script prevents Spotify's Auto-updating on OS X (tested on OS X 10.10.3 with Spotify 1.0.3.101.gbfa97dfe) | |
# Based on this tutorial: | |
# http://supraliminal.net/blog/2013/4/21/how-to-revert-back-to-the-older-better-spotify-client | |
# | |
# This script must be run as root: | |
# sudo sh doNotUpdateSpotify.sh | |
# | |
FILE="/tmp/out.$$" | |
if [ "$(id -u)" != "0" ]; then |
#!/bin/bash | |
# #download dmg | |
# curl -LOC - http://foo.bar/file.ext | |
# #mount | |
# hdiutil mount ~/Chromium_OSX_42.0.2311.152.dmg | |
# #copy the app |
#!/bin/bash | |
### Disable animation of hotkey window on iTerm2: | |
defaults write com.googlecode.iterm2 HotkeyTermAnimationDuration -float 0.00001 |
# | |
# Executes commands at the start of an interactive session. | |
# | |
# Authors: | |
# Sorin Ionescu <sorin.ionescu@gmail.com> | |
# Stevie Howard <stvhwrd@outlook.com> | |
# Source Prezto. | |
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then |
# | |
# Executes commands at the start of an interactive session. | |
# | |
# Authors: | |
# Sorin Ionescu <sorin.ionescu@gmail.com> | |
# Stevie Howard <stvhwrd@outlook.com> | |
# Source Prezto. | |
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then |
####Create a shortcut so we can launch Sublime Text from the terminal:
ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl
Now you can open a file with subl myfile.py
or start a new project in the current directory with subl .
@ CSC230 -- Elevator simulation program | |
@ Template Author: Dr. Micaela Serra | |
@ Modified by: Stevie Howard | |
@===== STAGE 0 | |
@ Sets initial outputs and screen | |
@ Enters IDLE state and updates simulated time every second | |
@ Polls for left black button to exit simulation |
# This is a sweet boilerplate makefile for cmake | |
CC= gcc | |
CFLAGS= -Wall -O -g -ansi | |
SRCS= main.c queue.c | |
OBJS= main.o queue.o | |
PROGRAM= queuetest | |
MKDEP= gccmakedep | |
${PROGRAM}: ${OBJS} |
Generated: Fri, 27 May 2016 04:29:50 GMT User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.63 Safari/537.36
Extensions: 30