Skip to content

Instantly share code, notes, and snippets.

View FrancesCoronel's full-sized avatar
🍓
berry busy

Frances Coronel FrancesCoronel

🍓
berry busy
View GitHub Profile
@cbojar
cbojar / yt-channel-time.rb
Created December 10, 2012 18:49
A ruby script to calculate the total amount of time of all videos on a YouTube channel.
#!/usr/bin/ruby
##
# This script will calculate the total time for all videos on a user's channel
# It pulls from the channel's RSS feeds automatically, but is not particularly
# robust as it semi-scrapes out the time from the content area.
#
# (c) CBojar 2012, This is licensed under the MIT license.
##
require 'optparse'
@AvnerCohen
AvnerCohen / npm-cheat-sheet.md
Last active August 18, 2024 08:34
Node.js - npm Cheat Sheet

Node.js - npm Cheat Sheet

(Full description and list of commands at - https://npmjs.org/doc/index.html)

List of less common (however useful) NPM commands

Prepand ./bin to your $PATH

Make sure to export your local $PATH and prepand relative ./node_modules/.bin/:

@erikreagan
erikreagan / mac-apps.md
Created August 4, 2012 19:18
Mac developer must-haves

Mac web developer apps

This gist's comment stream is a collection of webdev apps for OS X. Feel free to add links to apps you like, just make sure you add some context to what it does — either from the creator's website or your own thoughts.

— Erik

@coneybeare
coneybeare / giantuser.html
Last active October 7, 2015 14:27
Sample Signature
<style type="text/css">
a.link{margin:0;padding:0;border:none;text-decoration:none;}
</style>
<br />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="format-detection" content="telephone=no">
<table width='320' id="sig" cellspacing='0' cellpadding='0' border-spacing='0' style="width:320px;margin:0;padding:0;">
<tr>
@paulmillr
paulmillr / active.md
Last active April 19, 2025 17:31
Most active GitHub users (by contributions). https://paulmillr.com

Most active GitHub users (git.io/top)

The list would not be updated for now. Don't write comments.

The count of contributions (summary of Pull Requests, opened issues and commits) to public repos at GitHub.com from Wed, 21 Sep 2022 till Thu, 21 Sep 2023.

Because of GitHub search limitations, only 1000 first users according to amount of followers are included. If you are not in the list you don't have enough followers. See raw data and source code. Algorithm in pseudocode:

githubUsers
@CristinaSolana
CristinaSolana / gist:1885435
Created February 22, 2012 14:56
Keeping a fork up to date

1. Clone your fork:

git clone [email protected]: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
@ScottPhillips
ScottPhillips / .htaccess
Created February 2, 2012 04:30
Common .htaccess Redirects
#301 Redirects for .htaccess
#Redirect a single page:
Redirect 301 /pagename.php http://www.domain.com/pagename.html
#Redirect an entire site:
Redirect 301 / http://www.domain.com/
#Redirect an entire site to a sub folder
Redirect 301 / http://www.domain.com/subfolder/