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
/* | |
From Nipon Colors (https://nipponcolors.com) CSS: | |
https://nipponcolors.com/min/g=nipponcolors_css | |
*/ | |
const niponNames = { | |
NADESHIKO: "DC9FB4", | |
KOHBAI: "E16B8C", | |
SUOH: "8E354A", | |
TAIKOH: "F8C3CD", | |
IKKONZOME: "F4A7B9", |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title> google form backed list and map</title> | |
<meta name="description" content="a google form backed map."> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> | |
<meta name="keywords" content="map"> | |
<!-- included the leaflet CSS --> | |
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"/> |
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 | |
# Author: Boaz Sender | |
# | |
# Script for downloading all the good images in the VGG data set. | |
# | |
# VGG is available for download from www.robots.ox.ac.uk/~vgg/data/vgg_face/ | |
# | |
# usage: from the root of a vgg_face_dataset download, run: | |
# mkdir full_scrape && ./vgg_full_scrape.sh |
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
/*! | |
* backbone.cache.js v0.0.2 | |
* Copyright 2012, Boaz Sender (@boazsender) | |
* Based on backbone.collectioncache.js by Tim Branyen (@tbranyen) (https://gist.github.com/gists/3532848/edit) | |
* backbone.cacher.js may be freely distributed under the MIT license. | |
*/ | |
(function(window) { | |
// Dependencies | |
var Backbone = window.Backbone; |
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 code does not actually work, it is for demonstration purposes | |
* of a router using https://github.com/boazsender/backbone.routefilter | |
*/ | |
// Imagine this came from the server into a big app wide state object | |
// (likely a Backbone.Model if we were actually doing this for real). | |
var data = { | |
// Here are my app's pages (it's content heavy app) | |
"pages": [{ |
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
input[type=checkbox] { | |
outline: none; | |
width: 58px; | |
height: 23px; | |
font-size: 11px; | |
line-height: 2; | |
display: block; | |
font-weight: bold; | |
border-radius: 3px; | |
border: 1px solid #B9B9B9; |
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
/*global config:true, task:true*/ | |
config.init({ | |
pkg: '<json:package.json>', | |
meta: { | |
banner: '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' + | |
'<%= template.today("m/d/yyyy") %>\n' + | |
'<%= pkg.homepage ? "* " + pkg.homepage + "\n" : "" %>' + | |
'* Copyright (c) <%= template.today("yyyy") %> <%= pkg.author.name %>;' + | |
' Licensed <%= _.pluck(pkg.licenses, "type").join(", ") %> */' | |
}, |
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
Please answer the following: | |
[?] Project name (Awesome) | |
[?] Project title (Awesome) | |
[?] Description (The best jQuery plugin ever.) | |
[?] Version (0.1.0) | |
[?] Project git repository (git://github.com/boazsender/Awesome.git) | |
[?] Project homepage (https://github.com/boazsender/Awesome) | |
[?] Project issues tracker (https://github.com/boazsender/Awesome/issues) | |
[?] Licenses (MIT) | |
[?] Author name (Boaz Sender) |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Twitter Search Plugin</title> | |
<script src="http://code.jquery.com/jquery.js"></script> | |
<script src="jquery.twitter.js"></script> | |
<style type="text/css"> | |
body { padding: 10px; font-family: sans-serif; } | |
h2 { font-weight: normal; margin-top: 20px; clear: both; } | |
.twitter-posts li { margin-bottom: 10px; font-size: 12px; clear: both; list-style-type:none; } |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Twitter Search Plugin</title> | |
<script src="http://code.jquery.com/jquery.js"></script> | |
<script src="https://github.com/boazsender/jQuery-Twitter-Plugin/blob/master/dist/jquery.twitter.js"></script> | |
<style type="text/css"> | |
.twitter-posts li { margin-bottom: 10px; font-size: 12px; clear: both; list-style-type:none; } | |
.twitter-posts li img { float:left; width: 48px; margin:0px 10px 10px 0px;border:1px solid #c2c2c2; -moz-box-shadow: 0px 0px 4px #c2c2c2; -webkit-box-shadow: 0px 0px 4px #c2c2c2; box-shadow: 0px 0px 4px #c2c2c2; } | |
.twitter-posts li a { text-decoration:none; color: #009; } |
NewerOlder