Skip to content

Instantly share code, notes, and snippets.

🐞
Hunting bugs

Javier Hernán Caballero García caballerojavier13

🐞
Hunting bugs
Block or report user

Report or block caballerojavier13

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Environment_Setup.md

Environment Setup

For Mac

  1. Install brew - (https://brew.sh/)
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
View workflow.yml
name: Build
on:
push:
branches:
- master
jobs:
build:
View workflow.yml
name: Build
on:
push:
branches:
- master
jobs:
build:
View printer.py
from escposprinter import *
from usb.core import find
def getAllPrinters():
for i in find(find_all=True):
print(i)
def printInvoiceFooter():
@caballerojavier13
caballerojavier13 / AdbCommands
Created Jun 30, 2019 — forked from Pulimet/AdbCommands
Adb useful commands list
View AdbCommands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
== Shell
@caballerojavier13
caballerojavier13 / Android-Emulator-on-AWS-EC2.txt
Created Apr 8, 2019 — forked from atyachin/Android-Emulator-on-AWS-EC2.txt
Installing and running Android Emulator on Amazon AWS EC2 (Ubuntu 16.04)
View Android-Emulator-on-AWS-EC2.txt
Steps for installing the Android Emulator from EC2 console:
-----------------------------------------------------------
sudo apt install default-jdk
wget https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip
unzip sdk-tools-linux-4333796.zip -d android-sdk
sudo mv android-sdk /opt/
export ANDROID_SDK_ROOT=/opt/android-sdk
echo "export ANDROID_SDK_ROOT=/opt/android-sdk" >> ~/.bashrc
echo "export PATH=$PATH:$ANDROID_SDK_ROOT/tools" >> ~/.bashrc
re-login
View pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.disney.playapp</groupId>
<artifactId>hp_alm_client</artifactId>
<version>1.0.0</version>
<build>
View main.java
package disney.hp_alm_client;
import disney.hp_alm_client.model.*;
import disney.hp_alm_client.model.*;
import disney.hp_alm_client.utils.Config;
import disney.hp_alm_client.utils.HpAlmClient;
import java.io.File;
import java.text.SimpleDateFormat;
import java.time.Instant;
@caballerojavier13
caballerojavier13 / cors-nginx.conf
Created Jan 8, 2019 — forked from michiel/cors-nginx.conf
Wide-open CORS config for nginx
View cors-nginx.conf
#
# Wide-open CORS config for nginx
#
location / {
if ($request_method = 'OPTIONS') {
add_header 'Access-Control-Allow-Origin' '*';
#
View install_portainer.sh
docker volume create portainer_data
docker run -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock --name portainer --restart always -v portainer_data:/data portainer/portainer
You can’t perform that action at this time.