Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View steveyken's full-sized avatar

Steve Kenworthy steveyken

  • Crossroads Foundation Ltd
View GitHub Profile
@steveyken
steveyken / javascript_resources.md
Created March 19, 2014 14:03 — forked from jookyboi/javascript_resources.md
Here are a set of libraries, plugins and guides which may be useful to your Javascript coding.

Libraries

  • 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
{
items: [
{
id: 1,
donor_description: "Fugit modi et cum expedita delectus.",
donor_condition: "Used",
state: "draft",
offer_id: 1,
packages: [
{
messages: [
{
id: 2,
body: "Et excepturi doloremque fugit ipsa repellat. Esse cupiditate magni laudantium ratione ea cum. Blanditiis maiores facilis cupiditate eum nostrum impedit aliquam corporis.",
recipient_type: "Offer",
recipient_id: 1,
sender_id: 1,
private: false,
created_at: "2014-06-28T08:55:17.615Z",
updated_at: "2014-06-28T08:55:17.655Z"
/* Put your CSS here */
html, body {
margin: 20px;
}
@steveyken
steveyken / bash_aliases.sh
Created August 13, 2015 02:10
Bash project install functions
npm_install() {
if [ -e package.json ]; then npm install; fi
}
bower_install() {
if [ -e bower.json ]; then bower install; fi
}
bundle_install() {
if [ -e Gemfile ]; then bundle install; fi
}
@steveyken
steveyken / fa3to4.sed
Last active August 29, 2015 14:27
Convert FontAwesome 3 to 4
s,icon-fixed-width,fa-fw,g
s,icon-facebook-sign,fa-facebook-square,g
s,icon-large,fa-lg,g
s,icons-ul,fa-ul,g
s,icon-li,fa-li,g
s,icon-spin,fa-spin,g
s,icon-ban-circle,fa-ban,g
s,icon-bar-chart,fa-bar-chart-o,g
s,icon-beaker,fa-flask,g
s,icon-bell,fa-bell-o,g
@steveyken
steveyken / coding-challenge.md
Created August 12, 2020 02:47
GoodCity Coding Challenge

GoodCity Coding Challenge

Mini-project: A photo viewer app

Given the following api: https://jsonplaceholder.typicode.com, write a React application allowing us to view users and their photo albums.

The app should allow us to :

  • List the users
  • Select a user, of which we can