Skip to content

Instantly share code, notes, and snippets.

View ismailmustafa's full-sized avatar

Ismail Mustafa ismailmustafa

  • Beyond Identity
  • NYC
View GitHub Profile
@ismailmustafa
ismailmustafa / FractalArt.hs
Created January 26, 2016 04:23
A simple refactoring of Tom Smeet's Fractal Art library used to generate images for my hakyll blog
{-
The MIT License (MIT)
Copyright (c) 2015 Tom Smeets
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
#!/bin/bash
#Script that opens github link to you repository from terminal
set -e
remote=$(git remote -v)
# split on colon
IFS=':' read -ra split_colon <<< "$remote"
partial=${split_colon[${#split_colon[@]} - 1]}