Skip to content

Instantly share code, notes, and snippets.

View thatkookooguy's full-sized avatar

Neil Kalman thatkookooguy

View GitHub Profile
// Mixin
@mixin scrolling-shadows($background-color: rgb(255, 255, 255), $shadow-intensity: 0.2, $shadow-color: rgb(0,0,0), $cover-size: 40px, $shadow-size: 14px) {
background:
// Shadow covers
linear-gradient($background-color 30%, rgba($background-color,0)),
linear-gradient(rgba($background-color,0), $background-color 70%) 0 100%,
// Shadows
radial-gradient(50% 0, farthest-side, rgba($shadow-color,$shadow-intensity), rgba($shadow-color,0)),
// Scrollbar
::-webkit-scrollbar {
width: 7px;
height: 7px;
}
::-webkit-scrollbar * {
background: transparent;
}
@thatkookooguy
thatkookooguy / nk-mixin.scss
Last active July 21, 2021 11:11
scss mixin
$tablet-width: 768px;
$desktop-width: 1024px;
@mixin nk-phone {
@media (max-width: #{$tablet-width - 1px}) {
@content;
}
}
/* makes nested animations without naming very easy.
var variables = {Set number(num) { number = num; } get number() { return rand(); } }
Vaiables.number = 5;
Cosole.log(vrlariables.number === variables.number);
@thatkookooguy
thatkookooguy / bitbucketEvents.js
Created February 7, 2017 15:07
Event objects idea for the new `achievibit` webhook `eventManager.js`
module.exports = {
name: 'bitbucket',
eventHeader: 'X-Event-Key',
events: {
'ping': function(header) {
return _.isEqual(header, 'ping');
},
'pr-opened': function(header) {
return _.isEqual(header, 'pullrequest:created');
},
var games = {};
games.anotherWorld = {
launch: "World.exe"
};
games.Wolfenstein3D = {
launch: "WOLF3D.EXE"
};
@thatkookooguy
thatkookooguy / index.html
Created November 10, 2017 00:33
kibibit logo animation
<div class="toggler" id="loader">loader animation</div>
<div class="toggler" id="kt">always k & t</div>
<div class="toggler" id="colors">toggle colors</div>
<div id="logo"><span class="letter">k</span><!--
--><div class="shape-animation shape-one to-red">
<div class="shape shape1"></div>
<div class="shape shape2"></div>
</div><!--
--><div class="shape-animation shape-zero">
<div class="shape shape1"></div>
@thatkookooguy
thatkookooguy / index.html
Created November 15, 2017 12:57
kibibit new team member
<div class="main">
<div id="logo" class="kb-logo"><span class="letter">k</span><!--
--><div class="shape-animation shape-one to-red">
<div class="shape shape1"></div>
<div class="shape shape2"></div>
</div><!--
--><div class="shape-animation shape-zero">
<div class="shape shape1"></div>
<div class="shape shape2"></div>
</div><!--
###COLORS###
BLUE='\x1B[0;34m'
NC='\x1B[0m' # No Color
brew install zsh zsh-completions md5sha1sum fortune toilet jq ghi gnu-sed
gem install wkhtmltoimage-binary
# Install oh-my-zsh and switch default shell to zsh
sudo curl -L http://install.ohmyz.sh | sudo sh
chsh -s $(which zsh)
# Install powerline fonts for theme compatability
@thatkookooguy
thatkookooguy / example.diff
Last active December 25, 2017 14:35
diff2html-cli example file that gives 0 file changes
diff --git a/lib/commandDefinitions.js b/lib/commandDefinitions.js
index f1809d7..e5b9e1d 100644
--- a/lib/commandDefinitions.js
+++ b/lib/commandDefinitions.js
@@ -4,8 +4,10 @@ var statusGitflow = require('./gitflow/status');
var commitGitflow = require('./gitflow/commit');
var finishGitflow = require('./gitflow/finish');
var featureGitflow = require('./gitflow/feature');
+var releaseGitflow = require('./gitflow/release');
var hotfixGitflow = require('./gitflow/hotfix');