Skip to content

Instantly share code, notes, and snippets.

Nicky Parseghian givemelove

  • SADA Systems, Inc.
  • Los Angeles, CA
Block or report user

Report or block givemelove

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@givemelove
givemelove / bitbucketToGithub.txt
Created Jan 8, 2019
Instructions to migrate Bitbucket Repos to Github sequentially
View bitbucketToGithub.txt
# Pull up BitBucket and Github side by side
# The assumption is that you have git installed on your command line and are authenticated to both Bitbucket and Github.
# For Each bitbucket repo, do the following using the command line:
# 1 - Clones the Bitbucket repo to your working directory
# 2 - Change the working directory
# 3 - Rename the Bitbucket repo from origin to bitbucket & add the Github repo as the new Origin
# 4 - Push the repo to the Origin (Github), Remove the Bitbucket reference and leave the working directory
git clone git@bitbucket.org:<Bitbucket User>/<Repo>
View gist:115f93ba5942f4b73ce60059f072805a
gem 'json', '= 1.1.3'
require 'json'
module Watchdox
class API
BASE_URL = "https://api.watchdox.com"
API_VERSION = "1.0"
attr_accessor :ssid
View Raspberry Pi L2TP VPN Setup Scripts.md

Install raspbian, set up your users however you would like, so long as you have sudo access on the user you are running this with. You probably want to resize the image so it fills the SD card as well.

  1. Copy this entire gist to your raspberry pi
  2. Do chmod +x step1.sh step2.sh iptables.sh in the gist folder (so that
  3. Run step1.sh a) This script does a few things - it first updates your raspberry pi, then it installs a few needed utilities, then it upgrades the firmware on your raspberry pi
View osx-for-hackers.sh
#!/bin/sh
# Some things taken from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
green='\033[0;32m'
You can’t perform that action at this time.