This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~/; | |
pacman -S --needed git base-devel | |
git clone https://aur.archlinux.org/yay.git .yay; | |
cd .yay; | |
makepkg -si; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function sleep (time) { | |
return new Promise((resolve) => setTimeout(resolve, time)); | |
} | |
async function enterTime() { | |
// sleep time expects milliseconds | |
let startWork = "0900" | |
let lunchStart = "1200" | |
let lunchFinish = "1300" | |
let finishWork = "1800" | |
// Usage! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stagfoo/theme-happyaku | |
joehillen/to-fish |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""""""""""""""""""""""""""""""""""""" | |
" Allan MacGregor Vimrc configuration | |
""""""""""""""""""""""""""""""""""""" | |
"Mouse controller | |
:set mouse=a | |
set nocompatible | |
syntax on | |
set nowrap | |
set encoding=utf8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
sxhkd & polybar bar & | |
bspc monitor -d I II III IV V | |
bspc config border_width 5 | |
bspc config window_gap 12 | |
bspc config top_padding 60 | |
bspc config bottom_padding 48 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function form_endpoint($data) { | |
$args = array( | |
'ID' => $data['ID'], | |
'post_type' => array('wpcf7_contact_form') | |
); | |
// The Query |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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: { | |
// Choose either "stable" for receiving highly polished, | |
// or "canary" for less polished but more frequent updates | |
updateChannel: 'stable', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const yo = require('yo-yo'); | |
import Title from '../Title/Title'; | |
import Soshi from '../core' | |
class Card extends Soshi { | |
el: HTMLElement; | |
props: { | |
title: string, | |
image: string, | |
text: string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"No compatibility to traditional vi | |
set nocompatible | |
"vim-plug | |
call plug#begin('~/.config/nvim/plugged') | |
"Plugin list ------------------------------------------------------------------ | |
Plug 'achimnol/python-syntax' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/alexander.king/.oh-my-zsh | |
# Set name of the theme to load. Optionally, if you set this to "random" | |
# it'll load a random theme each time that oh-my-zsh is loaded. | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
ZSH_THEME="metoer" |
NewerOlder