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
{ | |
"meta": { | |
"theme": "actual" | |
}, | |
"basics": { | |
"name": "Nick Bryant", | |
"label": "Fullstack AI Startup Engineer", | |
"image": "https://en.gravatar.com/userimage/9017937/b954bf7242d4fdd6e315cb70b47fee2a.png?size=200", | |
"email": "[email protected]", | |
"phone": "1-720-666-3245", |
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 prompt: | |
Below I am going to issue a command in natural language for a set of salesforce operations. | |
Your response will be a json object that can be parsed by NodeJS JSON.parse of the format: | |
{ | |
"Account": AccObject, | |
"Opportunity": OppObject, | |
"DefaultsUsed": [] |
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
- built email system | |
- character encoding errors | |
- email thread reply (Email headers invalid) |
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
/* | |
PL0 Compiler | |
By: Stephen Bryant | |
Last update: | |
October 24, 2010 | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> |
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
public function testBuildURL() | |
{ | |
$url = "http://website.com/mypage/?utm=campaign_1&foo=bar"; | |
$wrongURL = $url . "?mykey=myvalue"; | |
$parsedURL = parse_url($url); | |
// grab query string from URL | |
$queryString = $parsedURL['query']; | |
$parsedQueryString = array(); | |
// parse query string into array |
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
<?php | |
/** Get all leads with a limit of 500 results */ | |
$limit = 500; | |
$offset = 0; | |
$method = 'getLeads'; | |
$params = array('where' => array(), 'limit' => $limit, 'offset' => $offset); | |
$requestID = session_id(); |
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
<?php | |
$method = '<API method name>'; | |
$params = array('id' => <'the id of the object you want to retrieve'>); | |
$limit = <'query limit'>; | |
$offset = <'query id offset'>; | |
$requestID = <'an id for your request'>; | |
$accountID = '<your account ID>'; | |
$secretKey = '<your secret key>'; | |
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
"Request Data:" | |
{ | |
"method":"getLead", | |
"params":{ | |
"id":"<a lead id>" | |
}, | |
"id":"<your request ID>", | |
} |
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
<!DOCTYPE html> <html><head> | |
<style> .main { font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; } .signature { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; color: #5e5e5e; font-size: 10pt; } .tagline { color: #d4421a; } .recent { color: #198fd7 } .link { text-decoration: underline; } | |
</style> | |
</head> | |
<body><img src="http://www.messagegears.net/o/1/23295228/m15414-6237e9f7-b483-4abf-8eec-1f8ecd077edd/ntbafnyirf/terngwnxrf/pbz" width="1" height="1" /> | |
<div class="”editable" main="" .content”="" data-editable="”standard”"><p><span style="font-size: 12pt; font-family: arial, helvetica, sans-serif;">Hi Andrew,</span></p> | |
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 12pt;">First of all, thanks for your interest in Great Jakes. I'd love to give you a call to discuss what we can do for you. Just send me your phone number and the best time to reach you. If possible, let me know a little bit about what you're looking for so I can be prepared with all the |
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
Go through the entirety of vimtutor (http://linuxcommand.org/man_pages/vimtutor1.html) | |
Learn how to use tmux (http://robots.thoughtbot.com/a-tmux-crash-course) | |
Learn how to install LAMP on ubuntu (php version 5.3 apache 2.2) | |
Get an older version of ubuntu (12.04 or earlier) http://releases.ubuntu.com/12.04/ | |
Read http://www.phptherightway.com/ | |
Go through this linux guide: http://tldp.org/LDP/intro-linux/html/ | |
Read about supervisor (we use it to control all of our daemons) http://supervisord.org/ | |
Read about gearman (this is how we make backend queues) http://gearman.org/ |
NewerOlder