A few cool social buttons with smooth animations. Inspired by https://dribbble.com/shots/1983177-Retina
To see how this was made, check this blog post out! http://deacy.io/blog/stylish-social-media-buttons/
A Pen by Chris Deacy on CodePen.
BLACK = {'background-color': 'black'} | |
WHITE = {'background-color': 'white'} | |
GREEN = {'background-color': 'green'} | |
_ = {} | |
colors = [BLACK, WHITE, GREEN, _] | |
pixel_size = 10 | |
grid = [[_, _, _, _, _, BLACK, BLACK, BLACK, BLACK, BLACK, BLACK, _, _, _, _, _], | |
[_, _, _, BLACK, BLACK, BLACK, WHITE, GREEN, GREEN, WHITE, BLACK, BLACK, BLACK, _, _, _], |
package oyyq.test.hash.md5; | |
import static java.lang.String.format; | |
import java.util.Arrays; | |
public class Md5Hash { | |
private static final class Md5TTableGenerator { |
-- test.lua | |
-- using the class lib and the introspective base helper method | |
class 'A' | |
function A:test() | |
print "Hi" | |
end | |
class 'B' (A) | |
function B:test() |
var lastPos = 0; | |
var scrolling = $('#scrolling-item'); | |
scrolling.on('scroll', function () { | |
var height = scrolling.height(); | |
var scrollHeight = scrolling[0].scrollHeight; | |
var scrollTop = scrolling.scrollTop()+1; | |
if (lastPos < scrollTop) { | |
if (scrollTop >= scrollHeight - height) { | |
console.log('Loading..'); | |
} |
var scrollTo = function(id, cls, offset) { | |
var ele; | |
var targetOffset = 0; | |
var targetTop = 0; | |
if(offset) { | |
targetOffset = offset; | |
} | |
if(id) { | |
ele = document.getElementById(id); |
Wake up, Neo...reloaded ('-' * 23) Message Scroller "Matrix" style.
(Idea by Jack Rugile) http://codepen.io/jackrugile/pen/xAeHr
Forked from Victor Casals's Pen Wake up, Neo...reloaded.
background: linear-gradient(270deg, #ff0404, #ff9400, #f9ff00, #00ff15, #0600ff, #af00ff); | |
background-size: 1200% 1200%; | |
-webkit-animation: AnimationName 3s ease infinite; | |
-moz-animation: AnimationName 3s ease infinite; | |
-o-animation: AnimationName 3s ease infinite; | |
animation: AnimationName 3s ease infinite; | |
@-webkit-keyframes AnimationName { | |
0%{background-position:0% 50%} | |
50%{background-position:100% 50%} | |
100%{background-position:0% 50%} |
<?php | |
add_action( 'wp_head', 'remove_feeds_from_wp_head', 1 ); | |
/** | |
* Remove feed links from wp_head | |
*/ | |
function remove_feeds_from_wp_head() { | |
// Remove feed links | |
remove_action( 'wp_head', 'feed_links', 2 ); | |
remove_action( 'wp_head', 'feed_links_extra', 3 ); |
#!/bin/sh | |
CHANGELOG_FILE=CHANGELOG.md | |
FORMAT=" * [%h](../../commit/%h) - %s" | |
if test "$CHANGELOG_FILE" != ""; then | |
rm -rf $CHANGELOG_FILE | |
touch $CHANGELOG_FILE | |
fi |