All New

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Login


All New Login

All gists

Recently created
Least recently created
Recently updated
Least recently updated
fabio's Avatar

fabio / Venezuelan_election_odds.py

0 likes
0 forks
1 files
Last active 1722514789
1 >>> from random import randint
2 # Number of voters
3 >>> N = 10_058_774
4 # Counter of occurrences
5 >>> cnt = 0
6 # Count how many occurrences we measure where the
7 # shares of votes exactly match their rounded
8 # representation to the first decimal digit
9 >>> for _ in range(N):
10 # Share of votes to candidate A,
fabio's Avatar

fabio / config.yaml

0 likes
0 forks
1 files
Last active 1716829951
Sample Platypush configuration file
1 ################################################################################
2 # Sample Platypush configuration file.
3 #
4 # Edit it and:
5 # - Copy it to /etc/platypush/config.yaml for system installation.
6 # - Copy it to ~/.config/platypush/config.yaml for user installation.
7 # - Start the application with `-c <path-to-this-file>`.
8 #
9 # Since the configuration file also includes the custom integrations, you can
10 # create a Platypush custom installation, with all the extra dependencies
Newer Older

Powered by Opengist ⋅ Load: 42ms⋅

English
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文