Skip to content

Instantly share code, notes, and snippets.

View agent-simon-s's full-sized avatar

Simon Sutherland agent-simon-s

View GitHub Profile
@agent-simon-s
agent-simon-s / JSLint.sublime-settings
Created November 28, 2023 00:10
gist-subl-preferances-JSlint
{
// an array of options to pass to jslint.
"options" : [
// tolerate bitwise operators
"--bitwise"
// tolerate standard browser predefined globals
,"--browser"
// tolerate the good parts of ES6
,"--es6"
// tolerate 'eval'
@agent-simon-s
agent-simon-s / Default (OSX).sublime-keymap
Created November 28, 2023 00:08
gist-subl-preferances-key-bindings
[
{ "keys": ["super+alt+tab"], "command": "toggle_side_bar" },
{ "keys": ["super+j"], "command": "join_lines" },
{ "keys": ["ctrl+super+m"], "command": "toggle_minimap" },
{
"keys": ["super+alt+left"],
"command": "set_layout",
"args":
{
"cols": [0.0, 0.78, 0.84, 1.0],
@agent-simon-s
agent-simon-s / .gitignore
Created September 5, 2021 00:25
boilerplate .ignore
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
## == this needs some culling & cleaning !!!
# from recent igonre
# Numerous always-ignore extensions
*.diff
*.err
*.orig
*.log
@agent-simon-s
agent-simon-s / scss-archetype-boiler.scss
Last active August 21, 2018 18:41
scss archetype boilerplate
%style-wrapper{
display: block;
position: relative;
overflow: hidden;
width: 100%;
height: auto;
margin: 0;
padding:0;
background-color: orange; //$color-bg-default
text-align: center;
@agent-simon-s
agent-simon-s / scss-archetype-nav-flex-boiler.scss
Created November 23, 2017 23:41
SCSS archetype nav flex boilerplate
%style-navbar{
margin: auto;
max-width: 880px; //$dim-content-wt
height: auto;
padding:0;
background-color: orange; //$color-bg-nav-default
}
%style-navbar-menu-l{
margin: 0;
@agent-simon-s
agent-simon-s / scss-mixins-boiler.scss
Last active November 12, 2017 07:07
SCSS: mixin boilerplate
/* =========== Mixins ============== */
/*
sjds 2017-11-10 Compiled from experiance &
Borrowing heavily from those before
*/
/*
need to add clamp
responsive ratio
@agent-simon-s
agent-simon-s / scss-mixins-template-w-usage.sublime-snippet
Created November 10, 2017 23:01
SCSS: singe mixin template w useage & output notes - sublime snippet
<snippet>
<content><![CDATA[
/* --------- ${1:this} Mixin -------------*/
/*-------------------------------------------*/
//Usage:
// ${4}
//Output:
// ${5}
@agent-simon-s
agent-simon-s / scss-comment-sub-header.sublime-snippet
Created November 10, 2017 22:34
SCSS: comment SUBheader - sublime snippet
<snippet>
<content><![CDATA[
/* -------------- ${1:New Section} ----------------*/
${2:/*-------------------------------------------*/}
]]></content>
<tabTrigger>/*-</tabTrigger>
<scope>source.css, source.scss, source.sass</scope>
</snippet>
@agent-simon-s
agent-simon-s / scss-comment-header.sublime-snippet
Created November 10, 2017 22:33
scss: comment header sublime snippet
<snippet>
<content><![CDATA[
/* ======== ${1:New Section} ============== */
]]></content>
<tabTrigger>/*=</tabTrigger>
<scope>source.css, source.scss, source.sass</scope>
</snippet>
@agent-simon-s
agent-simon-s / BtxOABTask2Do.todo
Last active August 15, 2018 02:59
Btx OAB Task 2Do
OAB Tasks
Infrastructure:
Clean out old files
New File Structute sections, pages, includes, proj
update controllers & routconfig
Basic respinsive Mark-up
Base SCSS structure
Url ManipulaTION SCRIPT
Images: