Skip to content

Instantly share code, notes, and snippets.

Aleem 4leem

Block or report user

Report or block 4leem

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
View issue-template
*Do you want to request a **feature** or report a **bug**?*
*What is the current behavior?*
*If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.*
*What is the expected behavior?*
*Which browser / OS are affected by this issue? What is the version?*
@4leem
4leem / update-fork.md
Created Mar 23, 2017
Keeping a fork up to date
View update-fork.md

1. Clone your fork:

git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
@4leem
4leem / count_total_project_code_lines_in_sublime
Last active Feb 16, 2017 — forked from Hexodus/count_total_project_code_lines_in_sublime
Count total code lines in project using Sublime texteditor
View count_total_project_code_lines_in_sublime
// Go to menu:
// find->find in files
// Switch on reg_ex button [.*]
// Find:
^(.*)$
// Where:
c:\your_folder\,*.php,*.phtml,*.js,*.inc,*.html, -*/folder_to_exclude/*
// Then click on the find button
// Be careful to not click on Replace!!!
You can’t perform that action at this time.