Skip to content

Instantly share code, notes, and snippets.

View moul's full-sized avatar
🌸
Creating languages for coordinated impact.

Manfred Touron moul

🌸
Creating languages for coordinated impact.
View GitHub Profile
French (Phonétique) English (Phonetics) Serbian (Фонетика) German (Phonetik) Portuguese (Fonética) Hindi (ध्वन्यात्मक) Korean (발음) Spanish (Fonética) Lebanese Arabic (Phonetics) Romanian (Fonetică) Turkish (Fonetik) Greek (Φωνητικά)
Bonjour (matin) (bɔ̃ʒuʁ) Good morning (ɡʊd ˈmɔːrnɪŋ) Dobro jutro (dobro jutro) Guten Morgen (guten morgen) Bom dia (bom dia) सुप्रभात (suprabhaat) 좋은 아침입니다 (joeun achimimnida) Buenos días (bwenos días) صباح الخير (ṣabāḥ al-khair) Bună dimineața (bună dimineața) Günaydın (günaıdın) Καλημέρα (Kaliméra)
████ ██████████ ████████ ████████
░░███ ░███░░░░███ ███░░░░███ ███░░░░███
░███ ░░░ ███ ░███ ░███ ░███ ░███
░███ ███ ░░████████ ░░█████████
░███ ███ ███░░░░███ ░░░░░░░███
░███ ███ ░███ ░███ ███ ░███
> gno test .
panic("should not happen")
@moul
moul / 1.c
Last active October 20, 2023 16:18
txtar linguist mode comparison
# test for add package
## start a new node
gnoland start
# add registry
gnokey maketx addpkg -pkgdir $WORK/registry -pkgpath gno.land/r/registry -gas-fee 1000000ugnot -gas-wanted 2000000 -broadcast -chainid=tendermint_test test1
# we call Transfer with foo20, before it's registered
gnokey maketx call -pkgpath gno.land/r/registry -func TransferByName -args 'foo20' -args 'g123456789' -args '42' -gas-fee 1000000ugnot -gas-wanted 2000000 -broadcast -chainid=tendermint_test test1
@moul
moul / script.go
Last active January 23, 2024 13:23
gnokey maketx run
package main
import (
"std"
"gno.land/p/demo/bf"
"gno.land/p/demo/ufmt"
"gno.land/r/demo/tests"
"gno.land/r/demo/users"
)
// https://twitter.com/jaekwon/status/1713308824269144423
type Auth interface {
Owner() std.Address
Kind() string
Verify() bool
}
type origAuth struct{ addr std.Address }
@moul
moul / profiles.js
Last active September 9, 2023 17:24
Life in Weeks - Dev
processProfiles({
"Einstein": {
"birthDate": "1879-03-14",
"title": "Einstein’s Life in Weeks",
"yearsToShow": "76",
"eventsData": {
"events": [
{ "begin": "1895-10-03", "end": "1900-07-28", "description": "Studied at Zurich Polytechnic", "color": "#DEB887" },
{ "begin": "1902-06-01", "end": "1909-01-15", "description": "Worked at Swiss Patent Office in Bern", "color": "#8B4513" },
{ "begin": "1902-10-16", "end": "1909-07-15", "description": "Employed at Swiss Patent Office", "color": "#8B4513" },
@moul
moul / 100runs.svg
Last active July 4, 2023 10:42
perf gno cli
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@moul
moul / README.md
Created June 23, 2023 11:41
compilation of links related to go improvements (gno)
  • golang/go#23157 -> Proposal: Make Go2 better implement the Object-capability model for security
  • HogLang/hog#1 -> Master Issue of Go1 Issues to consider
  • golang/go#19921 -> proposal: spec: remove complex numbers
  • golang/go#21538 -> Proposal: use a value other than nil for uninitialized interfaces
  • golang/go#24635 -> proposal: Go 2: Add typednil keyword for checking whether an interface value is a typed nil
  • golang/go#24956 -> proposal: Go 2: capability annotations
  • golang/go#22876 -> proposal: Go 2: read-only types