Skip to content

Instantly share code, notes, and snippets.

View dextermb's full-sized avatar
๐Ÿ’ญ
Thinking of the next big thing

Dexter Marks-Barber dextermb

๐Ÿ’ญ
Thinking of the next big thing
View GitHub Profile
@dextermb
dextermb / kitty.conf
Last active November 19, 2023 17:42
~/.config/kitty/kitty.conf
map ctrl+shift+emter new_window_with_cwd
map cmd+enter new_window_with_cwd
# Switch focus to the neighboring window in the indicated direction
map ctrl+shift+left neighboring_window left
map ctrl+shift+right neighboring_window right
map ctrl+shift+up neighboring_window up
map ctrl+shift+down neighboring_window down
# Resize
@dextermb
dextermb / config.toml
Created November 18, 2023 21:02
~/.config/helix/config.toml
[editor]
insert-final-newline = true
[editor.statusline]
left = ["mode", "spinner", "version-control", "read-only-indicator", "file-modification-indicator"]
center = ["file-name"]
import React from 'react'
import swr from "swr"
import { request } from "~/services/api"
import { arrayParam } from '~/utils/query-params'
const handler = () => {
const [selected, setSelected] = React.useState([])
const { data: sites } = swr('/sites', request)
export const dots = ['โ ‹', 'โ ™', 'โ น', 'โ ธ', 'โ ผ', 'โ ด', 'โ ฆ', 'โ ง', 'โ ‡', 'โ ']
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"~/*": ["./*"]
}
},
"exclude": [
"node_modules",
".next"
@dextermb
dextermb / gist:3722586dec9f8431374618a438f391cc
Created January 27, 2020 11:03 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: ๐Ÿ˜„ :smile: ๐Ÿ˜† :laughing:
๐Ÿ˜Š :blush: ๐Ÿ˜ƒ :smiley: โ˜บ๏ธ :relaxed:
๐Ÿ˜ :smirk: ๐Ÿ˜ :heart_eyes: ๐Ÿ˜˜ :kissing_heart:
๐Ÿ˜š :kissing_closed_eyes: ๐Ÿ˜ณ :flushed: ๐Ÿ˜Œ :relieved:
๐Ÿ˜† :satisfied: ๐Ÿ˜ :grin: ๐Ÿ˜‰ :wink:
๐Ÿ˜œ :stuck_out_tongue_winking_eye: ๐Ÿ˜ :stuck_out_tongue_closed_eyes: ๐Ÿ˜€ :grinning:
๐Ÿ˜— :kissing: ๐Ÿ˜™ :kissing_smiling_eyes: ๐Ÿ˜› :stuck_out_tongue:
import React from 'react'
class Debounce extends React.Component {
constructor(props) {
super(props)
this.state = {
value: ''
}
sudo apt-get purge wkhtmltopdf
wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
tar xvf wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
sudo mv wkhtmltox/bin/wkhtmltopdf /usr/bin/wkhtmltopdf
sudo mv wkhtmltox/bin/wkhtmltoimage /usr/bin/wkhtmltoimage
function manipulate({ model, ignore, keyMap, valueMap, order }) {
const _ignore = (
[
/_?id$/,
/_at$/
]
)
.concat(ignore)
.filter(r => r);
@dextermb
dextermb / .vimrc
Last active February 3, 2019 15:58
if &compatible
set nocompatible
endif
set runtimepath+=~/.cache/dein/repos/github.com/Shougo/dein.vim
set runtimepath^=~/.vim/bundle/ctrlp.vim
if dein#load_state('~/.cache/dein')
call dein#begin('~/.cache/dein')