Skip to content

Instantly share code, notes, and snippets.

View manuelmazzuola's full-sized avatar
🏠
Working from home

Manuel Mazzuola manuelmazzuola

🏠
Working from home
View GitHub Profile
@manuelmazzuola
manuelmazzuola / README.md
Last active March 25, 2025 09:35
Telegram Web Full Width

Telegram Web Tweak Script

This script makes sure telegram web to use full screen width by replacing styles. The script works with scripting utilities like TamperMonkey.

Click this link to install user script.

{
"openapi": "3.1.0",
"info": {
"title": "Cloudesire Marketplace API",
"version": "1.0.0"
},
"servers": [
{
"url": "https://cloudesire-dev-backend.netasaas.cloudeng.it/marketplace"
}
@manuelmazzuola
manuelmazzuola / marketplace-api-openapi-spec.yaml
Created November 6, 2023 13:34
marketplace-api openapi spec 1.0.0
openapi: 3.1.0
info:
title: Cloudesire Marketplace API
version: 1.0.0
servers:
- url: 'https://cloudesire-dev-backend.netasaas.cloudeng.it/marketplace'
paths:
/configuration/{name}:
patch:
summary: Updates the configuration file
@ApiOperation( value = "Retrieve products" )
@PostMapping
public List<ProductDTO> getAll(
@Valid ProductQuery query,
@Valid PageRequestDTO pageRequest,
HttpServletResponse response )
{
Page<Product> products = getProducts( query, pageRequest, true );
setPagedHeaders( response, products );
return conversionService.convertList( products.getContent(), ProductDTO[].class );
@manuelmazzuola
manuelmazzuola / restclient.go
Last active March 10, 2025 17:55
how to implement a RESTClientGetter for helm action pkg
package main
import (
"k8s.io/apimachinery/pkg/api/meta"
"k8s.io/client-go/discovery"
"k8s.io/client-go/discovery/cached/memory"
"k8s.io/client-go/rest"
"k8s.io/client-go/restmapper"
"k8s.io/client-go/tools/clientcmd"
"k8s.io/client-go/tools/clientcmd/api"
@manuelmazzuola
manuelmazzuola / softmax-with-temperature.ipynb
Created March 8, 2021 15:59
softmax-with-temperature.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Keybase proof

I hereby claim:

  • I am manuelmazzuola on github.
  • I am originof (https://keybase.io/originof) on keybase.
  • I have a public key whose fingerprint is BFB7 D93F 0820 71EC D121 5BA6 B732 4C03 0B53 C8AB

To claim this, I am signing this object:

{ config, pkgs, ... }:
{
nixpkgs.config = {
allowUnfree = true;
firefox = {
enableGoogleTalkPlugin = true;
enableAdobeFlash = false;
nix-shell -p python27Packages.docker_compose -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix