The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23/12/2008
- Revised date: 15/12/2013
- Original post
/* append this to the bottom of the common.css file */ | |
/* via https://forum.vivaldi.net/topic/6289/tab-loading-indicator/24?page=2 */ | |
/* Applications/Vivaldi/Contents/Versions/1.1323.4343/vivaldi/style/common.css | |
@keyframes fade{ | |
from {opacity:1} | |
to {opacity:0.4} | |
} | |
/* Either pulse the "X"... */ | |
.button-toolbar.reload.loading svg{ | |
animation-name: fade; |
#/usr/bin/env bash | |
# MIT © Sindre Sorhus - sindresorhus.com | |
# Forked by badcrocodile to check for changed files in a specified directory | |
# git hook to run a command after `git pull` if any files in a specified directory have been changed | |
# Run `chmod +x post-merge` to make it executable then put it into `.git/hooks/`. | |
changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)" | |
check_run() { |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
<?php | |
// (string) $message - message to be passed to Slack | |
// (string) $room - room in which to write the message, too | |
// (string) $icon - You can set up custom emoji icons to use with each message | |
public static function slack($message, $room = "engineering", $icon = ":longbox:") { | |
$room = ($room) ? $room : "engineering"; | |
$data = "payload=" . json_encode(array( | |
"channel" => "#{$room}", | |
"text" => $message, |
<div> | |
<span>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</span> | |
</div> |