Skip to content

Instantly share code, notes, and snippets.

View DuckHunter213's full-sized avatar
🎯
Focusing

Luis Fernando Gomez Alejandre DuckHunter213

🎯
Focusing
  • Hutchinson Ports ICAVE
  • Mexico, Veracruz, Xalapa
View GitHub Profile
@DuckHunter213
DuckHunter213 / KrakenTerminal.sh
Created April 1, 2021 20:19
for view graph terminal
watch --color -n 1 git log --all --decorate --oneline --graph -m --color=always
@DuckHunter213
DuckHunter213 / union_images.ps1
Last active March 9, 2021 21:50
ghostscript add multiples images to pdf on windows
<# ghostscript to add multiple images to pdf #>
<# put gs.exe in the variable system #>
<#search path of the follow lib#>
$path_library = "C:\Program Files\gs\gs9.53.3\lib\viewjpeg.ps"
$filename = "Glosario.pdf"
$path_to_images = "F:\path_to_folder"
$filter = "*.jpg"
$all_images = ""
@DuckHunter213
DuckHunter213 / openssl_example.php
Created December 8, 2018 13:42
Es un código de ejemplo de como hacer certificados y firmas en si lo lees ojala te sirva :D básicamente para los usuarios de windows
<?
function mostrarErrores($certificado){
print "$certificado Certificated: <br>Error<br><br>";
while (($e = openssl_error_string()) !== false) {
echo $e . "\n";
}
}
?>
<!DOCTYPE html>
@DuckHunter213
DuckHunter213 / openssl_example.php
Created December 8, 2018 13:42
Es un código de ejemplo de como hacer certificados y firmas en si lo lees ojala te sirva :D básicamente para los usuarios de windows
<?
function mostrarErrores($certificado){
print "$certificado Certificated: <br>Error<br><br>";
while (($e = openssl_error_string()) !== false) {
echo $e . "\n";
}
}
?>
<!DOCTYPE html>
@DuckHunter213
DuckHunter213 / openssl_example.php
Created December 8, 2018 13:42
Es un código de ejemplo de como hacer certificados y firmas en si lo lees ojala te sirva :D básicamente para los usuarios de windows
<?
function mostrarErrores($certificado){
print "$certificado Certificated: <br>Error<br><br>";
while (($e = openssl_error_string()) !== false) {
echo $e . "\n";
}
}
?>
<!DOCTYPE html>
ffmpeg -i <video.ext>
<video.ext> = el nombre del video con extensión
Funciona para:
Dar la meta información del archivo de video
@DuckHunter213
DuckHunter213 / .java
Created October 13, 2017 13:52
Cast ArrayList to List and List to ArrayList and Generate a ID
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.List;
/**
*
* @author Luis Fernando Gomez Alejandre