Skip to content

Instantly share code, notes, and snippets.

View hso's full-sized avatar

José Sazo hso

  • Chillán, Chile
  • 22:15 (UTC -04:00)
View GitHub Profile
@hso
hso / css_resources.md
Last active August 29, 2015 14:11 — 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

@hso
hso / python_resources.md
Last active August 29, 2015 14:11 — forked from jookyboi/python_resources.md
Python-related modules and guides.

Packages

  • lxml - Pythonic binding for the C libraries libxml2 and libxslt.
  • boto - Python interface to Amazon Web Services
  • Django - Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
  • Fabric - Library and command-line tool for streamlining the use of SSH for application deployment or systems administration task.
  • PyMongo - Tools for working with MongoDB, and is the recommended way to work with MongoDB from Python.
  • Celery - Task queue to distribute work across threads or machines.
  • pytz - pytz brings the Olson tz database into Python. This library allows accurate and cross platform timezone calculations using Python 2.4 or higher.

Guides

@hso
hso / 0_reuse_code.js
Last active August 29, 2015 14:11
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@hso
hso / flies.py
Created January 10, 2011 06:18
I dreamed this.
from thematrix.human.body.senses import haptic_hook
from thematrix.tools import Flyswatter
@haptic_hook
def fly_hook(fly):
tool = Flyswatter()
return tool.splat(fly)
@hso
hso / sstudent.lisp
Created January 10, 2011 05:57
Facebook Hacker Cup Studious Student
(defparameter *lines* (with-open-file (in "input.txt")
(loop for line = (read-line in nil nil)
while line
collect line into lines
finally (return lines))))
(defun read-words (str)
(cdr (read-from-string
(format nil "(~a)" str))))
@hso
hso / dsquares.lisp
Created January 10, 2011 05:24
Facebook Hacker Cup Double Squares
(defparameter *lines* (with-open-file (in "input.txt")
(loop for line = (read-line in nil nil)
while line
collect line into lines
finally (return lines))))
(defparameter *numbers* (mapcar #'read-from-string (cdr *lines*)))
(defun perfectp (x)
(zerop (mod (sqrt x) 1)))