View color-harmony.scss
//Pick a color
$first-color: hsl(10, 100%, 50%);
// Find the complement
$second-color: complement($first-color);
//Check if you have a cool color on your hands. Cool colors will overpower warm colors when mixing.
View Gruntfile.js
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
sass: {
dist: {
options: {
style: 'compressed',
sourceMap: false
},
View twitter-unfollow-all.js
// 1. Load https://twitter.com/following entirely
// 2. Run this in console.
[].slice.call(document.querySelectorAll('.unfollow-text')).forEach(function(button) {
button.click();
});
View responsive-layouts.scss
/*=============================================================
= Responsive Margin & Padding Shortcuts =
=============================================================*/
$margin-xxs: 2px;
$margin-xs: 5px;
$margin-sm: 10px;
$margin-md: 15px;
$margin-lg: 30px;
$margin-xl: 50px;
View fbDeleteActivityNoModal.iim
VERSION BUILD=8961227 RECORDER=FX
TAB T=1
SET !ERRORIGNORE YES
SET !TIMEOUT_STEP 0
SET !LOOP 0
TAG POS=1 TYPE=A ATTR=TXT:Close
WAIT SECONDS = 1
TAG POS=1 TYPE=SPAN ATTR=CLASS:_55pe&&TXT:
View fbUnlikeActivity.iim
VERSION BUILD=8961227 RECORDER=FX
TAB T=1
SET !ERRORIGNORE YES
SET !TIMEOUT_STEP 0
SET !LOOP 0
TAG POS=1 TYPE=A ATTR=TXT:Close
WAIT SECONDS = 2
TAG POS=1 TYPE=SPAN ATTR=CLASS:_55pe&&TXT:
View fbDeleteActivity.iim
VERSION BUILD=8961227 RECORDER=FX
TAB T=1
SET !ERRORIGNORE YES
SET !TIMEOUT_STEP 0
SET !LOOP 0
TAG POS=1 TYPE=A ATTR=TXT:Close
WAIT SECONDS = 1
TAG POS=1 TYPE=SPAN ATTR=CLASS:_55pe&&TXT:
View executeOnDiv.js
var eventFired = false,
objectPositionTop = $('#element').offset().top;
$(window).on('scroll', function() {
var currentPosition = $(document).scrollTop();
if (currentPosition > objectPositionTop && eventFired === false) {
eventFired = true;
alert('');
View imgControl.js
// more information about this at https://github.com/danielhaim1/ImgControl.js
$(window).on('load', function() {
// function to get naturalWidth, naturalHeight
(function($) {
function img(url) {
var i = new Image;
i.src = url;
return i;
View ellipsis-title.php
/**==========================================================================
Ellipsis Title
Description: If title longer than 70 characters, truncate and show ellipsis.
Instructions: copypaste to functions.php
Usage: echo short_title();
==========================================================================**/
function short_title() {