Skip to content

Instantly share code, notes, and snippets.

View himynameisdave's full-sized avatar
✌️
livin' the dream...

Dave Lunny himynameisdave

✌️
livin' the dream...
View GitHub Profile
@himynameisdave
himynameisdave / keybase.md
Created January 19, 2017 06:52
Keybase GitHub Proof

Keybase proof

I hereby claim:

  • I am himynameisdave on github.
  • I am himynameisdave (https://keybase.io/himynameisdave) on keybase.
  • I have a public key ASCl_Zfa6dYXlVzsnNxrhI8J7WxWkVPB9z8eF8tKmYQQNwo

To claim this, I am signing this object:

@himynameisdave
himynameisdave / link-underline-mixin.scss
Created January 9, 2017 05:24
A mixin for a stylish underline text effect
@himynameisdave
himynameisdave / .link-underline-mixin.less
Last active January 9, 2017 05:16
A mixin for a stylish underline text effect
@himynameisdave
himynameisdave / stylish-a-styling_05.less
Last active January 9, 2017 08:17
Stylish <a> Styling - Some extra ✨✨✨
@linkBlue: #0000ee;
a {
color: @linkBlue;
display: inline-block;
position: relative;
text-decoration: none;
&:before {
background-color: @linkBlue;
content: '';
height: 2px;
@himynameisdave
himynameisdave / stylish-a-styling_04.less
Last active January 9, 2017 08:17
Stylish <a> Styling - Adding animation effect
@linkBlue: #0000ee;
a {
color: @linkBlue;
display: inline-block;
position: relative;
text-decoration: none;
&:before {
background-color: @linkBlue;
content: '';
height: 2px;
@himynameisdave
himynameisdave / stylish-a-styling_03.less
Last active January 9, 2017 04:11
Stylish <a> Styling - Styling the :before element
@linkBlue: #0000ee;
a {
color: @linkBlue;
display: inline-block;
position: relative;
text-decoration: none;
&:before {
background-color: @linkBlue;
content: '';
height: 2px; // this can be modified based on the boldness of the font
@himynameisdave
himynameisdave / stylish-a-styling_02.less
Created January 9, 2017 04:03
Stylish <a> Styling - Styling the outer link
a {
display: inline-block;
position: relative;
text-decoration: none;
&:hover {
// more to come
}
}
@himynameisdave
himynameisdave / stylish-a-styling_01.less
Created January 9, 2017 03:15
Stylish <a> Styling - Base Styles
a {
text-decoration: underline;
&:hover {
text-decoration: none;
}
}
@himynameisdave
himynameisdave / installnode.sh
Last active November 2, 2016 23:20
Install a new version of node while re-installing all of your packages from the current version
# usage: `installnode v7.0.0`
installnode () {
current="$(node -v)"
nvm install $1 --reinstall-packages-from="${current}"
nvm use $1
nvm alias default $1
}
@himynameisdave
himynameisdave / example.js
Created July 13, 2016 20:27
using an empty argument in anon arrow functions
// traditional
someFn(() => {
// anon fn code...
});
// what some ppl do
someFn(_ => {
// anon fn code, never using the `_` argument
});