Skip to content

Instantly share code, notes, and snippets.

Avatar

Adam Cuppy acuppy

View GitHub Profile
View permanent_zoom_and_ringcentral_server_remover.sh
# To prevent the vulnerable server from running on your machine
# (this does not impact Zoom functionality), run these two lines in your Terminal.
pkill "ZoomOpener"; rm -rf ~/.zoomus; touch ~/.zoomus && chmod 000 ~/.zoomus;
pkill "RingCentralOpener"; rm -rf ~/.ringcentralopener; touch ~/.ringcentralopener && chmod 000 ~/.ringcentralopener;
# (You may need to run these lines for each user on your machine.)
View purge.sh
#!/bin/sh
# Credits to:
# - http://vstone.eu/reducing-vagrant-box-size/
# - https://github.com/mitchellh/vagrant/issues/343
sudo su
aptitude -y purge ri
aptitude -y purge installation-report landscape-common wireless-tools wpasupplicant ubuntu-serverguide
@acuppy
acuppy / install-ruby-redis-imagemagick-elasticsearch-ubuntu.sh
Last active Aug 29, 2015
Install Ruby, Imagemagick, Redis-server and Elasticsearch onto the development environment
View install-ruby-redis-imagemagick-elasticsearch-ubuntu.sh
#!/usr/bin/env bash
cd ~
sudo apt-get update
sudo apt-get install curl wget
# install ruby
curl -sSL https://get.rvm.io | bash -s stable --ruby="2.0.0-p353"
# install imagemagick
View es.sh
cd ~
sudo apt-get update
sudo apt-get install openjdk-7-jre-headless -y
### Check http://www.elasticsearch.org/download/ for latest version of ElasticSearch and replace wget link below
# NEW WAY / EASY WAY
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.1.1.deb
sudo dpkg -i elasticsearch-1.1.1.deb