Skip to content

Instantly share code, notes, and snippets.

View nonodev96's full-sized avatar
馃惖
Working

Antonio Mudarra Machuca nonodev96

馃惖
Working
  • Universidad de jaen
  • Granada, Ja茅n
  • X @nonodev96
View GitHub Profile
@nonodev96
nonodev96 / exiftool-merge.ps1
Last active July 10, 2025 21:08
google photos takeout merge metadata
function Invoke-MetadataSync {
param (
[Parameter(Mandatory)]
[string]$folder
)
# Extensiones v谩lidas (en min煤sculas)
$extensions = @(".jpg", ".jpeg", ".png", ".gif", ".heic", ".mp4", ".mov", ".webp")
$notMatched = @()
@nonodev96
nonodev96 / README.md
Created March 13, 2025 20:15 — forked from devops-school/README.md
PowerShell Tutorials for beginners

PowerShell

PowerShell Cheatsheet

PowerShell for beginners


This document is getting updated time-to-time. Become a watcher to get updates.

@nonodev96
nonodev96 / overleaf-toogle-wordwrap.js
Created March 7, 2024 20:14
Toogle word wrap, editor, overleaf, tampermonkey, codemirror, overleaf please fix your editor
// ==UserScript==
// @name Overleaf Toggle WordWrap
// @namespace http://tampermonkey.net/
// @version 2024-03-07
// @description try to take over the world!
// @author nonodev96
// @match https://www.overleaf.com/project/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=overleaf.com
// @grant none
// ==/UserScript==
@nonodev96
nonodev96 / read_npz_and_npy_browser.js
Last active October 15, 2024 12:41
Read npy and npz in browser with js
import npyjs from 'npyjs'
import JSZip from 'jszip'
import JSZipUtils from 'jszip-utils'
const handleClick_debug_npz = async () => {
const file = process.env.REACT_APP_PATH + '/datasets/03-image-classification/kmnist/kmnist-train-imgs.npz'
await JSZipUtils.getBinaryContent(file, async (err, data) => {
if (err) {
throw err // or handle the error
@nonodev96
nonodev96 / progressMultiple.html
Created June 11, 2023 12:52
Progress download detector in simple and multiple downloads with fetch
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
progress {
@nonodev96
nonodev96 / ubuntu-install.md
Last active March 24, 2025 14:24
ubuntu-install.md

Set time

timedatectl set-timezone Europe/Madrid

WSL

# wslu - A collection of utilities for WSL https://github.com/wslutilities/wslu
sudo apt install wslu
@nonodev96
nonodev96 / HomeComponent.ts
Created January 21, 2022 17:21
Lifecycle Hooks - Angular
import {
AfterContentChecked,
AfterContentInit,
AfterViewChecked,
AfterViewInit,
Component,
DoCheck,
OnChanges,
OnDestroy,
OnInit
@nonodev96
nonodev96 / ieee754.ts
Created October 10, 2021 16:07
ieee754 - 32 bits, 64 bits
export function float32ToBin(float32: number): string {
let str = "";
const c = new Uint8Array(new Float32Array([float32]).buffer, 0, 4);
for (const element of Array.from(c).reverse()) {
str += element.toString(2).padStart(8, '0');
}
return str;
}
export function float64ToBin(float64: number): string {
@nonodev96
nonodev96 / apache-vhost-ssl-lamp.md
Last active May 13, 2021 16:15
vhost ssl apache2

Create vhost

sudo mkdir -p /var/www/ifridge.dev/public
sudo chown -R $USER:$USER /var/www/ifridge.dev/public
sudo chmod -R 755 /var/www
sudo cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/ifridge.dev.conf

# Copy and edit ifridge.dev.conf
sudo nano /etc/apache2/sites-available/ifridge.dev.conf