Skip to content

Instantly share code, notes, and snippets.

Serial Keys:
YV54A-2ZW5P-M887Y-UWXNE-QPUXD
VY3R2-0NW0L-H845Q-TDMXT-XQAT0
VC7JR-A0Z97-08EGZ-M4YNV-XVHD0
FC1TU-4RGEQ-084EP-2XQQX-ZGHWA
CU1WA-8HGEN-M815Z-HQP5E-QKADF
AY7D0-FTG44-H846Y-2XPGV-P32T8
Serial Keys:
FU512-2DG1H-M85QZ-U7Z5T-PY8ZD
CU3MA-2LG1N-48EGQ-9GNGZ-QG0UD
GV7N2-DQZ00-4897Y-27ZNX-NV0TD
YZ718-4REEQ-08DHQ-JNYQC-ZQRD0
GZ3N0-6CX0L-H80UP-FPM59-NKAD4
YY31H-6EYEJ-480VZ-VXXZC-QF2E0
ZG51K-25FE1-H81ZP-95XGT-WV2C0
VG30H-2AX11-H88FQ-CQXGZ-M6AY4
@baddot
baddot / beginners-face-api-js.markdown
Created October 1, 2019 19:19
beginners-face-api-js
@baddot
baddot / collapsible-hierarchy-tree-d3js.markdown
Created October 1, 2019 19:17
Collapsible hierarchy tree d3js
@baddot
baddot / d3-hierarchy-layouts.markdown
Created October 1, 2019 19:16
D3 Hierarchy Layouts
@baddot
baddot / index.html
Created October 1, 2019 19:16
Tree Layout - D3js V5
<meta charset="UTF-8">
<style>
.node circle {
fill: #fff;
stroke: steelblue;
stroke-width: 3px;
}
@baddot
baddot / d3-js-tree-layout-chart.markdown
Created October 1, 2019 19:15
D3.js Tree Layout chart

D3.js Tree Layout chart

A basic tree layout with nodes that are aware of the sizes of other nodes. Also supports zoom functionality. I originally created this to answer my own Stackoverflow question on jsFiddle and am simply moving it over to Codepen.

A Pen by Augustus Yuan on CodePen.

License.

@baddot
baddot / html-php-date-picker.php
Created February 19, 2018 20:23 — forked from furkanmustafa/html-php-date-picker.php
Date Picker Select Generator for HTML & PHP
<select name="year">
<option value="">Year</option>
<?php for ($year = date('Y'); $year > date('Y')-100; $year--) { ?>
<option value="<?php echo $year; ?>"><?php echo $year; ?></option>
<?php } ?>
</select>
<select name="month">
<option value="">Month</option>
<?php for ($month = 1; $month <= 12; $month++) { ?>
<option value="<?php echo strlen($month)==1 ? '0'.$month : $month; ?>"><?php echo strlen($month)==1 ? '0'.$month : $month; ?></option>
@baddot
baddot / Date-Select-Markup.html
Created February 2, 2018 12:52 — forked from aleksblago/Date-Select-Markup.html
Markup: Select options for Month, Day, and Year.
<span>
<select name="month">
<option value="January">January</option>
<option value="February">February</option>
<option value="March">March</option>
<option value="April">April</option>
<option value="May">May</option>
<option value="June">June</option>
<option value="July">July</option>
<option value="August">August</option>
@baddot
baddot / facebook_leads.md
Created January 17, 2018 17:17 — forked from tixastronauta/facebook_leads.md
Receiving Facebook Leads on a Webhook

Receiving Facebook Leads on a Webhook

1 - Create an App

Head over to developer.facebook.com and create an App

2 - Setup the webhook

On your server, create a facebook webhook that will handle facebook calls. Then create a "leadgen" webhook on you App: https://developers.facebook.com/docs/graph-api/webhooks/v2.5