Skip to content

Instantly share code, notes, and snippets.

View Fhernd's full-sized avatar
💭
Never stop learning!

John Ortiz Ordoñez Fhernd

💭
Never stop learning!
View GitHub Profile
@Fhernd
Fhernd / BalsamiqForever.py
Created July 24, 2023 14:08 — forked from HoussemNasri/BalsamiqForever.py
Extend your trial period for Balsamiq Wireframes on Windows and macOS Forever!
import json
import os
import time
import webbrowser
import sys
import re
def handleWindows(extra_seconds):
print("OS : Windows")
@Fhernd
Fhernd / Main.jsx
Created April 11, 2023 16:43
Testing react-router-native
import React from 'react';
import { Text, View } from 'react-native';
import { NativeRouter, Switch, Route, Redirect } from 'react-router-native';
const HomeScreen = () => (
<View>
<Text>Welcome to the home screen!</Text>
</View>
);
@Fhernd
Fhernd / main.py
Created March 17, 2023 13:30
Accedo a Google Drive desde Python
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from googleapiclient.errors import HttpError
from google.oauth2 import service_account
def get_service(api_name, api_version, scopes, key_file_location):
"""Get a service that communicates to a Google API.
Args:
@Fhernd
Fhernd / ex044-index.html
Created December 28, 2019 14:27
// Ejercicio 44: Obtener los valores de un arreglo que terminen con un carácter dado.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>jQuery - Ejercicios</title>
<link rel="stylesheet" href="css/styles.css">
</head>
@Fhernd
Fhernd / ex043-index.html
Created December 28, 2019 12:38
// Ejercicio 43: Filtrar el contenido de un arreglo utilizando una expresión regular.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>jQuery - Ejercicios</title>
<link rel="stylesheet" href="css/styles.css">
</head>
@Fhernd
Fhernd / ex042-index.html
Created December 28, 2019 12:04
// Ejercicio 42: Mostrar datos filtrados de un arreglo con la función $.grep().
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>jQuery - Ejercicios</title>
<link rel="stylesheet" href="css/styles.css">
</head>
@Fhernd
Fhernd / ex041-index.html
Created December 28, 2019 11:45
// Ejercicio 41: Usar el método $.each() para crear una lista desde un arreglo.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>jQuery - Ejercicios</title>
<link rel="stylesheet" href="css/styles.css">
</head>
@Fhernd
Fhernd / ex040-index.html
Created December 28, 2019 00:55
// Ejercicio 40: Uso del método $.map() para crear una lista de cadenas en mayúscula.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>jQuery - Ejercicios</title>
<link rel="stylesheet" href="css/styles.css">
</head>
@Fhernd
Fhernd / ex039-index.html
Created December 28, 2019 00:34
// Ejercicio 39: Uso del método $.map() para crear una lista de cadenas enumeradas.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>jQuery - Ejercicios</title>
<link rel="stylesheet" href="css/styles.css">
</head>
@Fhernd
Fhernd / ex038-index.html
Created December 27, 2019 23:52
// Ejercicio 38: Agregar elementos de un arreglo en una lista no-ordenada con $.each().
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>jQuery - Ejercicios</title>
<link rel="stylesheet" href="css/styles.css">
</head>