Skip to content

Instantly share code, notes, and snippets.

View pinguet62's full-sized avatar
😎
${this.state}

PINGUET Julien pinguet62

😎
${this.state}
View GitHub Profile

Spring Boot tips

Retrouver l'origine d'un bean

Point d'arrêt dans les méthodes de org.springframework.beans.factory.support.BeanDefinitionRegistry#registerBeanDefinition

#!/usr/bin/python
# -*- coding: utf-8 -*-
import argparse
import os
import signal
import subprocess
import urllib2
parser = argparse.ArgumentParser()
@pinguet62
pinguet62 / heroku-killall.cmd.md
Last active December 31, 2019 11:29
Kill all PostgreSQL connections from Heroku
  1. heroku login
  2. Fill email
  3. Fill password
  4. heroku pg:killall --app $APP (my APP is jsfring-webapp-jsf)
@pinguet62
pinguet62 / README.md
Last active May 13, 2017 03:22
Build Python script (.py) to Windows executable (.exe).

Python to .exe

This script build a Python script (.py) to Windows executable (.exe).

The output executable can be run:

  • regardless Windows versions,
  • without Python installation,
  • without module installation.

Table of contents

@pinguet62
pinguet62 / Hexavigesimal.java
Last active August 25, 2021 18:52
The Hexavigesimal numeral system.
package fr.pinguet62.util;
/**
* Wrapper for hexavigesimal representation and conversions.<br />
* {@code 0} = {@code "A"}<br/>
* {@code 25} = {@code "Z"}<br/>
* {@code 26} = {@code "AA"}<br/>
* {@code 27} = {@code "AB"}<br/>
* {@code 730} = {@code "ABC"}
*/