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
/** | |
* Hosted jQuery Bookmarklet | |
* @description A nifty tool for creating hosted javascript browser bookmarklets supporting jQuery | |
* @author Laander (http://laander.com) at Konscript (http://konscript.com) | |
* @gist https://gist.github.com/gists/750857 | |
*/ | |
/** | |
* Usage: | |
* The following snippet should be the link saved as a bookmarklet by the user. |
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
// Full reference to be found at http://help.github.com/ | |
// Or append a --help to the commands to get man page | |
// Different github rep urls for different uses | |
git@github.com:user/repo.git // Full access for reps youre a collaborator at | |
git://github.com/user/repo.git // Read-only using the git protocol | |
http://github.com/user/repo.git // Read-only over HTTP | |
// Working on an existing remote rep locally | |
git clone git@github.com:user/repo.git // Creates a new subfolder, fetches the content and checkout the default branch |
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
javascript:((function()%7B%24('%23app').css('zoom'%2C'170%25')%3B%24('%23app').css('width'%2C'100%25')%3B%24('%23chat').css('display'%2C'none')%3B%24('%23app_menu').css('display'%2C'none')%3B%24('.app-toolbar').css('display'%2C'none')%3B%24('%23main_splitter').css('margin-left'%2C'0px')%3B%7D))()%3B |
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
/** | |
* Renders the checkout process | |
*/ | |
APP.checkOutFullView = new Class({ | |
Implements: GritView, | |
template: new Mooml.Template("", function(o){ | |
div({id: 'main'}, | |
div({'class': 'layout-sidebar'}, |
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
<?php | |
/** | |
* WPSC Shopping Cart Page | |
* | |
* The checkout/shopping cart page with buy form | |
*/ | |
global $wpsc_cart, $wpdb, $wpsc_checkout, $wpsc_gateway, $wpsc_coupons; | |
$wpsc_checkout = new wpsc_checkout(); | |
$wpsc_gateway = new wpsc_gateways(); | |
$alt = 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
!function(t,e,n){"use strict";function r(t){return function(){var e,n=arguments[0],n="["+(t?t+":":"")+n+"] http://errors.angularjs.org/1.2.18/"+(t?t+"/":"")+n;for(e=1;e<arguments.length;e++)n=n+(1==e?"?":"&")+"p"+(e-1)+"="+encodeuricomponent("function"==typeof 1="==t.nodeType&&e?!0:w(t)||or(t)||0===e||"number"==typeof" ,""):"undefined"="=typeof" arguments[e]?"undefined":"string"!=typeof i(t){if(null="=t||k(t))return!1;var" e=t.length;return>0&&e-1 in t}function o(t,e,n){var r;if(t)if(S(t))for(r in t)"prototype"==r||"length"==r||"name"==r||t.hasOwnProperty&&!t.hasOwnProperty(r)||e.call(n,t[r],r);else if(t.forEach&&t.forEach!==o)t.forEach(e,n);else if(i(t))for(r=0;r<t.length;r++)e.call(n,t[r],r);else e,n=[];for(e r="s(t),i=0;i<r.length;i++)e.call(n,t[r[i]],r[i]);return" t,e="ir.length;e;){if(e--,t=ir[e].charCodeAt(0),57==t)return" ir[e]=A ,ir.join("");if(90!=t)return l(t,e){e?t.$$hashkey=e:delete e=t.$$hashKey;return o(arguments,function(e){e!="=t&&o(e,function(e,n){t[n]=e})}),l(t,e),t}function" g(t){return"und |
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
[{ | |
"title": "Kundernes favorit", | |
"items": [{ | |
"id": "33", | |
"title": "Husets Specialitet", | |
"description": "Pizza med tomat, ost, kebab, salat og creme fraiche", | |
"variants": [{ | |
"name": "Alm", | |
"price": "69,00" | |
}, { |
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
vagrant@precise64:/vagrant/emu$ make | |
cc -ggdb -Wall -O2 -march=native -fprofile-generate -c -o main.o main.c | |
main.c: In function 'main': | |
main.c:116:3: warning: pointer targets in passing argument 1 of 'lcdRender' differ in signedness [-Wpointer-sign] | |
lcd.h:24:6: note: expected 'uint8_t *' but argument is of type 'char *' | |
main.c:126:4: warning: implicit declaration of function 'tamaDumpHw' [-Wimplicit-function-declaration] | |
main.c:127:4: warning: implicit declaration of function 'benevolentAiDump' [-Wimplicit-function-declaration] | |
main.c:131:4: warning: pointer targets in passing argument 1 of 'lcdDump' differ in signedness [-Wpointer-sign] | |
lcd.h:25:6: note: expected 'uint8_t *' but argument is of type 'char *' | |
main.c: In function 'getKey': |
OlderNewer