Skip to content

Instantly share code, notes, and snippets.

View gorlok's full-sized avatar

Pablo Lillia gorlok

View GitHub Profile
@gorlok
gorlok / git-branches.sh
Created August 4, 2020 17:19
git branches format and color
git for-each-ref --format='%(color:cyan)%(authordate:format:%d/%m/%Y %H:%M) %(align:25,left)%(color:yellow)%(authoremail)%(end) %(color:reset)%(refname:strip=3)' --sort=authordate refs/remotes
@gorlok
gorlok / check-java.sh
Created January 28, 2020 20:32
check java version on Linux
#!/bin/bash
echo "Current Java version:"
java --version
javac --version
jar --version
jshell --version
@gorlok
gorlok / install-java.sh
Created January 28, 2020 20:31
Configure a new installed JDK on Ubuntu Linux
#!/bin/bash
if [ -z $1 ]
then
echo "Most provide a JDK name from /usr/lib/jvm. For instance: jdk-11"
exit 1
fi
jdk=$1
priority=2000
jdkpath="/usr/lib/jvm/${jdk}"
ENCUENTRO:521142857:INVERSION_AUTO:BANDWIDTH_6_MHZ:FEC_3_4:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_NONE:0:0:59168
PAKA PAKA:521142857:INVERSION_AUTO:BANDWIDTH_6_MHZ:FEC_3_4:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_NONE:0:0:59169
PARAGUAY TV:521142857:INVERSION_AUTO:BANDWIDTH_6_MHZ:FEC_3_4:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_NONE:0:0:59170
CINE.AR:521142857:INVERSION_AUTO:BANDWIDTH_6_MHZ:FEC_3_4:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_NONE:0:0:59171
TEC TV:521142857:INVERSION_AUTO:BANDWIDTH_6_MHZ:FEC_3_4:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_NONE:0:0:59172
ENCUENTRO PORTABLE:521142857:INVERSION_AUTO:BANDWIDTH_6_MHZ:FEC_3_4:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_NONE:0:0:59192
TV PUBLICA HD:527142857:INVERSION_AUTO:BANDWIDTH_6_MHZ:FEC_3_4:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_NONE:289:290:5
# Canales UHF del 14 to 69 en el sistema argentino de televisión digital terrestre SATVD-T
T 473142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # canal 14
T 479142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # canal 15
T 485142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # canal 16
T 491142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # canal 17
T 497142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # canal 18
T 503142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # canal 19
T 509142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # canal 20
T 515142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # canal 21
T 521142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # canal 22
@gorlok
gorlok / FileResource.java
Created June 3, 2018 23:55
JAX-RS EE7 Upload File (Json Base64)
package com.example;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Base64;
import java.util.UUID;
import javax.json.JsonObject;
import javax.ws.rs.Consumes;
@gorlok
gorlok / openssl.md
Last active August 20, 2024 23:28
OpenSSL to create PFX file