sudo apt-get install gnome-raw-thumbnailer ufraw-batch
Check to see if everything works, and your thumbnails show up. If not, try the next part.
import com.google.common.io.Resources; | |
import com.google.gson.GsonBuilder; | |
import com.google.gson.JsonDeserializer; | |
import com.google.gson.JsonObject; | |
import java.io.IOException; | |
import java.net.URL; | |
import java.util.logging.Level; | |
import java.util.logging.Logger; | |
import java.util.stream.Stream; |
import java.util.List; | |
import java.util.stream.IntStream; | |
import java.util.stream.Stream; | |
public class Main { | |
public static void main(String args[]) { | |
Stream<List<Integer>> stream = SlidingWindow.pagedStream(StreamableSupplier.fromStream(IntStream.range(1, 10000).boxed()), 5) | |
.apply(i -> i <= 100); | |
stream.forEach(System.out::println); |
Since the server will likely not have a UI, so the download must be done with a command
The command to download teamspeak (Find the most recent version and download instead):
wget -O teamspeak-server.tar.bz2 http://dl.4players.de/ts/releases/3.0.13.8/teamspeak3-server_linux_amd64-3.0.13.8.tar.bz2
Being a Linux desktop user is not easy, but it doesn't have to be difficult.
/etc/systemd/journald.conf
and set Storage=persistent
To create the timer described here
systemd-run --on-calendar='*-*-01 12:00:00' --unit='unbound-root-hints' \
--remain-after-exit --description='Update root hints for unbound' --property='Type=exec' \
--property='After=network.target' --timer-property='Persistent=true' \
--timer-property='RandomizedDelaySec=2s' --timer-property='AccuracySec=1us' \
/usr/bin/curl -o /etc/unbound/root.hints https://www.internic.net/domain/named.cache
local function lazy_load() {
local -xr thunk="$(cat)"
# (u) removes duplicates
local -xr triggers=(${(u)@})
# Only if length of triggers is greater than zero
# otherwise the function will immediately execute.
import crypto from 'crypto'; | |
import assert from 'assert'; | |
const header = {"alg":"HS256","typ":"JWT"}; | |
const payload = {"loggedInAs":"admin","iat":1422779638}; | |
const unsignedToken = Buffer.from(JSON.stringify(header)).toString('base64') + | |
'.' + Buffer.from(JSON.stringify(payload)).toString('base64'); | |
const hmac = crypto.createHmac('sha256', 'secretkey'); |