Skip to content

Instantly share code, notes, and snippets.

@Pandahisham
Pandahisham / README.md
Created April 3, 2017 15:04 — forked from addyosmani/README.md
108 byte CSS Layout Debugger

CSS Layout Debugger

A tweet-sized debugger for visualizing your CSS layouts. Outlines every DOM element on your page a random (valid) CSS hex color.

One-line version to paste in your DevTools

Use $$ if your browser aliases it:

~ 108 byte version

@Pandahisham
Pandahisham / README.md
Created December 4, 2016 21:48 — forked from nikcub/README.md
Facebook PHP Source Code from August 2007
@Pandahisham
Pandahisham / ronj-autohotkey.ahk
Created November 5, 2016 18:49 — forked from ronjouch/ronj-autohotkey.ahk
Collection of AutoHotkey scripts I use
; Variables definition
; -----------------------------------------------------------------------------
EnvGet, userProfile, USERPROFILE
Software := userProfile . "\Dropbox\software\"
; Launch or toggle program, http://lifehacker.com/5468862/create-a-shortcut-key-for-restoring-a-specific-window
; -----------------------------------------------------------------------------
ToggleWinMinimize(WindowTitle)
{
SetTitleMatchMode,2
@Pandahisham
Pandahisham / index.html
Created November 4, 2016 15:25 — forked from CodeMyUI/index.html
iOS-like Toggle
<div class="the-amazing-toggle">
<!-- The Tease -->
<h1>The amazing Toggle.</h1>
<h2>Satisfy your togglediction.</h2>
<!-- The Toggle -->
<input type="checkbox" id="toggly">
<label for="toggly"><i></i></label>
<!-- The Addiction -->
@Pandahisham
Pandahisham / index.html
Created November 4, 2016 15:25 — forked from CodeMyUI/index.html
Links / Buttons hover animations
<h1>Links hover animations</h1>
<div class="link-cont">
<div class="link-wrapper">
<a class="link hover-1" href="#">#1 - left to right</a>
</div>
<div class="link-wrapper">
<a class="link hover-2" href="#">#2 center to tips</a>
</div>
<div class="link-wrapper">
<a class="link hover-3" href="#">#3 left to right</a>
<?php namespace App\Console\Commands;
use Illuminate\Console\Command;
use Illuminate\Support\Str;
class MakeAll extends Command
{
/**
* The name and signature of the console command.
*
@Pandahisham
Pandahisham / gist:5ad0fbb2ff48adf9c60c93c4b37cd4d2
Created October 13, 2016 16:37 — forked from astashov/gist:b90c0888c25272399262
Rebound.js-like spring animation in SCSS/SASS
$solver_timestamp_sec: 0.01;
// Rebound.js-like spring animations in SCSS.
// There is a bunch of functions, which helps generating keyframes for you spring
// animations, if you (like me) really want to avoid doing that in JavaScript.
//
// It only generates values for one spring, with given friction, tension and end value
// (i.e. it doesn't support spring systems)
// Friction and tension are matched to the values used in Origami, so you can use whatever
// your designers put in a Quartz Composer file in "Bouncy Animation" blocks :)
@Pandahisham
Pandahisham / SassMeister-input-HTML.html
Created September 24, 2016 15:31 — forked from isGabe/SassMeister-input-HTML.html
Sass function to check contrast ratio & conditionally change text color
<button>Submit</button>