Skip to content

Instantly share code, notes, and snippets.

Nafeu Nasir nafeu

Block or report user

Report or block nafeu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
nafeu /
Created Jan 29, 2019
Python3 Terminal Script Template
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Template for python3 terminal scripts.
This gist allows you to quickly create a functioning
python3 terminal script using argparse and subprocess.
import argparse
nafeu / example.memd
Last active Jun 15, 2018
Example minimal-elearning presentation
View example.memd
title: "Using Minimal eLearning with Github Gists"
author: "Nafeu Nasir"
description: "A tutorial on how to create minimal-elearning presentations with Github Gists"
date: 2018-6-10
# Getting Started
First create a brand [new Github Gist](, fill in the description however you'd like, and for the filename, make sure you end with the extension `.memd`. For the document itself, start off by filling it with front-matter like so:
nafeu / .zshrc-powerlevel9k-theme
Created Jul 2, 2017
Nafeu's iTerm-Zsh Theme Config
View .zshrc-powerlevel9k-theme
# Insert into your .zshrc file
# ...
# ...
nafeu / server.js
Last active Oct 9, 2018
Simple Express.js static file/folder configuration with Express API
View server.js
var express = require('express')
, app = express()
, http = require('http')
, server = require('http').Server(app)
, bodyParser = require('body-parser')
, io = require('')(server);
// ---------------------------------------------------------------------------
// Configuration
// ---------------------------------------------------------------------------
You can’t perform that action at this time.