This file contains hidden or 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
| #!/bin/bash | |
| echo "Joining files /etc/passwd and /etc/shadow" | |
| sudo sudo join -t ':' /etc/passwd /etc/shadow |
This file contains hidden or 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
| From 90d94e10cbf64cdf5af435c67af4fe5131c17811 Mon Sep 17 00:00:00 2001 | |
| From: Francisco Perez <[email protected]> | |
| Date: Wed, 24 Feb 2021 23:17:58 +0100 | |
| Subject: [PATCH] Updating Makefile.am files in root folder and ccan for | |
| building in Ubuntu 18 | |
| --- | |
| Makefile.am | 2 +- | |
| ccan/Makefile.am | 1 + | |
| 2 files changed, 2 insertions(+), 1 deletion(-) |
This file contains hidden or 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/python | |
| # | |
| # Script for getting a openstack image list order by owner | |
| # Developer: [email protected] | |
| # Date: 23/09/2018 | |
| import imp | |
| from os import environ as env |
This file contains hidden or 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
| """ | |
| Configuration example for ``ptpython``. | |
| This example has been taken from https://github.com/jonathanslenders/ptpython/blob/master/examples/ptpython_config/config.py | |
| This config file has the feature below enabled: | |
| * Editor: vi | |
| * Color Schema: vi | |
| * Line Number: True | |
| Copy this file to ~/.ptpython/config.py |
This file contains hidden or 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
| ################################## | |
| # Script for generating a Dictionary splitting DataFrame values | |
| ################################## | |
| # Programador: Francisco Perez | |
| # Date: 9/20/2017 (MM/DD/YYYY) | |
| # Mail: [email protected] | |
| import pandas as pd |
This file contains hidden or 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
| '*********************************************************** | |
| 'Script for sending inputs and avoiding start screen saver | |
| '*********************************************************** | |
| 'Developer: Francisco Perez | |
| 'mail: [email protected] | |
| 'Date: 9/13/2017 (MM/DD/YYYY) | |
| Option Explicit | |
| Dim finishTime |
This file contains hidden or 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
| #!/bin/python3 | |
| ''' | |
| Given an array of integers, calculate which fraction of its elements are positive, which fraction of its elements are negative, and which fraction of its elements are zeroes, respectively. Print the decimal value of each fraction on a new line. | |
| Note: This challenge introduces precision problems. The test cases are scaled to six decimal places, though answers with absolute error of up to are acceptable. | |
| https://www.hackerrank.com/challenges/plus-minus | |
| ''' | |
| import sys |
This file contains hidden or 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
| /* | |
| * Función para Imprimir título en Qlickvies scripts | |
| * 24/01/2017, Francisco Perez, [email protected] | |
| */ | |
| sub TitleTrace(title) | |
| LET vTitle.len = len(title); | |
| LET vLine1 = Repeat('*', $(vTitle.len) + 4); | |
| TRACE $(vLine1); |
This file contains hidden or 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
| namespace Utilites | |
| { | |
| /// <summary> | |
| /// Basic Logging class for tracking execution programas | |
| /// </summary> | |
| /// <remarks> | |
| /// Developer: Francisco Perez | |
| /// Mail: [email protected] | |
| /// Date: 29/12/2016 | |
| /// </remarks> |
This file contains hidden or 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
| CREATE PROCEDURE getFreeSpaceDrive | |
| @drive varchar(1), | |
| @MB_Free INT OUTPUT | |
| AS | |
| BEGIN | |
| /* | |
| * PROCEDURE FOR GETTING FREE SPACE IN A DRIVE @drive | |
| * RETURN @MB_Free | |
| * FOR TESTING PROCEDURE EXECUTE THESE LINES | |
| * DECLARE @MB INT = 0; |