Skip to content

Instantly share code, notes, and snippets.

View Nabid's full-sized avatar

Nabid I. Nabid

View GitHub Profile
@rahit
rahit / loggify.py
Last active August 29, 2015 13:58
Script to analyze log file and monitor changes
'''
Script to analyze log file and monitor changes
@Author: K.M. Tahsin Hassan Rahit <tahsin.rahit@gmail.com> (12-21206-1)
'''
from Tkinter import *
from bsddb.dbtables import _columns_key
from difflib import Differ
from glob import glob
@robwierzbowski
robwierzbowski / gitcreate.sh
Last active July 2, 2024 15:43
A simple litte script. Create and push to a new github repo from the command line.
#!/bin/bash
# https://gist.github.com/robwierzbowski/5430952/
# Create and push to a new github repo from the command line.
# Grabs sensible defaults from the containing folder and `.gitconfig`.
# Refinements welcome.
# Gather constant vars
CURRENTDIR=${PWD##*/}
GITHUBUSER=$(git config github.user)
@addyosmani
addyosmani / objExtend.js
Created September 16, 2011 12:08
JavaScript object 'namespace' extension experiments
$(function(){
//===========================================================
// JavaScript object 'namespace' extension experiments
// by @addyosmani (comparing deep extension in vanilla JS vs.
// jQuery's $.extend)
//
//
// The goal here is to:
//
//
// Regular Expression for URL validation
//
// Author: Diego Perini
// Created: 2010/12/05
// Updated: 2018/09/12
// License: MIT
//
// Copyright (c) 2010-2018 Diego Perini (http://www.iport.it)
//