Skip to content

Instantly share code, notes, and snippets.

@markau
markau / iris4_markau_v1.2.json
Last active February 28, 2020 05:55
Iris rev4 layout
{"keyboard":"keebio/iris/rev4","keymap":"default_f0ad3fc","layout":"LAYOUT","layers":[["KC_ESC","KC_1","KC_2","KC_3","KC_4","KC_5","KC_6","KC_7","KC_8","KC_9","KC_0","KC_BSPC","KC_TAB","KC_Q","KC_W","KC_E","KC_R","KC_T","KC_Y","KC_U","KC_I","KC_O","KC_P","KC_BSLS","KC_LCTL","KC_A","KC_S","KC_D","KC_F","KC_G","KC_H","KC_J","KC_K","KC_L","KC_SCLN","KC_QUOT","KC_LSFT","KC_Z","KC_X","KC_C","KC_V","KC_B","KC_ENT","KC_SPC","KC_N","KC_M","KC_COMM","KC_DOT","KC_SLSH","KC_RSFT","KC_LGUI","MO(1)","KC_ENT","KC_SPC","MO(2)","KC_RALT"],["KC_GRV","KC_EXLM","KC_AT","KC_HASH","KC_DLR","KC_PERC","KC_CIRC","KC_AMPR","KC_ASTR","KC_LPRN","KC_MINS","KC_EQL","RESET","KC_1","KC_2","KC_3","KC_4","KC_LPRN","KC_RPRN","KC_7","KC_UP","KC_9","KC_0","KC_PGDN","KC_DEL","KC_TRNS","KC_P4","KC_P6","KC_8","KC_LBRC","KC_RBRC","KC_LEFT","KC_DOWN","KC_RGHT","KC_PLUS","KC_NO","BL_STEP","KC_TRNS","KC_TRNS","KC_TRNS","KC_P5","KC_LCBR","KC_BSPC","KC_DEL","KC_RCBR","KC_P1","KC_P2","KC_P3","KC_MINS","KC_END","ANY(LCTL(LALT(KC_DEL)))","KC_TRNS","KC_BSPC
@markau
markau / example-test.spec.ts
Created June 10, 2019 04:14 — forked from glendaviesnz/example-test.spec.ts
Helper for testing Angular Material Select Menu changes in Unit Tests
import { ComponentFixture, TestBed, async, inject, fakeAsync, flush } from '@angular/core/testing';
import {
MatCheckboxModule,
MatSelectModule
} from '@angular/material';
import { By } from '@angular/platform-browser';
import { SelectMenuTestHelper } from './select-menu-test.helper';
describe('SelectOptionComponent', () => {
@markau
markau / index.js
Created December 7, 2018 01:29 — forked from akexorcist/index.js
Axios post method requesting with x-www-form-urlencoded content type
const axios = require('axios')
...
const requestBody = {
name: 'Akexorcist',
age: '28',
position: 'Android Developer',
description: 'birthdate=25-12-1989&favourite=coding%20coding%20and%20coding&company=Nextzy%20Technologies&website=http://www.akexorcist.com/',
awesome: true
{
"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,
"editor.fontSize": 14,
"window.zoomLevel": 1,
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
"vim.handleKeys": {
"<C-a>": false,
"<C-f>": false,
"<C-c>": false,
@markau
markau / installing-node-with-nvm.md
Created December 7, 2017 11:49 — forked from d2s/installing-node-with-nvm.md
Installing Node.js for Linux & macOS with nvm
@markau
markau / Hello.vue
Created September 19, 2017 04:21 — forked from hal0gen/Hello.vue
VueJS integration with Foundation 6.4.0
<template>
<div class="grid-container">
<div class="grid-x">
<div class="callout">
<p>
The <tooltip :title="'Fancy word for a beetle.'" :fade-in-duration="800" :position="'right'">scarabaeus</tooltip> hung quite clear of any branches, and, if allowed to fall, would have fallen at our feet. Legrand immediately took the scythe, and cleared with it a circular space, three or four yards in diameter, just beneath the insect, and, having accomplished this, ordered Jupiter to let go the string and come down from the tree.
</p>
</div>
</div>
</div>
@markau
markau / package.json
Created July 12, 2017 12:13 — forked from kohki-shikata/package.json
Foundation 6 with pug(ex:jade) or EJS
{
"name": "foundation-sites-template",
"version": "1.0.0",
"description": "Basic template for a new Foundation for Sites project.",
"main": "gulpfile.js",
"devDependencies": {
"browser-sync": "^2.11.1",
"ejs": "^2.4.1",
"gulp": "^3.9.1",
"gulp-autoprefixer": "^3.1.0",
.loading{
position: absolute;
height: 100px;
width: 100px;
top: 50%;
left: 50%;
margin-left: -50px;
margin-top: -50px;
background: url(/Resources/Images/notched-circle.png);
background-size: 100%;
powershell get-filehash -algorithm sha256 <file_to_check>