Substack https://aljamal.substack.com/p/homoiconic-python
atom=lambda x:not isinstance(x,list)
eq=lambda x,y:x == y
car=lambda x:x[0]
cdr=lambda x:x[1:]
Substack https://aljamal.substack.com/p/homoiconic-python
atom=lambda x:not isinstance(x,list)
eq=lambda x,y:x == y
car=lambda x:x[0]
cdr=lambda x:x[1:]
We are turning off PATH, JAVA_HOME modifications so we can install multiple versions of Java, and set PATH as needed per-project. However
jps
)winget install --interactive BellSoft.LibericaJDK.11
Interactively set this location C:\JDK\11
, and turn off PATH, JAVA_HOME, and Jar assotiation
# this is /etc/default/tomcat-shsha | |
TOMCAT=/srv/tomcat | |
JAVA_OPTS=-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager \ | |
-Djdk.tls.ephemeralDHKeySize=2048 \ | |
-Djava.protocol.handler.pkgs=org.apache.catalina.webresources \ | |
-Dorg.apache.catalina.security.SecurityListener.UMASK=0027 \ | |
-Dhazelcast.logging.type=log4j2 \ | |
--add-modules java.se \ | |
--add-exports java.base/jdk.internal.ref=ALL-UNNAMED \ |
ZFS on Debian w/o systemd?
ZFS Ubuntu 18.04
https://github.com/zbm-dev/zfsbootmenu/wiki/Void-Linux----Single-disk-syslinux-MBR
https://didrocks.fr/2020/06/16/zfs-focus-on-ubuntu-20.04-lts-zsys-dataset-layout/
? https://www.alibabacloud.com/blog/use-your-storage-space-more-effectively-with-zfs-exploring-datasets_594180
https://www.reddit.com/r/zfs/comments/mj4nfa/ubuntu_server_2104_native_encrypted_root_on_zfs/
https://gitlab.com/Sithuk/ubuntu-server-zfsbootmenu
property.level = info | |
property.path = logs | |
property.filename = shsha | |
property.layout_pattern = %d{yyyy-MM-dd HH:mm:ss} %-5p %c{-10}:%L - %m%n | |
property.console_pattern = %d{HH:mm:ss} %-5p %c{-10}:%L - %m%n | |
appender.console.type = Console | |
appender.console.name = STDOUT | |
appender.console.layout.type = PatternLayout | |
appender.console.layout.pattern = ${console_pattern} |
# docker-compose.yml, v3.5 allows defining networks right here | |
version: "3.5" | |
services: | |
mssql: | |
image: mcr.microsoft.com/mssql/server:2019-latest | |
container_name: mssql | |
volumes: | |
- mssql-data:/var/opt/mssql | |
networks: |
[Desktop Entry] | |
Version=1.0 | |
Type=Application | |
Name=NetBeans | |
Icon=/home/mz0/t/nb12.2/netbeans/nb/netbeans.png | |
Exec=/home/mz0/t/nb12.2/netbeans/bin/netbeans | |
Comment=Apache NetBeans IDE 12.2 | |
Categories=Development;IDE; | |
Terminal=false | |
StartupWMClass=Apache NetBeans IDE 12.2 |
CREATE TABLE upMsg ( | |
id int, | |
msg varchar(31) | |
); | |
insert into upMsg values (1, "Foo"); | |
insert into upMsg values (2, "Bar"); | |
CREATE TABLE dnMsg ( | |
ni int not null auto_increment primary key, | |
id int not null, |
package main | |
import ( | |
"fmt" | |
"os" | |
"strconv" | |
"time" | |
linuxproc "github.com/c9s/goprocinfo/linux" | |
) |
processor : 0 | |
physical id : 0 | |
core id : 0 | |
apicid : 0 | |
processor : 1 | |
physical id : 1 | |
core id : 0 | |
apicid : 32 |