Skip to content

Instantly share code, notes, and snippets.

@CodeMyUI
CodeMyUI / index.html
Created September 19, 2017 02:55
Rotate / Pulse Loading Animation
<div class="e-loadholder">
<div class="m-loader">
<span class="e-text">Loading</span>
</div>
</div>
<div id="particleCanvas-Blue"></div>
<div id="particleCanvas-White"></div>
@CodeMyUI
CodeMyUI / index.html
Created March 6, 2017 12:42
Scroll down icon animation
<div class="container">
<div class="chevron"></div>
<div class="chevron"></div>
<div class="chevron"></div>
<span class="text">Scroll down</span>
</div>
@CodeMyUI
CodeMyUI / index.html
Created February 28, 2017 13:03
Sticky Slider Navigation (Responsive)
<!-- Hero -->
<section class="et-hero-tabs">
<h1>STICKY SLIDER NAV</h1>
<h3>Sliding content with sticky tab nav</h3>
<div class="et-hero-tabs-container">
<a class="et-hero-tab" href="#tab-es6">ES6</a>
<a class="et-hero-tab" href="#tab-flexbox">Flexbox</a>
<a class="et-hero-tab" href="#tab-react">React</a>
<a class="et-hero-tab" href="#tab-angular">Angular</a>
<a class="et-hero-tab" href="#tab-other">Other</a>
@CodeMyUI
CodeMyUI / demo-css-scroll-down-button.markdown
Created February 1, 2017 04:28
demo:CSS scroll down button
@PierreLebedel
PierreLebedel / DateTimeFrench.php
Created January 5, 2017 10:42
PHP DateTime in french language
<?php
class DateTimeFrench extends DateTime {
public function format($format='j M Y'){
$days_full = array(
'Monday' => 'Lundi',
'Tuesday' => 'Mardi',
'Wednesday' => 'Mercredi',
'Thursday' => 'Jeudi',
@krcummings1
krcummings1 / wunderground-lambda.js
Last active November 25, 2017 09:27
AWS Lambda function to stream Wunderground data to Initial State
'use strict';
let https = require('https'),
http = require('http');
const ISBucketKey = 'YOUR-BUCKET-KEY',
WundergroundApiKey = 'WUNDERGROUND-API-KEY',
WundergroundCity = 'Nashville',
WundergroundState = 'TN';
const ISAccessKey = 'YOUR-ACCESS-KEY';
@luruke
luruke / smashingmagazine.js
Last active June 19, 2025 11:33
Source code of the demo "Improving User Flow Through Page Transitions" on Smashing Magazine.
/*
https://www.smashingmagazine.com/2016/07/improving-user-flow-through-page-transitions/
You can copy paste this code in your console on smashingmagazine.com
in order to have cross-fade transition when change page.
*/
var cache = {};
function loadPage(url) {
if (cache[url]) {