Skip to content

Instantly share code, notes, and snippets.

View kjy112's full-sized avatar

K.J Ye kjy112

View GitHub Profile
@creatyvtype
creatyvtype / salesforce.js
Last active December 16, 2020 03:30 — forked from rwheaton/salesforce.js
Squarespace Forms Integration for Salesforce
// DOES NOT REQUIRE DEVELOPER MODE
// Add this to your HEADER in a <script> tag
// Home -> Settings -> Advanced -> Code Injection -> HEADER
Y.namespace('Template').Salesforce = Class.create({
/*
baseUrl
oid
*/
@paulruescher
paulruescher / Extend Recent Posts
Created June 26, 2012 19:02
Used this to change the output of WordPress' Recent Posts Widget
/**
* Extend Recent Posts Widget
*
* Adds different formatting to the default WordPress Recent Posts Widget
*/
Class My_Recent_Posts_Widget extends WP_Widget_Recent_Posts {
function widget($args, $instance) {

Sass/Less Comparison

In this document I am using Sass's SCSS syntax. You can choose to use the indented syntax in sass, if you prefer it, it has no functional differences from the SCSS syntax.

For Less, I'm using the JavaScript version because this is what they suggest on the website. The ruby version may be different.

Variables