Skip to content

Instantly share code, notes, and snippets.

View wmora's full-sized avatar

William Mora wmora

View GitHub Profile
@wmora
wmora / retweet.svg
Created July 4, 2014 01:34
Retweet icon SVG for Inkscape
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@wmora
wmora / twitter-bird.svg
Last active August 29, 2015 14:03 — forked from hail2u/twitter-bird.svg
Twitter bird SVG for Inkscape
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@wmora
wmora / index.html
Created July 26, 2013 02:51
A CodePen by William Mora. Where am I? - Simple ajax call to demonstrate how to get a client's location using MercadoLibre's APIs
<html>
<head>
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet'/>
</head>
<body>
<h1>Where am I?</h1>
<input type='button' id='findme' value='Find me!'/>
<br /><br />
<div id='message'></div>
</body>
@wmora
wmora / index.html
Created March 25, 2013 01:49
A CodePen by William Mora. 2D Transform Demo - A simple demo using the transform property.
<html>
<body>
<h1>Hover over the cricles and see what they do!</h1>
<div id="spinner">
<p>
I spin!
</p>
</div>
<div id="skewer">
<p>
@wmora
wmora / Simple REST client in node.js
Last active May 11, 2020 22:51
This is a basic example of a GET call to an https server using node.js + express
//It's an express app, so make sure you download the dependencies
var express = require('express')
, http = require('http')
, https = require('https')
, path = require('path');
var app = express();
app.set('port', process.env.PORT || 8888);
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var assert = require('assert')
console.log('\n===========');
console.log(' mongoose version: %s', mongoose.version);
console.log('========\n\n');
mongoose.connect('localhost', 'testing_findAndModifyAddToSet');
// THIS IS A BETA! I DON'T RECOMMEND USING IT IN PRODUCTION CODE JUST YET
/*
* Copyright 2012 Roman Nurik
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
@wmora
wmora / index.html
Created December 7, 2012 05:18
A CodePen by douglasdeodato. Single Element Pure CSS MacBook Pro - This is just an experiment! There are certainly better ways to show an image of a MacBook, but none as fun as this :)
<i class="macbook"></i>