-
Notifications
You must be signed in to change notification settings - Fork 791
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Note: we should filter out what doesn’t need to be checked in here.
- Loading branch information
1 parent
71f12c6
commit 07caedb
Showing
158 changed files
with
38,207 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"name": "codecode", | ||
"version": "0.1.2", | ||
"author": "Stephen Sawchuk", | ||
"description": "codecode allows your readers to dock your syntax-highlighted code blocks to the bottom of the page, allowing them to refer back without losing their place in your article.", | ||
"homepage": "http://stephenplusplus.github.io/codecode", | ||
"main": [ | ||
"codecode.js", | ||
"codecode.css" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/stephenplusplus/codecode.git" | ||
}, | ||
"dependencies": { | ||
"jquery": ">= 1.8.0" | ||
}, | ||
"_release": "0.1.2", | ||
"_resolution": { | ||
"type": "version", | ||
"tag": "0.1.2", | ||
"commit": "4cd82899a3c3296ac940fc390cc7d1de91d445f6" | ||
}, | ||
"_source": "git://github.com/stephenplusplus/codecode.git", | ||
"_target": "~0.1.2", | ||
"_originalSource": "codecode" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"name": "codecode", | ||
"version": "0.1.1", | ||
"author": "Stephen Sawchuk", | ||
"description": "codecode allows your readers to dock your syntax-highlighted code blocks to the bottom of the page, allowing them to refer back without losing their place in your article.", | ||
"homepage": "http://stephenplusplus.github.io/codecode", | ||
"main": [ | ||
"codecode.js", | ||
"codecode.css" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/stephenplusplus/codecode.git" | ||
}, | ||
"dependencies": { | ||
"jquery": ">= 1.8.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# codecode. | ||
---- | ||
|
||
### What is `codecode`? | ||
If you spend any time reading a programmer's blog, there's a good chance you're going to be reading some code samples. I often have the problem of either looking ahead to the code without reading the text, or I just want to refer back to the code as I'm digesting the author's point. Our monitors are only so tall; I just want to be able to see both at the same time, without losing my place in either. | ||
|
||
That's what `codecode` helps with. It's a jQuery plug-in which will split your page in two, allowing your readers to see your code as they read your article. | ||
|
||
### Will it work with [SyntaxHighlighter](http://alexgorbatchev.com/SyntaxHighlighter/)? | ||
Omg, yes! Just include `codecode.js` on your page, and... that's it! | ||
|
||
### I use my own syntax highlighter / How do I use `codecode`? | ||
`codecode` can be dropped onto your website, anywhere code blocks are used, such as: | ||
|
||
```html | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>This is a website!</title> | ||
... | ||
``` | ||
|
||
All you need to do is: | ||
|
||
1. Have jQuery available. | ||
2. Download and include `codecode.js` or `codecode.min.js`. | ||
3. Call `$('.codeblock').codecode();` | ||
|
||
You're done! | ||
|
||
### A demo! | ||
I've set up a [demo page](http://stephenplusplus.github.com/codecode) to show how `codecode` can help. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"name": "jquery", | ||
"version": "1.10.2", | ||
"description": "jQuery component", | ||
"keywords": [ | ||
"jquery", | ||
"component" | ||
], | ||
"main": "jquery.js", | ||
"license": "MIT", | ||
"homepage": "https://github.com/jquery/jquery", | ||
"_release": "1.10.2", | ||
"_resolution": { | ||
"type": "version", | ||
"tag": "1.10.2", | ||
"commit": "16b079b164d62bd807c612806842a13bf9b04d17" | ||
}, | ||
"_source": "git://github.com/jquery/jquery.git", | ||
"_target": "~1.10.2", | ||
"_originalSource": "jquery" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# This file is for unifying the coding style for different editors and IDEs | ||
# editorconfig.org | ||
|
||
root = true | ||
|
||
|
||
[*] | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
# Tabs in JS unless otherwise specified | ||
[**.js] | ||
indent_style = tab | ||
|
||
[Makefile] | ||
indent_style = tab | ||
|
||
|
||
[speed/**.html] | ||
indent_style = tab | ||
|
||
[speed/**.css] | ||
indent_style = tab | ||
|
||
[speed/benchmarker.js] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
|
||
[test/**.xml] | ||
indent_style = tab | ||
|
||
[test/**.php] | ||
indent_style = tab | ||
|
||
[test/**.html] | ||
indent_style = tab | ||
|
||
[test/**.css] | ||
indent_style = space | ||
indent_size = 8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* eol=lf | ||
*.jar binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
src/selector-sizzle.js | ||
src/selector.js | ||
dist | ||
.project | ||
.settings | ||
*~ | ||
*.diff | ||
*.patch | ||
/*.html | ||
.DS_Store | ||
dist/.destination.json | ||
dist/.sizecache.json | ||
build/.sizecache.json | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[submodule "src/sizzle"] | ||
path = src/sizzle | ||
url = git://github.com/jquery/sizzle.git | ||
[submodule "test/qunit"] | ||
path = test/qunit | ||
url = git://github.com/jquery/qunit.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"boss": true, | ||
"curly": true, | ||
"eqeqeq": true, | ||
"eqnull": true, | ||
"expr": true, | ||
"immed": true, | ||
"noarg": true, | ||
"onevar": true, | ||
"quotmark": "double", | ||
"smarttabs": true, | ||
"trailing": true, | ||
"undef": true, | ||
"unused": true, | ||
|
||
"node": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
Adam Coulombe <me@adam.co> <adamcoulombe187@hotmail.com> | ||
Adam J. Sontag <ajpiano@ajpiano.com> | ||
Alexander Farkas <info@corrupt-system.de> | ||
Alexander Farkas <info@corrupt-system.de> <a.farkas.pm@googlemail.com> | ||
Alexis Abril <me@alexisabril.com> <alexis.abril@gmail.com> | ||
Andrew E Monat <amonat@gmail.com> | ||
Anton Matzneller <obhvsbypqghgc@gmail.com> | ||
Anton Matzneller <obhvsbypqghgc@gmail.com> <haskell_noob-github@yahoo.de> | ||
Batiste Bieler <batiste@gmail.com> <batiste.bieler@gmail.com> | ||
Benjamin Truyman <bentruyman@gmail.com> | ||
Brandon Aaron <brandon.aaron@gmail.com> | ||
Carl Danley <carldanley@gmail.com> | ||
Carl Fürstenberg <azatoth@gmail.com> | ||
Carl Fürstenberg <azatoth@gmail.com> <carl@excito.com> | ||
Charles McNulty <cmcnulty@kznf.com> | ||
Colin Snover <colin@alpha.zetafleet.com> <github.com@zetafleet.com> | ||
Corey Frang <gnarf@gnarf.net> | ||
Dan Heberden <danheberden@gmail.com> | ||
Daniel Chatfield <chatfielddaniel@gmail.com> <chatfielddaniel@googlemail.com> | ||
Daniel Gálvez <dgalvez@editablething.com> | ||
Danil Somsikov <danilasomsikov@gmail.com> | ||
Dave Methvin <dave.methvin@gmail.com> | ||
Dave Reed <dareed@microsoft.com> | ||
David Fox <dfoxinator@gmail.com> <dfox@snap-interactive.com> | ||
Devin Cooper <cooper.semantics@gmail.com> <dcooper@snap-interactive.com> | ||
Dmitry Gusev <dmitry.gusev@gmail.com> | ||
Earle Castledine <mrspeaker@gmail.com> | ||
Erick Ruiz de Chávez <erickrdch@gmail.com> | ||
Gianni Alessandro Chiappetta <gianni@runlevel6.org> | ||
Heungsub Lee <h@subl.ee> <lee@heungsub.net> | ||
Iraê Carvalho <irae@irae.pro.br> | ||
Isaac Z. Schlueter <i@izs.me> | ||
Ismail Khair <ismail.khair@gmail.com> | ||
James Burke <jrburke@gmail.com> | ||
James Padolsey <cla@padolsey.net> <jamespadolsey@gmail.com> | ||
Jason Bedard <jason+jquery@jbedard.ca> <github@jbedard.ca> | ||
Jay Merrifield <fracmak@gmail.com> | ||
Jay Merrifield <fracmak@gmail.com> <jmerrifiel@gannett.com> | ||
Jean Boussier <jean.boussier@gmail.com> | ||
Jephte Clain <Jephte.Clain@univ-reunion.fr> | ||
Jess Thrysoee <jess@thrysoee.dk> | ||
Joao Henrique de Andrade Bruni <joaohbruni@yahoo.com.br> | ||
Joe Presbrey <presbrey@gmail.com> <presbrey+jwp@gmail.com> | ||
John Resig <jeresig@gmail.com> | ||
John Resig <jeresig@gmail.com> <jeresig@Archimedes.local> | ||
Jordan Boesch <jboesch26@gmail.com> <jordan@boedesign.com> | ||
Josh Varner <josh.varner@gmail.com> <josh.varner@gmail.com> | ||
Julian Aubourg <aubourg.julian@gmail.com> | ||
Julian Aubourg <aubourg.julian@gmail.com> <j@ubourg.net> | ||
Julian Aubourg <aubourg.julian@gmail.com> <Julian@.(none)> | ||
Jörn Zaefferer <joern.zaefferer@gmail.com> | ||
Jörn Zaefferer <joern.zaefferer@gmail.com> <joern.zaefferer@googlemail.com> | ||
Jörn Zaefferer <joern.zaefferer@gmail.com> <JZA@.(none)> | ||
Karl Swedberg <kswedberg@gmail.com> <karl@englishrules.com> | ||
Kris Borchers <kris.borchers@gmail.com> | ||
Lee Carpenter <elcarpie@gmail.com> | ||
Li Xudong <istonelee@gmail.com> | ||
Louis-Rémi Babé <lrbabe@gmail.com> | ||
Louis-Rémi Babé <lrbabe@gmail.com> <louisremi@louisremi-laptop.(none)> | ||
Louis-Rémi Babé <lrbabe@gmail.com> <lrbabe@lrbabe-laptop.(none)> | ||
Louis-Rémi Babé <lrbabe@gmail.com> <lrbabe@lrbabe-laptop> | ||
Marcel Greter <marcel.greter@ocbnet.ch> <mgr@rtp.ch> | ||
Matthias Jäggli <matthias.jaeggli@gmail.com> <matthias.jaeggli@scout24.ch> | ||
Michael Murray <m@murz.net> <mmurray.wa@gmail.com> | ||
Michał Gołębiowski <m.goleb@gmail.com> | ||
Michał Gołębiowski <m.goleb@gmail.com> <michal.golebiowski@laboratorium.ee> | ||
Mike Alsup <malsup@gmail.com> | ||
Nguyen Phuc Lam <ruado1987@gmail.com> | ||
Oleg Gaidarenko <markelog@gmail.com> | ||
Rafaël Blais Masson <rafbmasson@gmail.com> | ||
Richard D. Worth <rdworth@gmail.com> | ||
Rick Waldron <waldron.rick@gmail.com> | ||
Rick Waldron <waldron.rick@gmail.com> <rick@bocoup.com> | ||
Robert Katić <robert.katic@gmail.com> | ||
Ron Otten <r.j.g.otten@gmail.com> | ||
Sai Lung Wong <sai.wong@huffingtonpost.com> | ||
Scott González <scott.gonzalez@gmail.com> <sgonzale@sgonzale-laptop.local> | ||
Scott Jehl <scott@scottjehl.com> | ||
Sebastian Burkhard <sebi.burkhard@gmail.com> | ||
Timmy Willison <timmywillisn@gmail.com> | ||
Timmy Willison <timmywillisn@gmail.com> <tim.willison@thisismedium.com> | ||
Timo Tijhof <krinklemail@gmail.com> | ||
TJ Holowaychuk <tj@vision-media.ca> | ||
Tom H Fuertes <tomfuertes@gmail.com> | ||
Tom H Fuertes <tomfuertes@gmail.com> Tom H Fuertes <TomFuertes@gmail.com> | ||
Tom Viner <github@viner.tv> | ||
Xavi Ramirez <xavi.rmz@gmail.com> | ||
Xavier Montillet <xavierm02.net@gmail.com> | ||
Yehuda Katz <wycats@gmail.com> | ||
Yehuda Katz <wycats@gmail.com> <wycats@12-189-125-93.att-inc.com> | ||
Yehuda Katz <wycats@gmail.com> <wycats@mobile005.mycingular.net> | ||
Yehuda Katz <wycats@gmail.com> <wycats@Yehuda-Katz.local> | ||
Yiming He <yiminghe@gmail.com> | ||
Terry Jones <terry@jon.es> <terry@fluidinfo.com> |
Oops, something went wrong.