Skip to content

Instantly share code, notes, and snippets.

View caengen's full-sized avatar
🦀

Christian Engen caengen

🦀
View GitHub Profile
StyledTopic
-ms-grid-column: 1
-ms-grid-column-span: 3
-ms-grid-row: 1
-ms-grid-row-span: 4
IntersectionObserver is undefined...
@caengen
caengen / gist:94ea139aa2758976e6ecbd6da78159bb
Created March 4, 2020 09:23
npm run build2019 favicons error
npm run build2019
> kunnskap-frontend@1.1.0 build2019 /Users/cengen/Work/kunnskap-frontend
> cross-env AUTOPREFIXER_GRID=autoplace npm run clean && npm run clean:cache && npm run build:dev
> kunnskap-frontend@1.1.0 clean /Users/cengen/Work/kunnskap-frontend
> rimraf build && rimraf reports
$ echo "
contrast() {
        curl 'https://webaim.org/resources/contrastchecker/?fcolor=${1}&bcolor=${2}&api'
}
" >> ~/.zshrc
$ source ~/.zshrc
$ contrast fff 000
@caengen
caengen / extensions
Created February 14, 2018 13:59
vscode settings
Atom One Dark Theme
Auto Import
Custom CSS and JS Loader
Debugger for Chrome
EditorConfig for VS Code
ESLint
file-icons
Git Blame
Move TS
One Dark Pro
@caengen
caengen / curl.sh
Created November 3, 2017 21:36
test curl
curl 'http://0dcdc0c1.ngrok.io/command' -H 'Origin: http://d2r166bnnviufa.cloudfront.net' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: en-GB,en-US;q=0.8,en;q=0.6' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36' -H 'Content-type: application/json' -H 'Accept: */*' -H 'Referer: http://d2r166bnnviufa.cloudfront.net/pages/match.html' -H 'Connection: keep-alive' --data-binary '{"matchId":"f5bf3560-75b2-487b-8893-f726f06a59db","mapWidth":20,"mapHeight":20,"wallDamage":30,"penguinDamage":50,"weaponDamage":60,"visibility":7,"weaponRange":5,"you":{"direction":"top","x":1,"y":4,"strength":300,"ammo":1000,"status":"static","weaponDamage":60,"weaponRange":5},"enemies":[{"strength":300}],"walls":[{"x":4,"y":3,"strength":200},{"x":4,"y":0,"strength":200},{"x":4,"y":5,"strength":200},{"x":4,"y":8,"strength":200},{"x":5,"y":8,"strength":200},{"x":0,"y":8,"strength":200},{"x":1,"y":8,"strength":200},{"x":2,"y":8,"strength":2
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 12,
// font family with optional fallbacks

Keybase proof

I hereby claim:

  • I am caengen on github.
  • I am cengen (https://keybase.io/cengen) on keybase.
  • I have a public key ASDCNTBT5iDuEkI1f8xrAE1zWMwmg24luL9V8e3ADfAsrAo

To claim this, I am signing this object: