Skip to content

Instantly share code, notes, and snippets.

@jkochis
jkochis / Install-ChocoAndScoop.ps1
Created September 19, 2018 14:04 — forked from turboBasic/Install-ChocoAndScoop.ps1
Install Chocolatey and Scoop package managers for Windows + basic set of utilities and software
Function Install-Scoop {
New-ItemProperty -path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" `
-propertyType ExpandString `
-name "SCOOP_GLOBAL" `
-value "${ENV:PROGRAMDATA}\scoop"
Invoke-WebRequest 'https://get.scoop.sh' | Invoke-Expression
'scoop install Git-with-OpenSSH Sudo Which --global' | Set-Content -path temp_script.ps1
@jkochis
jkochis / cloudSettings
Created May 9, 2018 00:53
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-05-09T00:53:18.655Z","extensionVersion":"v2.9.2"}
@jkochis
jkochis / my.css
Created July 23, 2017 18:00 — forked from anonymous/my.css
CSS Gradient Animation
background: linear-gradient(270deg, #29e4b4, #e429dd);
background-size: 400% 400%;
-webkit-animation: bg-anim 30s ease infinite;
-moz-animation: bg-anim 30s ease infinite;
-o-animation: bg-anim 30s ease infinite;
animation: bg-anim 30s ease infinite;
@-webkit-keyframes bg-anim {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
@jkochis
jkochis / forloop.scss
Created March 25, 2016 00:04 — forked from taniarascia/forloop.scss
SCSS For Loop
@for $i from 1 through 8 {
$width: percentage(1 / $i)
.col-#{$i} {
width: $width;
}
}
@jkochis
jkochis / dabblet.css
Created March 24, 2016 23:58 — forked from csssecrets/dabblet.css
Horizontal stripes
/**
* Horizontal stripes
*/
background: linear-gradient(#fb3 50%, #58a 0);
background-size: 100% 30px;
@jkochis
jkochis / dabblet.css
Created March 24, 2016 23:57 — forked from csssecrets/dabblet.css
Vertical stripes
/**
* Vertical stripes
*/
background: linear-gradient(to right, #fb3 50%, #58a 0);
background-size: 30px 100%;
@jkochis
jkochis / dabblet.css
Created March 24, 2016 23:57 — forked from csssecrets/dabblet.css
Inner rounding
/**
* Inner rounding
*/
div {
outline: .6em solid #655;
box-shadow: 0 0 0 .4em #655; /* todo calculate max of this */
max-width: 10em;
border-radius: .8em;
### Keybase proof
I hereby claim:
* I am jkochis on github.
* I am jkochis (https://keybase.io/jkochis) on keybase.
* I have a public key whose fingerprint is E3A6 3B3E 7368 E4B5 BDE5 D593 F296 27EC C3C1 9C03
To claim this, I am signing this object:
@jkochis
jkochis / Percentage-based-star-ratings.markdown
Created December 2, 2014 13:55
Percentage based star ratings