Skip to content

Instantly share code, notes, and snippets.

@politologu
politologu / javascript-from-fundamentals-to-functional-js-v2_frontend_masters.markdown
Last active April 26, 2024 10:43
JavaScript: From Fundamentals to Functional JS, v2_frontend_Masters
@nicleary
nicleary / index.html
Created July 6, 2017 21:05
Random Quote Machine By Nick Cleary
<script src="https://use.fontawesome.com/f9b33de092.js"></script>
<head>
</head>
<body class="cool-background">
<div class="row">
<div class="col-md-6 col-md-offset-3">
<h1><center>Random Quote Machine</center></h1>
<div class="well">
<p align="center" class="quote large">OMG ITS A COOL QUOTE</p>
@wpmudev-sls
wpmudev-sls / wpmudev-forminator-limit-form-submissions.php
Last active April 26, 2024 10:42
[Forminator Pro] - Limit form submissions
<?php
/**
* Plugin Name: [Forminator Pro] - Limit form submissions
* Plugin URI: https://premium.wpmudev.org/
* Description: Limit form submission based on the total amount of entries already submitted (as of 1.11.1)
* Author: Alessandro Kaounas @ WPMUDEV
* Author URI: https://premium.wpmudev.org/
* License: GPLv2 or later
*/
@sotojohnson
sotojohnson / drag-and-drop-quiz.markdown
Created October 23, 2021 01:35
Drag and Drop Quiz

Drag and Drop Quiz

A simple drag and drop quiz concept. You can assign options and their drop targets and track completion.

A Pen by sotojohnson on CodePen.

License.

import json
print('Loading function')
def lambda_handler(event, context):
#1. Parse out query string params
transactionId = event['queryStringParameters']['transactionId']
transactionType = event['queryStringParameters']['type']
transactionAmount = event['queryStringParameters']['amount']
@kenany
kenany / index.html
Last active April 26, 2024 10:42
hierarchical edge bundling: browserify
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<style>
.node {
font: 300 11px "Helvetica Neue", Helvetica, Arial, sans-serif;
fill: #bbb;
}
/*!
* Chart.js
* http://chartjs.org/
* Version: 1.0.1
*
* Copyright 2015 Nick Downie
* Released under the MIT license
* https://github.com/nnnick/Chart.js/blob/master/LICENSE.md
*/
/*!
* Chart.js
* http://chartjs.org/
* Version: 1.0.2
*
* Copyright 2015 Nick Downie
* Released under the MIT license
* https://github.com/nnnick/Chart.js/blob/master/LICENSE.md
*/