Skip to content

Instantly share code, notes, and snippets.

@iaian
iaian / scarletSalon.js
Last active August 29, 2015 14:20
Smooth anchor scroll and hide reveal for services / pricing
$(function() {
// Smooth anchor scroll
$('a[href*=#]:not([href=#])').click(function() {
if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
var target = $(this.hash);
target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
if (target.length) {
$('html,body').animate({
scrollTop: target.offset().top
}, 1000);
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
@iaian
iaian / cloudSettings
Last active June 23, 2020 20:44
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-06-23T20:44:40.755Z","extensionVersion":"v3.4.3"}