Personas are garbage: https://medium.com/@merci/personas-are-garbage-and-so-are-many-other-things-come-to-think-of-it-42fa3d7cb415?ref=webdesignernews.com
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
<!-- Featuring three books on a site's homepage --> | |
<!-- The Pods/WordPress way --> | |
<ul id="featured-books"> | |
<?php | |
$book = new Pod('book'); | |
$params = array( | |
'where'=>'t.show_on_homepage = 1', |
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
class Mailgun { | |
function post($headers, $url, $data){ | |
$handle = curl_init(); | |
curl_setopt($handle, CURLOPT_URL, $url); | |
curl_setopt($handle, CURLOPT_HTTPHEADER, $headers); | |
curl_setopt($handle, CURLOPT_SSL_VERIFYPEER, false); | |
curl_setopt($handle, CURLOPT_RETURNTRANSFER, true); | |
curl_setopt($handle, CURLOPT_POST, true); | |
curl_setopt($handle, CURLOPT_POSTFIELDS, $data); |
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
Build a RESTful API: https://scotch.io/tutorials/build-a-restful-api-using-node-and-express-4 | |
Promises: https://strongloop.com/strongblog/promises-in-node-js-with-q-an-alternative-to-callbacks/ |
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
Google Pixel - https://madeby.google.com/phone/ | |
Cybathlon 2016 (Zurich) - https://www.youtube.com/watch?v=Rx9I_hYqQcM | |
SlideBot - https://slidebot.io/pro/# |
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
function memorySizeOf(obj) { | |
var bytes = 0; | |
function sizeOf(obj) { | |
if(obj !== null && obj !== undefined) { | |
switch(typeof obj) { | |
case 'number': | |
bytes += 8; | |
break; | |
case 'string': |
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 most important things to start with: | |
A title and a one to two paragraph description of your book. You'll need it for almost every step of this process. You'll also need to identify how you'll publish (book, e-book, both?) and the price for each of those platforms. | |
1. Establish a Publishing Company (Optional) | |
Creating a publishing company is a simple as registering a business or local trade entity/name at your town hall office. You can also scale up to a larger business however the local trade establishes your publishing brand as "Publishing Company Books" or whatever name you'd like. | |
2. Register for your ISBN number | |
The ISBN number is a unique identifier for your book. It is widely used throughout every library and online store to catalog your book. ISBNs should be purchased through Bowker. Don't buy them anywhere else, if you do, they tend to be third parties just buying them from Bowker anyway. If you plan on publishing more than 1 book, I'd recommend buying a block of 10. | |
https://www.myidentifiers |
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 | |
//set up pods::find parameters to limit to 5 items | |
$param = array( | |
'limit' => 5, | |
); | |
//create pods object | |
$pods = pods('pod_name', $params ); | |
//check that total values (given limit) returned is greater than zero | |
if ( $pods->total() > 0 ) { |
ESPN's hidden API endpoints
Latest News: http://site.api.espn.com/apis/site/v2/sports/football/college-football/news
Latest Scores: http://site.api.espn.com/apis/site/v2/sports/football/college-football/scoreboard
OlderNewer