Skip to content

Instantly share code, notes, and snippets.

Avatar

Ismail Mustafa ismailmustafa

View GitHub Profile
@ismailmustafa
ismailmustafa / FractalArt.hs
Created Jan 26, 2016
A simple refactoring of Tom Smeet's Fractal Art library used to generate images for my hakyll blog
View FractalArt.hs
{-
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
View open_to_github.sh
#!/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]}
You can’t perform that action at this time.