I got Arch Linux ARM installed on a Lenovo Chromebook Duet! I mostly used the instructions from the Arch Wiki as reference.
INVOICECMD=./mkinvoice client.md work.client.dev assets:receivable:client:reimbursement | |
client-dry: | |
$(INVOICECMD) | |
client: | |
$(INVOICECMD) -m -p | |
@read -p "press enter to commit, or ctrl-c to cancel: " | |
$(INVOICECMD) -c |
_APP_ENV=production | |
_APP_LOCALE=en | |
_APP_OPTIONS_ABUSE=enabled | |
_APP_OPTIONS_FORCE_HTTPS=disabled | |
_APP_OPENSSL_KEY_V1=your-secret-key | |
_APP_DOMAIN=localhost | |
_APP_DOMAIN_TARGET=localhost | |
_APP_CONSOLE_WHITELIST_ROOT=enabled | |
_APP_CONSOLE_WHITELIST_EMAILS= | |
_APP_CONSOLE_WHITELIST_IPS= |
# docker network create nextcloud | |
NOTES: | |
1. certificatesresolvers.myresolver.acme.email=myemail@gmail.com | |
2. TRUSTED_PROXIES values based on your 'nexcloud network' | |
3. remove traefik.http.middlewares.nextcloud.headers.contentSecurityPolicy and | |
traefik.http.middlewares.nextcloud.headers.customFrameOptionsValue if you don't want to allow iframe your domain | |
3 | |
# cat docker-compose.yml |
User local install as much as possible, leaving system-wide kit (e.g. python & python-pip .debs) alone. Tested on Debian, Ubuntu, Mint & ChromeOS/Crostini.
Set up the dev environment (this is the only system-wide part):
sudo apt install build-essential libsqlite3-dev sqlite3 bzip2 libbz2-dev zlib1g-dev libssl-dev openssl libgdbm-dev liblzma-dev libreadline-dev libncursesw5-dev libffi-dev uuid-dev
Partly updated June 2023
General caution: Chrome OS is a secure OS by design, but this has at least one key consequence. If you change your Google account password, you will still be required to enter the old password the next time you access each Chrome OS device. Devices are encrypted with that password, so the OS needs to decrypt using the old password then re-encrypt using the new one. If you forget your old password you will lose access to your Chrome OS device data. As always, make sure you keep backups up to date.
If you have multiple Chrome OS accounts (Say, work and play), you can quickly sitch between them without logging out:
source: https://discuss.linuxcontainers.org/t/using-lxd-on-your-chromebook/3823 | |
ctrl-alt-t to access crosh | |
vsh termina (or vmc start termina) | |
lxc config set core.https_address :8443 | |
lxc config set core.trust_password some-password | |
# create an Ubuntu container | |
lxc launch ubuntu:18.04 c1 | |
# copy the lxc command from it |
We'll use NixOps to deploy, so we need to install it
nix-env -i nixops
And to deploy on DigitalOcean we need to have an account and create an API access token for it.
from openpyxl import load_workbook | |
# Kaynak dosyayi oku | |
dosya = load_workbook('deneme.xlsx') | |
# icindeki tablo isimlerini yazdir | |
print(dosya.get_sheet_names()) | |
# ben bos dosya kullandim. icinde Sheet1 vardi | |
# sayfa degiskeni, artik Sheet1 |
#!/usr/bin/env python3 | |
import sys | |
import os | |
import xml.etree.ElementTree as ET | |
# Argüman kontrolü | |
if not len(sys.argv) == 2: | |
print("[!] Argüman sayısı uyumsuz. Uygulamaya argüman olarak dosya yolunu vermelisiniz.") | |
print("[+] Kullanımı: python3 %s pspec.xml" % sys.argv[0]) |