profile
viewpoint

kpym/SublimeLaTeXAccents 3

Decode and encode letters with accents in LaTeX

kpym/FrequencyDictionaries 2

Frequency dictionaries - one word per line simple text files

kpym/marianne 2

Logiciel qui génère les logos des administrations en respectant la charte graphique de l'état de 2020.

kpym/awesome-go 1

A curated list of awesome Go frameworks, libraries and software

kpym/picasaweb-kml-geotag 1

Python script that use a Picasaweb kml file to geotag (using exiftools) pictures in a folder.

kpym/canvas 0

Cairo in Go: vector to SVG, PDF, EPS, raster, HTML Canvas, etc.

kpym/clear_ipynb 0

Python script to clear/clean (and strip solutions from) a Jupyter Notebook.

kpym/DictionaryAutoComplete 0

This adds dictionary entries to the completions inside comments. For lazy typers!

kpym/dired 0

cloned from https://bitbucket.org/hibbelig/dired

kpym/format-photoid 0

Calque pour des photos d'identité

push eventddtm62/logo

kpym

commit sha 6d9c80e159b1dfa715f0b9e82128a9e5ed385dc2

rajout de signature textuelle

view details

push time in 6 hours

push eventddtm62/logo

kpym

commit sha d31930378e3f3cf0dd7d0c6026e039043fe567c4

rajout de signature textuelle

view details

push time in 16 hours

push eventddtm62/logo

kpym

commit sha 5491df6a5b1e1294e80634d378ac313efd13b0a4

rajout de signature textuelle

view details

push time in 17 hours

push eventddtm62/logo

kpym

commit sha 88255b3400da6ae4be740a6d7272cbd6ae1fee58

rajout de signature textuelle

view details

push time in 17 hours

issue commentgolang/go

flag: make the "default" word localizable

@ianlancetaylor Thank you for your advice. I think you are right.

kpym

comment created time in 18 hours

issue closedgolang/go

flag: make the "default" word localizable

In flag module we can write all help messages in any language, but the "default" keyword stays in english.

It will be nice if the corresponding code could be made "translatable".

closed time in 18 hours

kpym

issue commentgolang/go

flag: make the "default" word localizable

@ALTree I understand, but this library is an user interface library. Heaving some log message in english is ok, but producing user interface that has only few non translated words is strange.

Probably this should not be properly "translatable", but only made customizable. As we have flag.Usage maybe we can have flag.DefaultMsg that can be defined to display the default values ?

kpym

comment created time in a day

issue openedgolang/go

Make "default" keyword translatable in `flag` module.

In flag module we can write all help messages in any language, but the "default" keyword stays in english.

It will be nice if the corresponding code could be made "translatable".

created time in a day

push eventkpym/marianne

kpym

commit sha 23bfbc4f353afe95b655e7dc85d9e69062302cc1

retour à la bibliothèque canvas d'origine (après bug corrigé)

view details

push time in a day

created tagkpym/marianne

tagv0.2.2

Logiciel qui génère les logos des administrations en respectant la charte graphique de l'état de 2020.

created time in a day

push eventkpym/marianne

kpym

commit sha 670fc6ebfc6614a5bed40fb0af2de404187270b5

correction de la bibliothèque canvas

view details

push time in a day

PR opened tdewolff/canvas

correct the font kerning when converting to path

This is a patch for #63.

+7 -6

0 comment

1 changed file

pr created time in a day

push eventkpym/canvas

kpym

commit sha 38347796a4939f2640f0b5f66d6d7950c6e1bb82

correct the font kerning when converting to path

view details

push time in a day

fork kpym/canvas

Cairo in Go: vector to SVG, PDF, EPS, raster, HTML Canvas, etc.

fork in a day

issue openedtdewolff/canvas

Error with font spacing

When converting a font to path the spaces between the letters are not respected.

I think that the kern displacement in func (ff FontFace) ToPath(s string) (*Path, float64) should be done before to add the glyph to the path.

And maybe, I'm not sure, you should also replace in line 322 x += fromI26_6(advance) with x += fromI26_6(advance) - fromI26_6(kern) because the kern should not be added to the advance (or maybe it should ?).

created time in a day

created tagkpym/marianne

tagv0.2.1

Logiciel qui génère les logos des administrations en respectant la charte graphique de l'état de 2020.

created time in a day

push eventkpym/marianne

kpym

commit sha f3eb1823e1c97d59490fcbb702799871a9b32962

passage à 8 couleurs pour les PNG et GIF + petite réorganisation

view details

push time in a day

push eventkpym/marianne

kpym

commit sha 61f65c6c039de0e916f5e58411080cd433707949

des PNG et GIF en 16 couleurs (donc plus petits)

view details

push time in a day

created tagkpym/marianne

tagv0.2.0

Logiciel qui génère les logos des administrations en respectant la charte graphique de l'état de 2020.

created time in a day

created tagkpym/marianne

tagv0.1.1

Logiciel qui génère les logos des administrations en respectant la charte graphique de l'état de 2020.

created time in 2 days

push eventkpym/marianne

kpym

commit sha 61f0c066914b9ce96d6638a4ca8532da7097f5b9

oubli d'un pluriel

view details

push time in 2 days

issue openedDISIC/design.numerique.gouv.fr

Générateur de logos

Je ne sais pas si ça vous intéresse, mais j'ai créé un générateur de logos disponible dans le dépôt :

https://github.com/kpym/marianne

Pour le moment c'est une version alpha.

created time in 2 days

push eventkpym/marianne

kpym

commit sha 55688916e0090c06c4556168fd5d0cb9ae9188e3

rajout lien vers les releases

view details

push time in 2 days

created tagkpym/marianne

tagv0.1.0

Logiciel qui génère les logos des administrations en respectant la charte graphique de l'état de 2020.

created time in 2 days

push eventkpym/marianne

kpym

commit sha 4d6e73af590c3f8d97a58e2745c94689784aec9e

Première version

view details

push time in 2 days

create barnchkpym/marianne

branch : main

created branch time in 2 days

created repositorykpym/marianne

Logiciel qui génère les logos des administrations en respectant la charte graphique de l'état de 2020.

created time in 2 days

push eventddtm62/logo

kpym

commit sha 4ae850ec0b97f2a44618f3e830ead864d229ca57

plus de choix pour l'image

view details

push time in 2 days

push eventddtm62/logo

kpym

commit sha 17aed17b7797ae0c4e144d4361a0507d42fd86a3

correction adresse Calais

view details

push time in 2 days

push eventddtm62/logo

kpym

commit sha 7ddd9e6cede93ff68d834ca97fcfe1d0c7ed3aa1

changement image par dafaut (le png incorporé)

view details

push time in 2 days

push eventddtm62/logo

kpym

commit sha d4388fc60b3082d433a8abe8b6d0ec2a61a2eae9

couleurs par défaut (contre le gris du GMail)

view details

push time in 3 days

issue commenttdewolff/canvas

Proposal : Draw behind, z index ?

I succeeded to draw white rectangle behind like this :

func onWhite(c *canvas.Canvas) *canvas.Canvas {
	cn := canvas.New(c.W, c.H)
	ctx := canvas.NewContext(cn)
	ctx.SetFillColor(canvas.White)
	ctx.DrawPath(0, 0, canvas.Rectangle(math.Ceil(c.W), math.Ceil(c.H)))
	c.Render(cn)

	return cn
}

But this is not very nice.

kpym

comment created time in 3 days

issue commenttdewolff/canvas

Proposal : Draw behind, z index ?

@tdewolff Thanks for your fast answer. Indeed I was talking about the general Canvas. By the way, I think that PDF has z-index capabilities.

kpym

comment created time in 3 days

issue commenttdewolff/canvas

Proposal : Draw behind, z index ?

@tdewolff Thanks for the fast replay. But I don't get it : the canvas is file format independant no ? And the canvas just stack all the drawings in layers ? So before to render the canvas to a particular format, we can reorder the layers, no ?

kpym

comment created time in 3 days

issue openedtdewolff/canvas

Proposal : Draw behind, z index ?

I'm trying to draw a path behind. But it looks like the RenderPath can add only on top of the layers stack.

Is it possible to append a new method RenderPathBehind ? Or even better add z-index parameter to the layers and when new path is added it is inserted at the right 'z'-position.

created time in 3 days

issue commentfirasdib/Regex101

Golang generated code is not working as expected

@firasdib thanks. Here is an alternative code that introduce the missing ReplaceString function with limiting parameter n.

package main

import (
	"fmt"
	"regexp"
)

func ReplaceString(src, search, repl string, n int) string {

	var re = regexp.MustCompile(search)

	src = re.ReplaceAllStringFunc(src, func(s string) string {
		if n == 0 {
			return s
		}

		n -= 1
		return re.ReplaceAllString(s, repl)
	})

	return src
}

func main() {
	var re = `A(.)C`
	var str = "ABCABC"
	var substitution = `C${1}A`

	fmt.Println(ReplaceString(str, re, substitution, 1))
}

You can use this one or the code from my previous comment.

kpym

comment created time in 4 days

issue commentfirasdib/Regex101

Golang generated code is not working as expected

I have made a proposal to manage this case easily in Go, but it was not accepted (for backward compatibility reasons). So putting the right code generator may help Go developers to write non-global replace properly.

kpym

comment created time in 4 days

issue commentxmichelo/Beeftext

Doesn't work with alternative language keyboards.

This looks like #300. @pifiuk is the last character of your combo keyword using <kbd>AltGr</kbd> (like one of #{[|\@]}) ?

pifiuk

comment created time in 4 days

push eventddtm62/logo

kpym

commit sha 75ca3c752c75ba0f810d622de2e925d5bc53a18e

rajout de la Marianne et la devise en svg

view details

kpym

commit sha 325681e813f8bc2f43c5462e6c8e857cda1b2b96

reinitialisation des styles + rajou de moz-do-not-send dans img

view details

push time in 5 days

push eventddtm62/logo

kpym

commit sha 390a677f520d490f192c48f3c092f11b6746d8de

logos qu'en png dans la signature

view details

push time in 6 days

push eventddtm62/logo

kpym

commit sha 10c54cd89fc8f39516c1ad83196c2a3cc9cc644f

choix d'adresse

view details

push time in 6 days

push eventddtm62/logo

kpym

commit sha 7e426f93f8f9042e6eeb507d74d729ef6f4b57d5

choix d'adresse

view details

push time in 6 days

push eventddtm62/logo

kpym

commit sha 7cc25d0a6705ceb9d1350e61c0ee0dd5e8f95129

changement passage à la ligne dans le logo de la DDTM

view details

push time in 7 days

push eventddtm62/logo

kpym

commit sha e836644f2e9295554aaaed86dc6de05a3bb0791b

lien vers les téléphones + taille de police en rem

view details

push time in 9 days

push eventddtm62/logo

kpym

commit sha 73b890d1432ec1d1831a3a5a2f9e615b8763b97b

utilisation de <picture> est seulement deux choix d'images

view details

push time in 9 days

push eventddtm62/logo

kpym

commit sha cb18b1587f76b3f0605eb3cb07ab7c1d29efcae7

suppression espace entre les images de la signature

view details

push time in 9 days

push eventkpym/urlencode

kpym

commit sha cdfef5a1e1ffda91c052e9693a4f867faa93af3e

switch to console coloring in README

view details

push time in 10 days

issue commentgolang/go

proposal: net/url: provide URIEscape method

@rsc It depends what you meen by 'appropriate'. PathEscape works but is not optimal because it apply percent encoding to some character that do not need to be escaped.

I don't think that you can put the data URI in url.URL and hope to be parsed correctly because it is not an URL. The data URI can be composed for example of a single svg file, that is not an URL. And if you want to put a text that looks like an url in a data URI it will be badly escaped, for example the query part will use + for spaces that is not allowed in data URI.

As I said in my question, the data URI allows more characters to be non escaped.

kpym

comment created time in 10 days

push eventddtm62/logo

kpym

commit sha 55da9db375090d6737a8c74b6f2928efdf720389

rajout section sur la hauteur des logos

view details

push time in 10 days

push eventddtm62/logo

kpym

commit sha ae86de11792b113aea972072e4c030e2473e73e4

rajout section sur la hauteur des logos

view details

push time in 10 days

created tagkpym/urlencode

tagv0.5.1

cli tool to encode stdin to URL

created time in 10 days

push eventkpym/urlencode

kpym

commit sha 09cede27d8db4b685a1c6e493bfd6343d41644c4

correct bug in -keep-spaces

view details

push time in 10 days

push eventddtm62/logo

kpym

commit sha 319c1d549df7d8f7aa4d0588dcf3472fe886e292

correction coauilles dans le README

view details

push time in 10 days

push eventddtm62/logo

kpym

commit sha f772ae6796209f07574ae25de7a4628caf84e986

empèche la génération de lien automatique dans la signature

view details

push time in 10 days

push eventddtm62/logo

kpym

commit sha 8c754772cfa11f29d08d64c65184768059409b64

rajout des versions noir et blanc pour les svg

view details

push time in 10 days

push eventddtm62/logo

kpym

commit sha 56fa0048aa6060d2ec30af4b7a80552ae17f5112

optimization des png, supression des gif, signature en png prioritaire

view details

push time in 10 days

push eventddtm62/logo

kpym

commit sha 311e6eb25ff720c4f6e250964f88e65fb15f5049

optimization des png, supression des gif, signature en png prioritaire

view details

push time in 10 days

push eventddtm62/logo

kpym

commit sha bdc8ff9040a96102de2b879cc79b055377afa010

optimization des png, supression des gif, signature en png prioritaire

view details

push time in 11 days

push eventddtm62/logo

kpym

commit sha cd78669ff7df623c60aaaa877beab1840a55e682

optimization des png, supression des gif, signature en png prioritaire

view details

push time in 11 days

push eventddtm62/logo

kpym

commit sha 04c84454521ce5548ce821bb20322bcb374377a3

optimization des png, supression des gif, signature en png prioritaire

view details

push time in 11 days

push eventddtm62/logo

kpym

commit sha d168981af704d542aa287fdc10ea448274051bb2

rajout du logo en haut du README

view details

push time in 11 days

push eventddtm62/logo

kpym

commit sha 4ce2ae1eb163548a8852699eb12a80d121d91d70

tentative de suppression première ligne dans github pages

view details

push time in 11 days

push eventddtm62/logo

kpym

commit sha e5d5b6ca4b9cf7cd904bad6556d1b64e4bf0c145

changement d'url ddtm-arras => ddtm62

view details

push time in 11 days

push eventddtm-arras/logo

kpym

commit sha ce8105974507000810e67de7e0f9f4b7c4c9ef31

correction bug dans dans le générateur de signature

view details

push time in 11 days

push eventddtm-arras/logo

kpym

commit sha f10ee6017fda59dc9bd96f2efa74d64994237226

correction bug dans dans le générateur de signature

view details

push time in 11 days

push eventddtm-arras/logo

kpym

commit sha 9aecdb208825f465b14b56b0949fdcaccb5ef87a

correction bug dans dans le générateur de signature

view details

push time in 11 days

push eventddtm-arras/logo

kpym

commit sha c211f6c8aa245af880bae57749a223d37938e18a

corrections d'orthographe

view details

push time in 11 days

push eventddtm-arras/logo

kpym

commit sha dd65a790ada8c9ac8d30c507d474a7c9c2f8d77c

corrections d'orthographe

view details

push time in 11 days

push eventddtm-arras/logo

kpym

commit sha c51df6b0d268ae5af5d8c9fe92d4024cbba03dc0

corrections d'orthographe

view details

push time in 11 days

issue openedgolang/go

Proposal : [net/url] Provide URIEscape method

<!-- Please answer these questions before submitting your issue. Thanks! For questions please use one of our forums: https://github.com/golang/go/wiki/Questions -->

What version of Go are you using (go version)?

<pre> $ go version go version go1.15 windows/amd64 </pre>

Does this issue reproduce with the latest release?

yes

What operating system and processor architecture are you using (go env)?

Irrelevant

What did you do?

I want to encode data for Data URI as specified in rfc3986 section 2.4.

For example if I want to use Data URI for svg image like data:image/svg+xml,... the svg code should be escaped. And I don't want to use base64 because this makes the data more than 30% bigger.

What did you expect to see?

I would like to have a function URIEscape (that should be very close to the internal escape(s, encodeZone ) I think).

What did you see instead?

There is PathEscape that can be used to escape the data but such encoded data is bigger than needed because some symbols that do not need escape are percent escaped.

Notes :

  • In JavaScript there exists encodeURI which keeps more unescaped symbols than any of the options in shouldEscape (for example # is unescaped).
  • It seems that the spaces can be preserved even if this is not standard, as explained here.

created time in 11 days

created tagkpym/urlencode

tagv0.5.0

cli tool to encode stdin to URL

created time in 12 days

push eventkpym/urlencode

kpym

commit sha db49cb67fceb70eaaa96ec81a0d155dbae979ab9

simplified help and better README

view details

push time in 12 days

created tagkpym/urlencode

tagv0.4.0

cli tool to encode stdin to URL

created time in 12 days

push eventkpym/urlencode

kpym

commit sha fe1847496b31dbcf6fa07546e85b2490b7736168

add package to thatisuday/go-cross-build@v1 task in the workflow

view details

kpym

commit sha 5548773e16173cbb1bfbfd3d107483b73f6dab0e

add go modules

view details

kpym

commit sha f2c7e502cb4feedaddb7414c6f0ef38a2b08f29d

use goreleaser and new help

view details

push time in 12 days

push eventddtm-arras/logo

kpym

commit sha fd552bcbebf29da661ff459cea6abcb7909ff8bb

améliore dans le cas d'un seul numéro de téléphone

view details

push time in 12 days

push eventddtm-arras/logo

kpym

commit sha 828b2795d1c43211a3be577f3c58f7f4e5d23e81

passage de tikz en tex avec des couleurs cmyk

view details

push time in 12 days

push eventddtm-arras/logo

kpym

commit sha 95797dd3f6a96f2d4be85f0956ab3ac1220a80d1

rajout lien dans le titre

view details

push time in 12 days

push eventddtm-arras/logo

kpym

commit sha 4c41d702f562bd04bd814749315e2e531451ca31

rajout lien dans le titre

view details

push time in 12 days

push eventddtm-arras/logo

kpym

commit sha 54861ce6ca9ea732813b4345c76617285668c46c

rajout lien dans le titre

view details

push time in 12 days

push eventddtm-arras/logo

kpym

commit sha b4f158bddccf0085630ac752262e0d789c0ba979

rajout lien dans le titre

view details

push time in 12 days

startedjohnfercher/maroto

started time in 12 days

push eventddtm-arras/logo

kpym

commit sha ae7f7e7653b84c446fdb8aeb3f06f3772ca99a50

rajout lien dans le titre

view details

push time in 12 days

push eventddtm-arras/logo

kpym

commit sha 7dc7a0ddf17bf312d0872decec1d12be1d718dc8

rajout logo de la préfécture

view details

push time in 12 days

release kpym/urlencode

v0.3

released time in 13 days

created tagkpym/urlencode

tagv0.3

cli tool to encode stdin to URL

created time in 13 days

release kpym/urlencode

v0.2

released time in 13 days

created tagkpym/urlencode

tagv0.2

cli tool to encode stdin to URL

created time in 13 days

release kpym/urlencode

v0.1

released time in 13 days

created tagkpym/urlencode

tagv0.1

cli tool to encode stdin to URL

created time in 13 days

push eventkpym/urlencode

kpym

commit sha 30c1a8c4a0ae0dd81aa3f3acffa79b1c70208f27

add github actions to generates cross-platform executable files

view details

push time in 13 days

push eventkpym/urlencode

Kroum Tzanev

commit sha f8c7eb7448113689f7a8c39980a831068793f340

Initial commit

view details

push time in 13 days

create barnchkpym/urlencode

branch : main

created branch time in 13 days

created repositorykpym/urlencode

cli tool to encode stdin to URL

created time in 13 days

push eventddtm-arras/logo

kpym

commit sha 12ce2ba26d7132e4b6e82bd31ffd56d2035dd50c

meilleure compression du svg en data uri

view details

push time in 13 days

push eventddtm-arras/logo

kpym

commit sha 3351fc8e0245bf45bee7a0a2f2fdf997e7f7e101

meilleure compression du svg en data uri

view details

push time in 13 days

push eventddtm-arras/logo

kpym

commit sha 82f57597387c5fcbed2816cce86a128501bbd49d

meilleure compression du svg en data uri

view details

push time in 13 days

push eventddtm-arras/logo

kpym

commit sha 36d73449ef2c6921579047efc845aad6778a657f

meilleure compression du svg en data uri

view details

push time in 13 days

push eventddtm-arras/logo

kpym

commit sha dab8a0e79134042e7c49e254ded797cc7576191a

meilleure compression du svg en data uri

view details

push time in 13 days

push eventddtm-arras/logo

kpym

commit sha aae48d8914a2db7ae0ac0e458f23db18162d4d26

inconvenientS

view details

push time in 13 days

push eventddtm-arras/logo

kpym

commit sha 2c7cefb30b8b9c894d95120a6de48e7b5bafc93b

ajustements visuels

view details

push time in 13 days

more