Compare commits

...

10 commits

Author SHA1 Message Date
Marc Beninca
9e991cded3
forgejo/runner 2024-03-16 09:02:50 +01:00
Marc Beninca
fe1a009619
forgejo 2024-03-15 16:50:38 +01:00
Marc Beninca
0a783fcdac
codium/trust,project 2024-03-09 00:00:04 +01:00
Marc Beninca
e665c81a2d
python/link,stdlib 2024-03-08 23:59:39 +01:00
Marc Beninca
e488cf47cb
lint 2024-03-08 23:57:16 +01:00
Marc Beninca
b0a13d7261
dns/sshfp 2024-03-04 20:54:57 +01:00
Marc Beninca
b8f765eae7
dns-fpr-ssh 2024-03-04 20:14:15 +01:00
Marc Beninca
38a828da88
ssh/public 2024-03-04 20:03:41 +01:00
Marc Beninca
b1b492f84f
dane 2024-03-04 19:05:40 +01:00
Marc Beninca
e813b56ce9
codium 2024-03-04 12:17:42 +01:00
9 changed files with 187 additions and 3 deletions

View file

@ -13,9 +13,11 @@ RTFD
public/bind9/index public/bind9/index
public/c/index public/c/index
public/certbot/index public/certbot/index
public/codium/index
public/connect/index public/connect/index
public/coreutils/index public/coreutils/index
public/curl/index public/curl/index
public/dane/index
public/dd/index public/dd/index
public/debian/index public/debian/index
public/debmirror/index public/debmirror/index
@ -25,6 +27,7 @@ RTFD
public/fcgiwrap/index public/fcgiwrap/index
public/ffmpeg/index public/ffmpeg/index
public/firefox/index public/firefox/index
public/forgejo/index
public/git/index public/git/index
public/git-bash/index public/git-bash/index
public/gitlab-ci/index public/gitlab-ci/index

View file

@ -54,3 +54,18 @@ Domain
12.3.2.1.in-addr.arpa. IN PTR server.sub.domain.tld. 12.3.2.1.in-addr.arpa. IN PTR server.sub.domain.tld.
34.3.2.1.in-addr.arpa. IN PTR dl.sub.domain.tld. 34.3.2.1.in-addr.arpa. IN PTR dl.sub.domain.tld.
56.3.2.1.in-addr.arpa. IN PTR sub.domain.tld. 56.3.2.1.in-addr.arpa. IN PTR sub.domain.tld.
SSHFP
-----
= =======
4 ed25519
= =======
= ======
2 sha256
= ======
::
@ IN SSHFP 4 2 …

View file

@ -0,0 +1,66 @@
******
codium
******
download
========
* https://open-vsx.org
setup
=====
* ~/.vscode-oss
* ~/.config/VSCodium/User/settings.json
.. code-block:: json
{
"extensions.autoUpdate": false,
"redhat.telemetry.enabled": false,
"security.workspace.trust.enabled": false,
"sonarlint.ls.javaHome": "/usr/lib/jvm/default-java",
"window.zoomLevel": 1.15,
"workbench.iconTheme": "material-icon-theme",
"workbench.startupEditor": "none"
}
workspace
=========
* name.code-workspace
.. code-block:: json
{
"folders":[
"/rwx/rwx",
"/rwx/drmp",
"/rwx/ilos",
"/rwx/lsgm",
"/rwx/mrmp",
"/rwx/ofsp",
"/rwx/rtfd"
]
}
project
=======
* /child/.vscode/settings.json
.. code-block:: json
{
"python.analysis.extraPaths": [
"/parent"
]
}
shortcuts
=========
================ ===============
Ctrl + Shift + I Format Document
Ctrl + Shift + P command
================ ===============

View file

@ -0,0 +1,12 @@
****
dane
****
compute
=======
.. code-block:: shell
openssl x509 -noout -fingerprint -sha512 -in domain.tld.crt \
| awk --field-separator '=' '{print tolower($2)}' \
| tr --delete ':'

View file

@ -0,0 +1,59 @@
*******
Forgejo
*******
Packages
========
* git
* git-lfs
Users
=====
.. code-block::
adduser \
--disabled-password \
--group \
--home '/home/git' \
--shell '/usr/bin/bash' \
--system \
git
Files
=====
* /etc/systemd/system/forgejo.service
* /usr/local/bin/forgejo
* /usr/local/bin/forgejo-runner
Config
======
.. code-block::
mkdir '/etc/forgejo'
chown root:git '/etc/forgejo'
chmod 770 '/etc/forgejo'
Data
====
.. code-block::
mkdir '/var/lib/forgejo'
chown git:git '/var/lib/forgejo'
chmod 750 '/var/lib/forgejo'
Enable
======
.. code-block::
systemctl enable forgejo
Interface
=========
* http://localhost:3000

View file

@ -9,8 +9,16 @@ Hello world
if __name__ == "__main__": if __name__ == "__main__":
print("Hello, world!") print("Hello, world!")
Directories Files
----------- -----
Links
^^^^^
.. code-block:: python3
os.symlink('target', 'tmp_path')
os.replace('tmp_path', 'path')
Remove Remove
^^^^^^ ^^^^^^

View file

@ -18,3 +18,10 @@ first/module.py → second/module.py
---------------------------------- ----------------------------------
* first * first
Modules
=======
.. code-block:: python3
'name' in sys.stdlib_module_names

View file

@ -23,6 +23,20 @@ Create key
.. todo:: other arguments .. todo:: other arguments
DNS fingerprint
---------------
.. code-block:: shell
ssh-keygen -f public_key -r domain.tld
Public key
----------
.. code-block:: shell
ssh-keygen -y -f private_key
Tunnel Tunnel
------ ------

View file

@ -4,7 +4,7 @@ wget
Mirror website Mirror website
-------------- --------------
.. code:: shell .. code-block:: shell
wget \ wget \
--mirror \ --mirror \