Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Carlos Reynosa carlos-reynosa

🏠
Working from home
View GitHub Profile
@carlos-reynosa
carlos-reynosa / .xbindkeysrc
Last active Apr 27, 2020
Linux Key Bindings
View .xbindkeysrc
"xte 'keydown Control_L' 'keydown Alt_L' 'key Up' 'keyup Control_L' 'keyup Alt_L'"
b:9
"xte 'keydown Control_L' 'keydown Alt_L' 'key Down' 'keyup Control_L' 'keyup Alt_L'"
b:8
"xte 'keydown Alt_L' 'key F1' 'keyup Alt_L'"
b:2
"xte 'keydown Alt_L' 'key F1' 'keyup Alt_L'"
b:2 + release
@carlos-reynosa
carlos-reynosa / bash_boilerplate_template.sh
Created Jan 24, 2020
Customized Bash Boilerplate Script
View bash_boilerplate_template.sh
#!/usr/bin/env bash
# This file:
#
# - Demos BASH3 Boilerplate (change this for your script)
#
# Usage:
#
# LOG_LEVEL=7 ./main.sh -f /tmp/x -d (change this for your script)
#
# Based on a template by BASH3 Boilerplate v2.4.1
View gist:5d32021e6f8d46d8e54521f64dbe92db
Example infrastructure outage incident report
Friday, May 13, 2077
By the Example Security Team
Earlier this week we experienced an outage in our API infrastructure. Today we’re providing an incident report that details the nature of the outage and our response.
The following is the incident report for the Example Security outage that occurred on April 30, 2077. We understand this service issue has impacted our valued developers and users, and we apologize to everyone who was affected.
View create-orders-programmatically.md
@carlos-reynosa
carlos-reynosa / solarized-color-palette
Created Sep 9, 2014
Solarized Bash Terminal Color Palette
View solarized-color-palette
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/use_theme_background" --type bool false
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/use_theme_colors" --type bool false
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/palette" --type string "#070736364242:#D3D301010202:#858599990000:#B5B589890000:#26268B8BD2D2:#D3D336368282:#2A2AA1A19898:#EEEEE8E8D5D5:#00002B2B3636:#CBCB4B4B1616:#58586E6E7575:#65657B7B8383:#838394949696:#6C6C7171C4C4:#9393A1A1A1A1:#FDFDF6F6E3E3"
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/background_color" --type string "#00002B2B3636"
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/foreground_color" --type string "#65657B7B8383"
@carlos-reynosa
carlos-reynosa / Gruntfile.js
Last active Aug 29, 2015
Grunt dependencies and tasks for running a php and livereload server in a project.
View Gruntfile.js
/**
* Tasks for running the php dev server and livereload server
*
*/
module.exports = function(grunt){
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
You can’t perform that action at this time.