Skip to content

Instantly share code, notes, and snippets.

View barijaona's full-sized avatar

Barijaona Ramaholimihaso barijaona

View GitHub Profile
barijaona / memo.txt
Created October 3, 2021 02:19
Creation of a macOS Sierra (macOS 10.12) guest VM through VirtualBox on a Mac host
# macOS installers can be found at
# for Sierra (macOS 10.12), after running the installer
# you get "Install macOS" in your Applications folder
# work around "not a valid volume mount point" issues
# cf.
sudo plutil -replace CFBundleShortVersionString -string "12.6.03" /Applications/Install\ macOS\
# create a DVD-Rom disk image
hdiutil create -o /tmp/Sierra.cdr -size 5200m -layout SPUD -fs HFS+J
barijaona /
Created January 23, 2021 17:24
Perform USSD requests through USB modem
#!/usr/bin/env perl
# Send USSD requests
# Authored by Barijaona Ramaholimihaso
# Loosely derived from
use strict;
use warnings;
barijaona / git-commit-template.txt
Last active January 2, 2021 10:31
Git commit template
# <subject> (Preferably 50 char or less)(Max 72 char)
# |<---- Preferably using up to 50 chars --->|< - - - - - - - - - >|
# (Optional) Explain why this change is being made
# |<---- Try To Wrap Each Line to a Maximum Of 72 Characters ----->|
# (Optional) Provide links or keys to relevant tickets, articles or other resources
# Some issue trackers recognize the words close, fix, and resolve followed immediately by the issue number
# Example: Github issue #23
barijaona / objc.cfg
Last active November 15, 2020 00:44
uncrustify config for Objective-C
# Uncrustify Configuration File for Objective-C
# Alignment
# ---------
## Alignment
# Align on tabstop
barijaona / gist:510b7ade1f2003f219a3
Created February 3, 2016 03:43
Verifying that +barijaona is my blockchain ID.
Verifying that +barijaona is my blockchain ID.
barijaona /
Created July 28, 2012 21:13 — forked from pnyheim/
Badass git pull alias (up) to show commit log that just got pulled in addition to changes

Badass git pull alternative

Add this in your path as git-up and git-reup (symbolic link) and it amps up your git pull by means of git up

  1. Adds in a list of the commits you're pulling down
  2. Auto-prunes remote branches
  3. Defaults to pull --rebase - gets rid of unnecessary merge commits. If you don't know what rebase does, this is probably safe for you. If you know what rebase does, you should know where this will not be safe for you.

Kyle Neath, Ryan Tomayko and then Zach Holman basically figured out how to do this. TheSpyder found a small error on case sensitive file systems.