Language | Source | Docs | |
---|---|---|---|
babel | Python | GitHub | http://babel.pocoo.org/ |
keepcole9/cldr | Elixir | ||
globalize.js | Javascript | GitHub | |
ICanBoogie/CLDR | PHP | ||
ICU4C | C | GitHub | http://icu-project.org/apiref/icu4c/ |
ICU4J | Java | GitHub | http://icu-project.org/apiref/icu4j/ |
Punic | PHP | GitHub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from selenium.webdriver import ActionChains | |
class Select2(object): | |
def __init__(self, element): | |
self.browser = element.parent | |
self.replaced_element = element | |
self.element = browser.find_element_by_id( | |
's2id_{0}'.format(element.get_attribute('id'))) | |
def click(self): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- encoding: utf-8 -*- | |
from sqlalchemy import (Column, Integer, ForeignKey, String, create_engine, | |
literal, null, type_coerce) | |
from sqlalchemy.dialects.postgresql import array, ARRAY | |
from sqlalchemy.ext.declarative import declarative_base | |
from sqlalchemy.orm import Session, aliased | |
Base = declarative_base() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def test_number_pattern_spec_examples(): | |
pattern = u'@@@' | |
assert numbers.format_decimal(12345, pattern) == u'12300' | |
assert numbers.format_decimal(0.12345, pattern) == u'0.123' | |
assert numbers.format_decimal(3.14159, u'@@##') == u'3.142' | |
assert numbers.format_decimal(1.23004, u'@@##') == u'1.23' | |
SCIENTIFICSTYLE = 3 |
This installs the latest podman version on a Linux Mint 21 system, using OpenSuse's kubic project's repositories.
mkdir -p /etc/apt/keyrings
curl -fsSL https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_22.04/Release.key | gpg --dearmor | sudo tee /etc/apt/keyrings/devel_kubic_libcontainers_unstable.gpg > /dev/null
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/devel_kubic_libcontainers_unstable.gpg] https://download.opensuse.org/repositories/devel:kubic:libcontainers:unstable/xUbuntu_22.04/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:unstable.list > /dev/null
apt update
apt install podman