Skip to content

Instantly share code, notes, and snippets.

View barijaona's full-sized avatar

Barijaona Ramaholimihaso barijaona

View GitHub Profile
@barijaona
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 https://support.apple.com/en-us/HT211683
# for Sierra (macOS 10.12), after running the installer
# you get "Install macOS Sierra.app" in your Applications folder
# work around "not a valid volume mount point" issues
# cf. https://forums.macrumors.com/threads/not-a-valid-volume-mount-point-cant-make-bootable-drive.1935673/page-3?post=28197924#post-28197924
sudo plutil -replace CFBundleShortVersionString -string "12.6.03" /Applications/Install\ macOS\ Sierra.app/Contents/Info.plist
# create a DVD-Rom disk image
hdiutil create -o /tmp/Sierra.cdr -size 5200m -layout SPUD -fs HFS+J
@barijaona
barijaona / USSD.pl
Created January 23, 2021 17:24
Perform USSD requests through USB modem
#!/usr/bin/env perl
#
# Send USSD requests
#
# Authored by Barijaona Ramaholimihaso
# https://gist.github.com/barijaona
# Loosely derived from https://gist.github.com/vshymanskyy/5085138
#
use strict;
use warnings;
@barijaona
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
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
barijaona / gist:510b7ade1f2003f219a3
Created February 3, 2016 03:43
Verifying that +barijaona is my blockchain ID. https://onename.com/barijaona
Verifying that +barijaona is my blockchain ID. https://onename.com/barijaona
@barijaona
barijaona / ._what.md
Created July 28, 2012 21:13 — forked from pnyheim/._what.md
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.