Skip to content

Instantly share code, notes, and snippets.

View barbarj's full-sized avatar

RJ Barman barbarj

View GitHub Profile
@barbarj
barbarj / ionic_build.sh
Last active February 5, 2019 22:57
Ionic build tool
#!/usr/bin/env bash
# This will only work from the root directory of your ionic project
args=("$@")
argCount="$#"
usage() {
echo "usage: ibuild PLATFORM VERSION/--beta"
echo "allowed platforms:"
@barbarj
barbarj / emacs_header_directions.md
Last active November 3, 2023 08:11
How to put 42 header in emacs
  1. Clone the repo from https://github.com/sullivanv/emacs
  2. Move all of the files from inside of that directory into ~/.emacs.d, including the hidden file .emacs
  3. If you don't have a ~/.emacs.d directory, create one.
  4. Navigate to ~/.emacs.d and rename .emacs to init.el
  5. Open emacs and C-c C-h
  6. You've got it!

How to fix the email in your header

  1. In your home directory, find, or create if needed, a file called .zshrc
  • If your not at 42, you'll likely not be using zshell, so the file should instead be .bashrc

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23/12/2008
  • Revised date: 15/12/2013
  • Original post

@barbarj
barbarj / aligned-subtitle.html
Created June 17, 2014 18:40
Centered title with a subtitle that is aligned to the left of the title.
<section class="cs-section cs-section-full-text">
<div class="title-wrapper">
<h2 class="full-text-title">The Art of the Cupcake</h2>
<h5 class="full-text-subtitle">deliciously smooth</h5>
</div>
</section>
@barbarj
barbarj / 0_reuse_code.js
Created June 17, 2014 18:37
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@barbarj
barbarj / Bounce-Menu.markdown
Created September 25, 2013 23:18
A Pen by Matt Hoiland.