Skip to content

Instantly share code, notes, and snippets.

View ahmadajmi's full-sized avatar

Ahmad Ajmi ahmadajmi

View GitHub Profile
/*
Read more here:
https://developer.mozilla.org/en/CSS/@-moz-document
For more browser-specific hacks:
http://paulirish.com/2009/browser-specific-css-hacks
*/
@-moz-document url-prefix() {
/* Put your Firefox specific code here. */
@font-face {
font-family: 'maki';
src: url('maki/fontello.eot?28745247');
src: url('maki/fontello.eot?28745247#iefix') format('embedded-opentype'),
url('maki/fontello.woff?28745247') format('woff'),
url('maki/fontello.ttf?28745247') format('truetype'),
url('maki/fontello.svg?28745247#fontello') format('svg');
font-weight: normal;
font-style: normal;
}
#lang racket
(define square
(λ (x)
(* x x)))
(define average
(λ (x y)
(/ (+ x y) 2)))
" No compatibility
set nocompatible
set encoding=utf-8
set exrc " load vimrc from current directory
execute pathogen#infect()
filetype plugin indent on
set ruler
@ahmadajmi
ahmadajmi / gist:2d2afb740534d69b84e8
Last active August 29, 2015 14:05
M101JS :: HOMEWORK 2.2 in CoffeeScript
express = require 'express'
app = express()
mongo = require 'mongodb'
mongo.connect 'mongodb://127.0.0.1/weather', (err, db) ->
cusror = db.collection('data').find().sort("State": 1, "Temperature": -1);
state = ''
operator = {'$set':{'month_high':true}}
@ahmadajmi
ahmadajmi / index.html
Created October 20, 2014 14:11
Basic example of binding data to an input in jQuery // source http://jsbin.com/wufay
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="Basic example of binding data to an input in jQuery" />
<script src="http://code.jquery.com/jquery-2.0.3.min.js"></script>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<br/><br/>
[
{ "keys": ["command+shift+f"], "command": "reindent", "args": {"single_line": false} }
]

Meeting points

Regular meetups
  • Time: Saturday 6:00PM every week (~2h)
  • Location: Innoventures office => [Map][]
  • Purpose: General discussions, and sharing new topics on the web, startups, etc.
Next workshop requirements:
  • Date: January (3rd or 4th weekend)
  • Duration: 7 hours (11pm => 6pm)

The HTML specification is maintained by the W3C.

*[HTML]: Hyper Text Markup Language *[W3C]: World Wide Web Consortium

{
"caret_extra_width": 2,
"theme": "Spacegray Eighties.sublime-theme",
"color_scheme": "Packages/Theme - Spacegray/base16-eighties.dark.tmTheme",
"ignored_packages":
[
"Vintage"
],
"spell_check": true
}