Skip to content

Instantly share code, notes, and snippets.

View cairin's full-sized avatar
🤘
Hello there

Cairin Michie cairin

🤘
Hello there
View GitHub Profile
.yodlee-check-image img {
width: 100%;
}
.srt {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
@cairin
cairin / install-arch-on-dell-xps-7390-2-in-1-laptop.txt
Created March 17, 2021 09:08 — forked from giannivh/install-arch-on-dell-xps-7390-2-in-1-laptop.txt
Installing Arch Linux on a Dell XPS 7390 2-in-1 laptop
# ____________________________________________________________________________
# | |
# | .:: BOOT & PREPARE ::. |
# |____________________________________________________________________________|
# increase font size due to 4k display
setfont latarcyrheb-sun32
'use strict'
/**
* This file automagically writes the redirects into firebase.json for all the files in the api folder for the respective firebase functions.
* You won't need to change this file.
* Fursther instructions can be found here: https://codeburst.io/organizing-your-firebase-cloud-functions-67dc17b3b0da
*/
const glob = require('glob')
const camelCase = require('camelcase')
@cairin
cairin / example.js
Created November 6, 2018 10:31
Simple vue plugin ecample
// in /src/plugins/ directory
import Vue from 'vue'
const Example = {
install (Vue, options) {
Vue.prototype.$methodName = (param) => {
// Your code here.
}
Vue.prototype.$methodName1 = (param1, param2) => {
// Your code here.
@cairin
cairin / example.js
Created October 26, 2018 13:39
Vuex Store
// store/modules/example.js
const state = {
example: null
}
const mutations = {
setExample: function (state, payload) {
state.example = payload
}
}