Skip to content

Instantly share code, notes, and snippets.

View amrnt's full-sized avatar

Amr Tamimi amrnt

View GitHub Profile
@amrnt
amrnt / client.go
Created June 26, 2014 16:53 — forked from cryptix/client.go
package main
import (
"io"
"log"
"mime/multipart"
"net/http"
"os"
"path/filepath"
"runtime"
@amrnt
amrnt / designer.html
Last active August 29, 2015 14:08
designer
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-scroll-header-panel/core-scroll-header-panel.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
* Facebook review Shit
* Mobile Flow
------
- login/signup thru facebook
- Map/List of locations around you
- Location -> Info + Offers
- If he has the QR code of the branch, and in the range of 10m of that location, checkin.
- After; If you share on facebook, points++.
- Callback the api after share succeeded.
- Claim reward: Share; points++
@amrnt
amrnt / main.go
Last active August 29, 2015 14:15
package main
import (
"github.com/robertkrimen/otto"
)
func main() {
vm := otto.New()
vm.Run(`
function fib(n) {
@amrnt
amrnt / main.go
Last active August 29, 2015 14:24 — forked from anonymous/main.go
package main
import (
"net/http"
"strconv"
"github.com/labstack/echo"
mw "github.com/labstack/echo/middleware"
"github.com/rs/cors"
"github.com/thoas/stats"
require('rubygems')
gem('twitter4r', '0.3.1')
require('twitter')
require('twitter/console')
login = 'TWITTER_USERNAME'
password = 'TWITTER_PSSWORD'
@@client = Twitter::Client.new(:login => login, :password => password)
require('rubygems')
gem('twitter4r', '0.3.1')
require('twitter')
require('twitter/console')
login = 'TWITTER_LOGIN'
password = 'TWITTER_PASWORD'
friend = 'twitbrain'
client = Twitter::Client.new(:login => login, :password => password)
<r:random>
<r:option><r:assets:image title="welcome-main-ar" /></r:option>
<r:option><r:assets:image title="welcome-main-en" /></r:option>
<r:option><r:assets:image title="welcome-main-es" /></r:option>
<r:option><r:assets:image title="welcome-main-it" /></r:option>
</r:random>
/*
* Easy Slider 1.7 - jQuery plugin
* written by Alen Grakalic
* http://cssglobe.com/post/4004/easy-slider-15-the-easiest-jquery-plugin-for-sliding
*
* Copyright (c) 2009 Alen Grakalic (http://cssglobe.com)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
* Built for jQuery library
---
- - !ruby/object:Period
attributes:
created_at: 2010-02-22 20:36:58
updated_at: 2010-02-22 20:36:58
end_at: 2010-02-01 03:00:00
start_at: 2010-02-01 01:00:00
id: "1"
show_id: "1"
attributes_cache: