Skip to content

Instantly share code, notes, and snippets.

@ughnett
ughnett / SassMeister-input.scss
Created January 31, 2016 02:54
Generated by SassMeister.com.
// ----
// libsass (v3.3.2)
// ----
@import "bourbon/bourbon";
////////////////////////////////////////////
// Variables
////////////////////////////////////////////
$main: #8e9eab;
@ughnett
ughnett / SassMeister-input.scss
Created January 31, 2016 05:08
Generated by SassMeister.com.
// ----
// libsass (v3.3.2)
// ----
@import "bourbon/bourbon";
////////////////////////////////////////////
// Variables
////////////////////////////////////////////
@ughnett
ughnett / SassMeister-input.scss
Created February 1, 2016 19:50
Generated by SassMeister.com.
// ----
// libsass (v3.3.2)
// ----
body {
background-color: #ddd;
}
.silver, .premium {
position: relative;
@ughnett
ughnett / SassMeister-input.scss
Created February 10, 2016 23:25
Generated by SassMeister.com.
// ----
// Sass (v3.4.21)
// Compass (v1.0.3)
// ----
body {
background: #e1e1e1;
}
$social:
@ughnett
ughnett / Contract Killer 3.md
Created May 27, 2016 05:33
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Original post

@ughnett
ughnett / CopyAsanaTasks.php
Created November 17, 2016 03:04 — forked from AWeg/CopyAsanaTasks.php
main changes: - Asana has own SSL cert -> had to add to lines of code - copies subtasks and up to 11 subtasks of subtasks - copies tags -> only tagnames not followers/descriptions
function asanaRequest($methodPath, $httpMethod = 'GET', $body = null)
{
$apiKey = 'ASANA_API_KEY_HERE'; /// Get it from http://app.asana.com/-/account_api
$url = "https://app.asana.com/api/1.0/$methodPath";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC ) ;
curl_setopt($ch, CURLOPT_USERPWD, $apiKey);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
@ughnett
ughnett / squarespaceBreakpoints.less
Created September 14, 2018 21:36 — forked from pixelbacon/squarespaceBreakpoints.less
Squarespace Breakpoints.
/**
Squarespace essentially doesn't really document their breakpoints.
This can be quite annoying to not have when doing custom CSS.
Most themes use essentially one breakpoint. Mobile and not mobile; anything 750 and below is considered mobile.
You can use these to write your own CSS and simply use the "Style Editor" to inject your compiled CSS in the event
you are not using "Developer Mode" in your site.
Enjoy!