A common and reliable pattern in service unit files is thus:
NoNewPrivileges=yes
PrivateTmp=yes
PrivateDevices=yes
DevicePolicy=closed
ProtectSystem=strict
this is a rough draft and may be updated with more examples
GitHub was kind enough to grant me swift access to the Copilot test phase despite me @'ing them several hundred times about ICE. I would like to examine it not in terms of productivity, but security. How risky is it to allow an AI to write some or all of your code?
Ultimately, a human being must take responsibility for every line of code that is committed. AI should not be used for "responsibility washing." However, Copilot is a tool, and workers need their tools to be reliable. A carpenter doesn't have to
If you're a privacy enthusiast, you probably clicked a link to this post thinking it's going to vindicate you; that it's going to prove how you've been right all along, and "normies just don't care about privacy", despite your best efforts to make them care. That it's going to show how you're smarter, because you understand the threats to privacy and how to fight them.
Unfortunately, you're not right. You never were. Let's talk about why, and what you should do next.
So, first of all, let's dispense with the "normie" term. It's a pejorative term, a name to call someone when they don't have your exact set of skills and interests, a term to use when you want to imply that someone is clueless or otherwise below you. There's no good reason to use it, and it suggests that you're looking down on them. Just call them "people", like everybody else and like yourself - you don't need to turn them into a group of "others" to begin with.
Why does that matter? Well, would *y
<h1>Usage Template</h1> | |
<h2>With integer to decimal conversion</h2> | |
<p> | |
{% include numf.html number=12345 %} <!-- output is 12.345,00 --><br /> | |
{% include numf.html number=12345 decimals=0 %} <!-- output is 12.345 --><br /> | |
{% include numf.html number=12345 decimals=4 %} <!-- output is 12.345.0000 --><br /> | |
{% include numf.html number=12345 ds='.' ts=',' %} <!-- output is 12,345.00 --><br /> | |
</p> |
{% include numberWithCommas.html number=1 %} | |
{% include numberWithCommas.html number=12 %} | |
{% include numberWithCommas.html number=123 %} | |
{% include numberWithCommas.html number=1234 %} | |
{% include numberWithCommas.html number=12345 %} | |
{% include numberWithCommas.html number=123456 %} | |
{% include numberWithCommas.html number=1234567 %} | |
{% include numberWithCommas.html number=12345678 %} | |
{% include numberWithCommas.html number=123456789 %} | |
{% include numberWithCommas.html number=1234567890 %} |
#!/bin/bash | |
# Example: | |
# > echo "key1 value1 key2 value2" | ./key_value_pipe_to_json.sh | |
# {'key1': value1, 'key2': value2} | |
arr=(); | |
while read x y; | |
do |
import numpy as np | |
from scipy.stats import entropy | |
from math import log, e | |
import pandas as pd | |
import timeit | |
def entropy1(labels, base=None): | |
value,counts = np.unique(labels, return_counts=True) | |
return entropy(counts, base=base) |
# please read every steps as this is not an automated script | |
# tested on LXC alpine 3.12 | |
# 2.3.8 compatible only with php 7.2 (alpine 3.9) | |
vi /etc/apk/repositories # change to 3.9 | |
# update and install | |
apk update && apk add php php-dom php-simplexml php-json php-gd php-mbstring php-xml php-tidy php-iconv php-curl php-gettext php-tokenizer php-bcmath php-intl php-session php-fpm php-pdo_mysql mariadb mariadb-client nginx iproute2 | |
# start at boot |
# https://github.com/adafruit/micropython-adafruit-ssd1306/blob/master/ssd1306.py | |
# https://learn.adafruit.com/micropython-hardware-ssd1306-oled-display/micropython | |
import machine | |
import ssd1306 | |
i2c = machine.I2C(-1, machine.Pin(5), machine.Pin(4)) | |
oled = ssd1306.SSD1306_I2C(128, 32, i2c) | |
oled.fill(1) | |
oled.show() |
server { | |
listen 80; | |
listen [::]:80; | |
server_name radio.example.com; | |
proxy_set_header Host $host; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
proxy_set_header X-Forwarded-Host $host; | |
proxy_set_header X-Forwarded-Server $host; | |
proxy_set_header X-Real-IP $remote_addr; | |
location / { |