Skip to content

Instantly share code, notes, and snippets.

View mmore500's full-sized avatar

Matthew Andres Moreno mmore500

View GitHub Profile
@mmore500
mmore500 / hosts
Last active January 19, 2018 02:03
/etc/hosts
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
@mmore500
mmore500 / pc
Last active October 28, 2023 20:24
/usr/share/X11/xkb/symbols/pc
default partial alphanumeric_keys modifier_keys
xkb_symbols "pc105" {
key <ESC> { [ Caps_Lock ] };
// The extra key on many European keyboards:
key <LSGT> { [ less, greater, bar, brokenbar ] };
// The following keys are common to all layouts.
key <BKSL> { [ backslash, bar ] };
@mmore500
mmore500 / gtk-dark.css
Created November 26, 2017 07:02
/usr/share/themes/elementary/gtk-3.0/gtk-dark.css
/* Copyright 2011-2015 elementary LLC.
*
* This file is part of the elementary GTK theme.
*
* The elementary GTK theme is free software: you can redistribute it
* and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* The elementary GTK theme is distributed in the hope that it will be
@mmore500
mmore500 / apps.css
Created November 26, 2017 07:03
/usr/share/themes/elementary/gtk-3.0/apps.css
/*
* Copyright (c) 2011-2016 elementary LLC. (http://launchpad.net/egtk)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@mmore500
mmore500 / main.tex
Created January 22, 2018 21:32
Business Card Latex
\documentclass{article}
\title{Business Card}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{empheq}
\makeatletter
\DeclareRobustCommand*{\pmzerodot}{%
\nfss@text{%
@mmore500
mmore500 / example.html
Last active January 22, 2018 21:36
excerpt from my Jekyll site
<script type="text/javascript">
images_list= {{ site.data.images | jsonify }}
console.log(images_list)
function getImageHTML() {
var html_code = '<img src=\"';
var randomIndex = Math.floor(Math.random() * images_list.length);
html_code += images_list[randomIndex]["href"];
source /usr/local/lib/python3.5/dist-packages/powerline/bindings/tmux/powerline.conf
set-option -g default-terminal "screen-256color"
# remap prefix to Control + a
set -g prefix C-t
# bind 'C-a C-a' to type 'C-a'
bind C-q send-prefix
unbind C-b
setw -g mode-keys vi
unbind p
@mmore500
mmore500 / pdfpcrc
Created July 11, 2018 02:26
~/.config/pdfpc/pdfpcrc
bind Down next
bind Up prev
bind Right nextOverlay
bind Left prevOverlay
@mmore500
mmore500 / mylang.map
Last active October 28, 2018 03:07
~/.config/logkeys/mylang.map
<Esc>
1 ! 1
2 @ 2
3 # 3
4 $ 4
5 % 5
6 ^ 6
7 & 7
8 * 8
9 ( 9
@mmore500
mmore500 / logkeys-start.sh
Created October 23, 2018 02:55
/etc/init.d/logkeys-start.sh
#!/bin/bash
### BEGIN INIT INFO
# Provides: logkeys-start
# Required-Start: $all
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: Halts USB power...
### END INIT INFO