All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker
. This will install the whole docker suite, left only Tini to be compiled manually.
Atmosphère est un CFW (Custom FirmWare - Logiciel modifié) opensource avec un développement très active. Son nom n'a pas été choisi par hazard, effet les developpeurs ont découpés le code en plusieurs couches (comme celle de l'atmosphère), vous n'allez pas tout comprendre mais vous allez pouvoir retenir les quelques features les plus importantes pour une utilisation lambda.
-
Fusée - le custom bootloader, c'est la première couche lors de l'amorçage du CFW, elle permet le chargement des fichiers KIPs, le chargement d'un kernel personalisé... La configuration de ce composant se situe dans le fichier
atmosphere/BCT.ini
-
Exosphère - le custom secure monitor, c'est une réplimentation complète de la TrustZone du firmware de la Switch, permettant la récuperation d'une multitude d'informations pour les Homebrews par exemple.
#!/usr/bin/python3 | |
# -*-coding:Utf-8 -* | |
""" | |
water.py | |
======== | |
Description | |
----------- | |
Script pour récupérer des renseignements utiles au brassage sur l'eau du réseau public, et les plus récents possibles, à partir du site du ministère de la santé : "https://orobnat.sante.gouv.fr". |
#!/usr/bin/python | |
# vim: fileencoding=utf-8 | |
u'''Translate YAML written text to graphviz dot language | |
Input YAML text like below: | |
--- | |
foo: |
Title | Seen | Rating ★☆ |
---|---|---|
24 | ☑ | ★★☆☆☆ |
Ash vs Evil Dead | ☒ | ? |
Bates Motel | ☑ | ★★★☆☆ |
Battlestar Galactica | ☒ | ? |
Better Call Saul | ☑ | ★★★★★ |
Black Mirror | ☑ | ★★★★★ |
Black Sails | ☒ | ? |
Breaking Bad | ☑ | ★★★★★ |
While trying to explain Flux to a friend using words, I realized that a diagram's worth a thousand of them, and went with this.
+---------------------+
| |
| Dispatcher |
+-->| +---------------+
| +----------|----------+ |
############################## | |
#Creating a sale order including the products.# | |
import oerplib | |
oerp = oerplib.OERP('localhost', protocol='xmlrpc', port=8069) | |
user = oerp.login('user', 'passwd', 'db_name') | |
#create a dictionary with fields and their values. the dict ought to have at a minimum all the fields that are marked required=True for that model | |
sale_order_dict = { | |
'picking_policy': 'direct', | |
'currency_id': 98, |
""" | |
RSS Extension | |
============= | |
Summary | |
------- | |
An extension to Python-Markdown that outputs a markdown document as RSS. | |
Each item in the RSS document is the content following a heading (`<h1-6>`) | |
with the "title" being the heading itself. |
import os | |
from flask import Flask, render_template, request | |
import stripe | |
stripe_keys = { | |
'secret_key': os.environ['SECRET_KEY'], | |
'publishable_key': os.environ['PUBLISHABLE_KEY'] | |
} | |
stripe.api_key = stripe_keys['secret_key'] |