Skip to content

Instantly share code, notes, and snippets.

View cristianmiranda's full-sized avatar
🏡
Working from home

Cristian Miranda cristianmiranda

🏡
Working from home
View GitHub Profile
@cristianmiranda
cristianmiranda / brcmfmac43602-pcie.txt
Created April 23, 2020 19:03
brcmfmac43602-pcie.txt
boardrev=0x1101
sromrev=11
boardtype=0x073e
vendid=0x14e4
devid=0x43ba
macaddr=00:90:4c:0d:f4:3e
ccode=0
#
# refind.conf
# Configuration file for the rEFInd boot menu
#
# Timeout in seconds for the main menu screen. Setting the timeout to 0
# disables automatic booting (i.e., no timeout). Setting it to -1 causes
# an immediate boot to the default OS *UNLESS* a keypress is in the buffer
# when rEFInd launches, in which case that keypress is interpreted as a
# shortcut key. If no matching shortcut is found, rEFInd displays its
@cristianmiranda
cristianmiranda / install_dotfiles.sh
Last active June 13, 2020 18:04
install_dotfiles.sh
# Just in case
sudo apt-get install -y git
WORKSPACE=$HOME/Documents/Work/Workspace
# Grabbing ssh keys
mkdir -p $HOME/.ssh
cd $HOME/.ssh
scp -P 62022 'cmiranda@crismiranda.net:/home/cmiranda/backups/box/linux/home/cmiranda/.ssh/id_*' .
//#include <SoftwareSerial.h>
#include <Adafruit_NeoPixel.h>
#ifdef __AVR__
#include <avr/power.h>
#endif
//#define RxD 2
//#define TxD 1
#define LED 5
# USEFUL COMMANDS
alias l="ls -lst"
alias la="ls -lsta"
alias ..="cd .."
alias cd..="cd .."
alias g="git"
alias resetdock="osascript -e 'quit application \"Dock\"'"
alias resetaudio="sudo killall coreaudiod"
alias ringo="cd ~/Documents/Repos/ringo"
cd dist-$1 # Ingresar al repo
git add . && git stash # En caso de tener cambios
cd uat-$1 # Ingresar al repo
git add . && git stash # En caso de tener cambios
cd $1 # Ingresar al repo
git add . && git stash # En caso de tener cambios
@cristianmiranda
cristianmiranda / rpn_and_or.c
Created October 8, 2017 00:08
RPN - && ||
if (a == 10 && b >= 30) {
y = y + 1;
} else {
y = y - 1;
}
1 - a
2 - 10
3 - CMP
4 - BNE
'.platform-darwin':
'cmd-shift-R': 'fuzzy-finder:toggle-file-finder'
'ctrl-h': 'project-find:show'
'atom-workspace atom-text-editor:not([mini])':
'alt-up': 'editor:move-line-up'
'alt-down': 'editor:move-line-down'
'cmd-alt-down': 'editor:duplicate-lines'
'cmd-l': 'go-to-line:toggle'
'cmd-d': 'editor:delete-line'
import sys
import time
import csv
from sys import stdout
from selenium import webdriver
from selenium.webdriver import FirefoxProfile
'''
# SELENIUM - GECKO
export PATH=$PATH:'/Applications/Geckodriver'