Skip to content

Instantly share code, notes, and snippets.

View pixelastic's full-sized avatar

Tim Carry pixelastic

View GitHub Profile
@pixelastic
pixelastic / rails_resources.md
Last active August 29, 2015 14:25 — forked from jookyboi/rails_resources.md
Rails-related Gems and guides to accelerate your web project.

Gems

  • Bundler - Bundler maintains a consistent environment for ruby applications. It tracks an application's code and the rubygems it needs to run, so that an application will always have the exact gems (and versions) that it needs to run.
  • rabl - General ruby templating with json, bson, xml, plist and msgpack support
  • Thin - Very fast and lightweight Ruby web server
  • Unicorn - Unicorn is an HTTP server for Rack applications designed to only serve fast clients on low-latency, high-bandwidth connections and take advantage of features in Unix/Unix-like kernels.
  • SimpleCov - SimpleCov is a code coverage analysis tool for Ruby 1.9.
  • Zeus - Zeus preloads your Rails app so that your normal development tasks such as console, server, generate, and specs/tests take less than one second.
  • [factory_girl](h
@pixelastic
pixelastic / css_resources.md
Last active August 29, 2015 14:25 — forked from jookyboi/css_resources.md
CSS libraries and guides to bring some order to the chaos.

Libraries

  • 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
  • Compass - Open source CSS Authoring Framework.
  • Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
  • Font Awesome - The iconic font designed for Bootstrap.
  • Zurb Foundation - Framework for writing responsive web sites.
  • SASS - CSS extension language which allows variables, mixins and rules nesting.
  • Skeleton - Boilerplate for responsive, mobile-friendly development.

Guides

@pixelastic
pixelastic / part1.md
Last active August 29, 2015 14:25
Incredible India - part1 - Pocket compatible

[The World is Beautiful !][1]

Incredible India ! Part 1 : La vallée du Gange.

(Rapide préambule : pour voir les photos en plus grand ou juste pour ne pas avoir a lire mon blabla et seulement regarder les images, comme les enfants de maternelle, vous pouvez cliquer sur une photo et apparaitra alors un diaporama de toutes)

__

Keybase proof

I hereby claim:

  • I am pixelastic on github.
  • I am pixelastic (https://keybase.io/pixelastic) on keybase.
  • I have a public key ASAmzFoSza4qlRZW1m6R0AibTQ5cIR8J1gQk9OCQQ4By4go

To claim this, I am signing this object:

#h0 { background: green; }
#h1 { background: green; }
#h2 { background: green; }
#h3 { background: green; }
#h4 { background: green; }
#h5 { background: green; }
#h6 { background: green; }
#h7 { background: green; }
#h8 { background: green; }
#h9 { background: green; }
# Gemfile
group :jekyll_plugins do
gem 'jekyll-algolia'
end
# _config.yml
# Note: Your API key will be read from an ENV variable
algolia:
application_id: 'your_application_id'
index_name:     'your_index_name'
@pixelastic
pixelastic / Answers
Last active January 9, 2018 07:46 — forked from aymorgan/Introduction
Guidance for implementing Algolia.generate_secured_api_key
# Answer
Thanks for the question, I'll do my best to guide you the best way I can.
I think you're very close to have a working implementation.
Algolia secured API keys are API keys with *hard* filters already embedded
inside. You generic Search API key will let you search through all the content
in your index, but when you create a secured API key, you create a specific
version of your search API key that can only search into a subset of records.
@pixelastic
pixelastic / basic-markup.html
Created January 9, 2018 10:32
A Search Engine in CSS
<input type="search" value="Tim" />
<div id="result"></div>
<input type="search" value="Tim" />
<div id="result"></div>