Skip to content

Instantly share code, notes, and snippets.

Tim fetimo

  • Salo
  • Poole
Block or report user

Report or block fetimo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View spelling-test.rb
require 'httparty'
View type-text.js
(function (id) {
'use strict';
var container = document.getElementById(id);
if (!container) {
console.warn('No keep-it-on element found on page.');
var text = container.textContent.trim();
View wikitude.plugin.js
* Created by yailanderson on 10/06/16.
// install : cordova plugin add
(function (angular) {
angular.module('ngCordova.plugins.wikitudePlugin', [])
.factory('$wikitudePlugin', ['$q', '$window', '$exceptionHandler', function ($q, $window, $exceptionHandler) {
fetimo / package.json
Created Apr 17, 2016
CSS Modules package.json
View package.json
"name": "css-modules-demo",
"version": "1.0.0",
"description": "Showing off CSS Modules.",
"main": "src/index.js",
"scripts": {
"test": "webpack",
"start": "webpack-dev-server",
"clean": "rm -rf dist",
"build": "npm run clean && webpack -p"
View recipes.js
var recipes = [{"publisher": "The Pioneer Woman", "f2f_url": "", "title": "Perfect Iced Coffee", "source_url": "", "recipe_id": "47024", "image_url": "", "social_rank": 100.0, "publisher_url": ""}, {"publisher": "Closet Cooking", "f2f_url": "", "title": "Jalapeno Popper Grilled Cheese Sandwich", "source_url": "", "recipe_id": "35382", "image_url": "", "social_rank": 100.0, "publisher_url": ""}, {"publisher": "The Pioneer Woman", "f2f_url": "", "title": "Crash Hot Potatoes", "source_url": "", "recipe_id": "47319", "image_url": "http:
fetimo / temperature.json
Created Feb 15, 2015
Temperature from 1845–2010
View temperature.json
"year": "1845",
"Winter": "-2.5",
"Summer": "-1"
"year": "1846",
"Winter": "1.7",
"Summer": "1.8"
View workshop-1
$ npm install express --save
explain what we'll create
techniques used (routing)
how to use in real world
View menu.json
"starters": [
"name": "Baked Petit Camembert",
"description": "Whole baked Camembert with Red Onion Marmalade & Garlic French Bread",
"price": 7.5
"main_courses": [
fetimo / endangered-species.json
Last active Dec 31, 2015
A JSON representation of endangered species in the UK. Includes common name, Latin name, description (usually location), IUCN conservation status code, and kingdom (although this isn't scientifically accurate).
View endangered-species.json
"records": [
"common_name": "Bottlenose dolphin",
"latin_name": "Tursiops truncatus",
"description": "warm and temperate seas worldwide",
"conservation_status": "LC",
"kingdom": "mammal"
fetimo / Class Manipulation
Last active Dec 11, 2015
A simple collection of functions to add classes, remove classes, and toggle classes on elements.
View Class Manipulation
var Class = (function() {
'use strict';
function addClass(el, className) {
* Adds a string to the class name.
* @param {Node} el Any element
* @param {String} className The new class name to add
You can’t perform that action at this time.