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
#!/bin/bash | |
# Check if an email address is provided as an argument | |
if [ -z "$1" ]; then | |
echo "Usage: $0 <email>" | |
exit 1 | |
fi | |
email="$1" |
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
private static void lazyLinkedIn(WebDriver driver) throws InterruptedException { | |
// Personal credentials | |
String username = <username> | |
String password = <password> | |
// List of certificates | |
List<String> certificates = new ArrayList<String>(); | |
certificates.add( <certificate ID> | |
certificates.add( <certificate ID> | |
certificates.add( <certificate 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
#! /bin/bash | |
# Para corregir errores con los directorios que contengan espacios: | |
SAVEIFS=$IFS; | |
IFS=$(echo -en "\n\b"); | |
# A partir del directorio actual, abrimos con la aplicación por defecto | |
# (xdg-open), la lista de archivos mostrados por el comando "ls". | |
# A este script se le pueden pasar los mismos parámetros que a "ls"(pues | |
# básicamente, se le pasan directamente a dicho comando). |
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 <iostream> | |
#include <stdlib.h> | |
#include <vector> | |
#include <math.h> | |
using namespace std; | |
int main(int argc, char *argv[]){ | |
if(argc != 2){ | |
cout << "Uso correcto: ./Sierpinski <número de triángulos centrales>\n"; |
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
#! /bin/bash | |
# Para corregir errores con los directorios que contengan espacios: | |
SAVEIFS=$IFS | |
IFS=$(echo -en "\n\b") | |
a=$PWD | |
# A partir del directorio actual, buscamos los directorios con la carpeta oculta ".git" | |
# y le quitamos el primer y último campo ya que serán "." y ".git", respectivamente. |