- jQuery - The de-facto library for the modern age. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
- Backbone - Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.
- AngularJS - Conventions based MVC framework for HTML5 apps.
- Underscore - Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects.
- lawnchair - Key/value store adapter for indexdb, localStorage
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
## File rename | |
$if2(%albumartist%,%artist%)/%album% $if(%date%,[$left(%date%,4)] )/%title% | |
## Scripting | |
$if(%originaldate%,$set(date,%originaldate%)) | |
$set(title,$replace(%title%,...,…)) | |
$set(album,$replace(%album%,...,…)) | |
$set(artist,$replace(%artist%,...,…)) | |
$set(albumartist,$replace(%albumartist%,...,…)) |
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
zend_extension = /usr/lib/php5/20100525/xdebug.so | |
xdebug.idekey = PHPSTORM | |
xdebug.profiler_enable = 0 | |
xdebug.profiler_enable_trigger = 1 | |
xdebug.remote_connect_back = 1 | |
xdebug.remote_enable = 1 | |
xdebug.remote_port = 9001 | |
xdebug.remote_handler = dbgp | |
xdebug.remote_mode = req | |
xdebug.remote_autostart= 1 |
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
#!/bin/bash | |
git fetch | |
composer update | |
git add composer.* | |
git commit -m 'auto update script' | |
git push -u origin master |
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
# Composer | |
vendor | |
vendor/* | |
composer.phar | |
# IntelliJ - PhpStorm and PyCharm | |
.idea | |
.idea/ | |
.idea/* | |
*.iml |
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
# This is an example resource file for seeder1rent. Copy to | |
# ~/.seeder1rent.rc and enable/modify the options as needed. Remember to | |
# uncomment the options you wish to enable. | |
# | |
# Based on original .seeder1rent.rc file from http://libtorrent.rakshasa.no/ | |
# Modified by Lemonberry for rtGui http://rtgui.googlecode.com/ | |
# | |
# This assumes the following directory structure: | |
# | |
# /Torrents/Downloading - temporaray location for torrents while downloading (se e "directory") |
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
/* | |
* Create a new ID for each element on the page such as news, popular, data etc | |
*/ | |
#headline { | |
width: 65%; | |
float: left; | |
} | |
#pop { | |
width: 33%; |
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
{ | |
"movies":[ | |
{ | |
"rating":{ | |
"imdb":[ | |
7.3, | |
451192 | |
] | |
}, | |
"tmdb_id":557, |
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
jQuery.noConflict(); | |
(function($) { | |
$(document).ready(function() { | |
/* removes text from search form on focus and replaces it on unfocus - if text is entered then it does not get replaced with default on unfocus */ | |
$('#SearchForm_SearchForm_action_results').val('L'); | |
var searchField = $('#SearchForm_SearchForm_Search'); | |
var default_value = searchField.val(); | |
searchField.focus(function() { | |
$(this).addClass('active'); |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
OlderNewer