View basic.html
1 2 3 4 5 6 7 8 9
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width"/>
<style>
/**********************************************
* Ink v1.0.5 - Copyright 2013 ZURB Inc *
**********************************************/
View caller.js
1 2 3
try {
parent.FF.popup.resize(document);
} catch(e) {}
View the.css
1 2 3 4 5 6 7 8
/* So first step is to hide your actual radio button because the browser won't let you hide the real thing */
input[type="radio"], input[type="checkbox"] {
display:none;
}
/* Next specify a font size, 8px is comes out about the same size as a regular radio button */
.radio-stack{
font-size: 8px;
}
View places.json
1 2 3 4 5 6 7 8 9 10
{
"html_attributions" : [],
"result" : {
"address_components" : [
{
"long_name" : "76",
"short_name" : "76",
"types" : [ "street_number" ]
},
{
View SomeCtrl.js
1 2 3 4 5 6 7 8 9 10
(function () {
'use strict';
 
angular.module('myApp')
.controller('SomeCtrl', SomeCtrl);
 
SomeCtrl.$inject = ['$scope', '$http', ' alertService'];
 
function SomeCtrl($scope, $http, alertService) {
$http.put('http://some.url/user/44', {
View recursive-promise.js
1 2 3 4 5 6 7 8 9 10
// assumed returned method of tokenService, a factory in my angular app.
 
function validate() {
var expires = new Date(sessionStore.get(XPERATION)),
now = new Date(),
deferred = $q.defer();
 
try {
if (sessionStore.get(XPERATION)) {
if (Object.prototype.toString.call(expires) === '[object Date]' && !isNaN(expires.getTime())) {
View unknownpattern.js
1 2 3 4 5 6 7 8 9 10
(function (global, factory) {
factory(global.MyFunc = {});
}(this, function (myfunc) {
// private
var privVar = 'What\'s this pattern called?';
function privFunc (some, text) {
return some + text;
}
// public
View let g:ctrlp_custom_ignore
1 2 3 4 5 6 7 8 9 10
" The custom ignore feature in ctrlp.vim is a useful feature
" when you want to ignore files and folder in your directory
" structure. However if yo set g:ctrlp_user_command then
" g:ctrlp_custom_ignore had no effect. This is all well and
" and good unless you use a vim distribution like spf13-vim
" that just so happens to set g:ctrlp_user_command. So here
" is how you get around that issue in your own .vimrc.local:
"
" unlet the original spf13-vim settings
unlet g:ctrlp_custom_ignore
View tab-mappings.vim
1 2 3 4 5 6 7 8 9 10
" <tab> mapping
imap <expr><TAB>
\ neosnippet#expandable_or_jumpable() ? "\<Plug>(neosnippet_expand_or_jump)" :
\ emmet#isExpandable() ? emmet#expandAbbrIntelligent("\<tab>") :
\ pumvisible() ? "\<C-n>" :
\ "\<TAB>"
smap <expr><TAB>
\ neosnippet#expandable_or_jumpable() ? "\<Plug>(neosnippet_expand_or_jump)" :
\ emmet#isExpandable() ? emmet#expandAbbrIntelligent("\<tab>") :
\ "\<TAB>"
Something went wrong with that request. Please try again.