This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$client = new http\Client; | |
$request = new http\Client\Request; | |
$body = new http\Message\Body; | |
$body->append('{ | |
"message": "Hey {firstName},\\nIt was great meeting you last week at the party. We'd love to have you back at the next one!\\n\\nBest,\\n-Jackie", | |
"handwriting": <STRING - handwriting id>, | |
"card": <STRING - stationery id>, | |
"recipients": [ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component } from 'react' | |
import Head from 'next/head' | |
const CLOUD_NAME = '<name here>' | |
export default class ImageUploader extends Component { | |
constructor(props) { | |
super(props) | |
this.uploader = null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
angular.module('app').directive('googleplace', [ function() { | |
return { | |
require: 'ngModel', | |
link: function(scope, element, attrs, model) { | |
var options = { | |
types: ['(cities)'], | |
componentRestrictions: {} | |
}; | |
scope.gPlace = new google.maps.places.Autocomplete(element[0], options); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The Information Technology revolution has paved the way for emerging markets and given developing countries an avenue to compete. In this context, Globalization is moving forward full throttle, and as it turns out, Thomas Friedman was right: the Earth is flat. The many negative short-term effects on jobs for middle-class Americans have been brought to the forefront of the political conversation. Manufacturing was our middle-class's bread and butter, but those jobs are being outsourced and automated. The wealth gap is widening and frustration is palpable. But is this situation as bad as it sounds? How can we view the cup as half-full? It's quite easy with a slight paradigm shift. | |
The copious positive repercussions of the new "flat world" must take center stage. We begin by empowering those in need who have a desire to better themselves. Anyone with access to technology has the ability to become an entrepreneur, a creator, an artist. It is cheaper than ever to publish your thoughts and ideas, build your comp |