Skip to content

Instantly share code, notes, and snippets.

View damashe's full-sized avatar

Damashe Thomas damashe

  • Tuscaloosa Alabama
View GitHub Profile
@sanguis
sanguis / .profile
Created April 8, 2011 20:23
my mac bash profile file great for MAMP and git work.
complete -o default -o nospace -W "$(/usr/bin/env ruby -ne 'puts $_.split(/[,\s]+/)[1..-1].reject{|host| host.match(/\*|\?/)} if $_.match(/^\s*Host\s+/);' < $HOME/.ssh/config)" scp sftp ssh
export PATH=$PATH:/Applications/MAMP/Library/bin
export PATH=$PATH:/Applications/sshfs/bin
export PATH=$PATH:/home/josh/bin
export CLICOLOR=cons25
##
# Your previous /Users/joshbeauregard/.profile file was backed up as /Users/joshbeauregard/.profile.macports-saved_2011-01-26_at_16:11:54
##
@erikreagan
erikreagan / mac-apps.md
Created August 4, 2012 19:18
Mac developer must-haves

Mac web developer apps

This gist's comment stream is a collection of webdev apps for OS X. Feel free to add links to apps you like, just make sure you add some context to what it does — either from the creator's website or your own thoughts.

— Erik

@ttscoff
ttscoff / searchlink.rb
Last active February 26, 2024 07:05
SearchLink creates Markdown links from automatic searches based on special syntax.
@ttscoff
ttscoff / itunesicon.rb
Last active January 13, 2022 10:07
Retrieve a 512 x 512px icon for an iOS app
#!/usr/bin/ruby
# encoding: utf-8
#
# Updated 2017-10-25:
# - Defaults to large size (512)
# - If ImageMagick is installed:
# - rounds the corners (copped from @bradjasper, https://github.com/bradjasper/Download-iTunes-Icon/blob/master/itunesicon.rb)
# - replace original with rounded version, converting to png if necessary
#
# Retrieve an iOS app icon at the highest available resolution
# Load DSL and Setup Up Stages
require 'capistrano/setup'
# Includes default deployment tasks
require 'capistrano/deploy'
# Custom tasks
require 'capistrano/composer'
require 'capistrano/npm'
@ttscoff
ttscoff / Instant Search.applescript
Last active May 11, 2018 00:33
A LaunchBar action to use SearchLink as a quick access tool for the web.
(* Instant Search for LaunchBar by Brett Terpstra
Requires SearchLink installed in ~/Library/Services (http://brettterpstra.com/projects/searchlink/)
Load the service in LaunchBar and type Space. Enter text, optionally starting with a SearchLink !arg
to define the desired search engine. (You do not need the "!!" at the end to specify only url).
The link will be returned, pressing Enter will open it. ⌘C will copy.
*)
on handle_string(message)
set _chars to reverse of characters of message
@natelandau
natelandau / .bash_profile
Last active November 10, 2024 21:53
Mac OSX Bash Profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management

How to get Composer running on SiteGround shared

  1. Download getcomposer.org/composer.phar to your account's home directory — /home/username.
  2. Edit .bashrc file in same directory by adding alias composer='/usr/local/php56/bin/php-cli ~/composer.phar' line. Update php56 part to current relevant version, if necessary.
  3. Restart SSH session or run source ~/.bashrc to reload config.
  4. Use composer command!