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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Copyright 2012 Matt Martz | |
# All Rights Reserved. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); you may | |
# not use this file except in compliance with the License. You may obtain | |
# a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 |
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
# 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_*' . |
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
[oracle@a6573e40d8b8 dbfiles]$ cat /home/oracle/setup/log/configDB.log | |
Sat Apr 25 00:35:35 UTC 2020 | |
Start Docker DB configuration | |
Call configDBora.sh to configure database | |
Sat Apr 25 00:35:35 UTC 2020 | |
Configure DB as oracle user | |
Setup Database directories ... | |
SQL*Plus: Release 12.2.0.1.0 Production on Sat Apr 25 00:35:35 2020 |
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
# | |
# 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 |
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
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
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
//#include <SoftwareSerial.h> | |
#include <Adafruit_NeoPixel.h> | |
#ifdef __AVR__ | |
#include <avr/power.h> | |
#endif | |
//#define RxD 2 | |
//#define TxD 1 | |
#define LED 5 |
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
# 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" |
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 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 |
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
'.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' |
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 (a == 10 && b >= 30) { | |
y = y + 1; | |
} else { | |
y = y - 1; | |
} | |
1 - a | |
2 - 10 | |
3 - CMP | |
4 - BNE |