Skip to content

Instantly share code, notes, and snippets.

View zarakay's full-sized avatar

Zara Kay zarakay

  • Zepben
  • Australia
View GitHub Profile
@zarakay
zarakay / pulled_pork.md
Created October 4, 2019 23:11
Pulled Pork

Ingredients:

  • 1 bottle "Sweet baby rays" bbq sauce (either of the 2 flavours they have are fine)
  • 1 largish pork shoulder
  • 1 can normal coke
  • 2 brown onion (really badly diced)
  • 2 red apple (pealed and really badly diced)
  • couple cloves garlic (finely chopped)
  • 1 small container Cajun spice
  • 2 or 3 jalapenos (seeds to your love of chillli)

Keybase proof

I hereby claim:

  • I am zarakay on github.
  • I am zarakay (https://keybase.io/zarakay) on keybase.
  • I have a public key ASAbUF_tkXbNWXJM-hkkRMoO7ob-2NEy0hJYu0ppIR2mFgo

To claim this, I am signing this object:

@zarakay
zarakay / flatten.rb
Created June 28, 2017 10:02
Interview Question
#!/usr/bin/env ruby
# the custom flatten function
#
# This function will flatten an array.
#
# param 1: the base array to add data to
# param 2: the array to be flattened
def flatten(array, items)
# iterate through each item in the array to be flattened
@zarakay
zarakay / BugsnagHelper.cs
Last active April 12, 2016 22:23
Bugsnag.NET code
using System;
using System.Diagnostics;
using System.Threading.Tasks;
using OzGuildAPI.Authentication;
using OzGuildAPI.Models.Responses;
using BsNet = Bugsnag.PCL;
namespace OzGuild.Common
{
public class BugsnagHelper
@zarakay
zarakay / upgrade_ghost.sh
Last active November 10, 2015 08:29
Script to backup and upgrade ghost blog deployed on a digitalocean droplet
GHOST_LOCATION="/var/www"
BACKUP_PATH="/home/migara/backups/"
function check {
"$@"
local status=$?
if [ $status -ne 0 ]; then
echo "error with $1" >&2
exit 1
fi
ifdef VERBOSE
Q =
E = @true
else
Q = @
E = @echo
endif
CFILES := $(shell find src -mindepth 1 -maxdepth 4 -name "*.c")
CXXFILES := $(shell find src -mindepth 1 -maxdepth 4 -name "*.cpp")