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
@pablotolentino
pablotolentino / Visual Studio 2022 Product Key
Created November 20, 2021 20:41
Visual Studio 2022 Enterprise Product key
Visual Studio 2022
Enterprise :
VHF9H-NXBBB-638P6-6JHCY-88JWH
Professional:
TD244-P4NB7-YQ6XK-Y8MMM-YWV2J
@HoussemNasri
HoussemNasri / BalsamiqForever.py
Last active November 15, 2024 19:49
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")
@folt
folt / gist:a98e9368dbe1dcbfce7198c16b862c92
Last active November 9, 2024 17:09
Balsamiq Mockups 3 crack
Name: Flash
Serial: eNrzzU/OLi0odswsqnHLSSzOqDGoca7JKCkpsNLXLy8v1ytJTczVLUotKNFLzs8FAJHYETc=
if anyone wants to thank ETH: 0x527c2aB55b744D6167dc981576318af96ed26676
Thank you!
@sunmeat
sunmeat / gist:a25c3094401f29ddc7b01b9e53481573
Last active November 26, 2023 15:21
light sensor example android
MainActivity.java:
package com.alex.sensors;
import android.app.Activity;
import android.graphics.Color;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.hardware.SensorManager;
@tnhu
tnhu / excel_generator.py
Created April 22, 2016 20:38
Open and Edit an Excel template using Python's openpyxl library
from openpyxl import load_workbook
wb = load_workbook('template.xlsx')
# grab the active worksheet
ws = wb.active
# Data can be assigned directly to cells
ws['A2'] = 'Tom'
ws['B2'] = 30
@fazlurr
fazlurr / canvas-upload.php
Created March 27, 2014 07:20 — forked from xjamundx/canvas-upload.php
Function to save base64 image to png with PHP
<?php
// requires php5
define('UPLOAD_DIR', 'images/');
$img = $_POST['img'];
$img = str_replace('data:image/png;base64,', '', $img);
$img = str_replace(' ', '+', $img);
$data = base64_decode($img);
$file = UPLOAD_DIR . uniqid() . '.png';
$success = file_put_contents($file, $data);
print $success ? $file : 'Unable to save the file.';
@Fhernd
Fhernd / EstudioSintaxisCSharp.cs
Last active December 19, 2015 01:29
Caso de estudio para entender la sintaxis de C#.
using System;
class EstudioSintaxisCSharp
{
static void Main()
{
int x = 12 * 30;
Console.WriteLine(x);
}
}
@Fhernd
Fhernd / Matriz.java
Created August 4, 2012 03:22
Cómo crear la Matriz Traspuesta
public class Matriz
{
/**
* Punto de entrada de la aplciación.
* @param args Argumentos pasados desde la consola o terminal.
*/
public static void main(String[] args)
{
int[][] matrizOriginal = { { 1, 3, 5, 1}, {2, 4, 6, 5 }, { 7, 9, 0, 7 }, { 0,0,0,0}, {1,1,1,1} };
@Fhernd
Fhernd / Etc.java
Created July 29, 2012 00:00
Paste Anything
public abstract void com.altersoft.ws.WebServices.agregarDatosPA(int,int,int,int,java.lang.String)
@josejuan
josejuan / factoriones.py
Created July 26, 2012 21:21
Factoriones
# Factorial de 'n'
def factorial(n):
if n == 0:
return 1
return factorial(n - 1) * n
# Para cada número a revisar
for i in range(1, 2500000 + 1):
# Calculamos según la definición