Listing posts

Displaying posts 1 - 5 of 219 in total
Destiny Child game resources
mouse 57 · person cloud · link
Last update
2020-01-14
2020
01-14
« — »

User ID

1
[Cloud] [by7gk8yhh4ji]

Teams

N. Scope Notes Members
1 Ragna:Break DoT, ~600k Dana, BFMaat, Mars, Melpomene, IChang'e
2 Story exp Charlotte, Maat, X, Y, Z
" NW/Dungeon LvlUp/Enh exp "
3 NW/Dungeon Gold exp Dana, BFMaat, Charlotte, Mafdet, IChang'e
" NW/Dungeon Evol exp "
4 NW/Re:Birth Lab exp, Lv2+3 Dana, Merlin, Lan Fei, Mafdet, Hermes
" " exp, Lv3 Dana, Syrinx, Charlotte, Freesia, IChang'e
5 NW/Devil Rumble/PVP exp Dana, BFMaat, Charlotte, Lan Fei, IChang'e
6 NW/Dungeon Narr exp Syrinx, Jupiter, Charlotte, PowerUp, IChang'e
-- NW/Underground exp Dana, Merlin, Lan Fei, Charlotte, IChang'e

Events

Resources

Tools/Extra

Best leveling areas (exp/stamina ratio)

level nrm% st exp hard%
ch1
4-6 8.4 9 76 9.2
5-1 8.0 10 80 9.5
5-8 9.0 11 99 10.6
6-1 9.3 12 112 11.0
6-8 10.3 13 134 12
ch2
1-4 14.04 25 351
2-4 15.88 25 397

~~~ * ~~~

TRIM an entire device/partition
mouse 453 · person cloud · link
Last update
2020-01-07
2020
01-07
«trim/discard ssd/memory card partition/device»
1
2
3
blkdiscard /dev/sdx  # trim entire disk
blkdiscard /dev/sdxy # trim partition only
blkdiscard /dev/mmcblkxpy

~~~ * ~~~

Torta cremosa alla ricotta
mouse 86 · person cloud · link
Last update
2019-12-31
2019
12-31
« — »
Cover original

Ingredienti:

  • 500gr ricotta
  • 120gr zucchero
  • 100gr farina 00
  • 100ml latte
  • 1x uova
  • 1x bustina vanillina (o buccia grattuggiata di limone/arancia)
  • granella di pistacchi (e/o gocce di cioccolato)

Procedimento:

  1. Amalgamare ricotta, zucchero
  2. Incorporare latte e uova
  3. Incorporare farina, vanillina, granella
  4. Versare in uno stampo incartato e infornare a 160 gradi per 45 minuti
  5. Decorare con ulteriore granella

Fonte: blog giallozafferano

Vedi anche Crostata alla ricotta per una ricetta con la frolla.


~~~ * ~~~

Systemd services commands
mouse 556 · person cloud · link
Last update
2019-12-31
2019
12-31
« — »
1
2
3
4
5
6
7
8
9
10
11
12
13
systemctl # list running services

# basic service management
systemctl start      foo.service
systemctl stop       foo.service
systemctl restart    foo.service
systemctl status     foo.service

# manage start on boot
systemctl enable     foo.service
systemctl disable    foo.service
systemctl is-enabled foo.service
systemctl list-unit-files # see all enabled/disable units

Debug and logs:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
journalctl            # inspect all logs
journalctl -b-1 -e    # inspect last boot logs

systemd-analyze blame # time consumed

cat /var/log/boot.log

# boot graphs:
apt-get install graphviz
systemd-analyze plot > boot-chart.svg
systemd-analyze           dot | dot -Tsvg > boot-full.svg
systemd-analyze --order   dot | dot -Tsvg > boot-order.svg
systemd-analyze --require dot | dot -Tsvg > boot-require.svg

systemctl list-dependencies
systemd-analyze critical-chain

Add a new unit (see docs):

1
2
3
4
ln -f /opt/systemd-units/name.service /lib/systemd/system/
systemctl enable name.service

systemctl daemon-reload # reload all modified units

Note: Do NOT use symlinks otherwise systemd won't enable them.


Source: Dynacont


~~~ * ~~~

Linux on HiDPI attachment
mouse 1046 · person cloud · link
Last update
2019-12-30
2019
12-30
«retina screen/monitor/display high resolution»

Here are my settings for my slimbook pro2 with a QHD+ 3200x1800 HiDPI display:

XFCE

Go to: Settings Manager > Appearance > Fonts > DPI = 192

X Server

Use Pitagora's theorem to determine screen size:

1
2
3
echo 'scale=5;sqrt(3200^2+1800^2)'   | bc  # 3671.51195 px
echo 'scale=5;(13.3/3671)*3200*25.4' | bc  #  294.23360 mm
echo 'scale=5;(13.3/3671)*1800*25.4' | bc  #  165.50640 mm

then tell them to Xorg:

1
2
3
4
5
# /etc/X11/xorg.conf -- generate one with: Xorg -configure
Section "Monitor"
  # check "xdpyinfo | grep -B 2 resolution" for curret DPI
  DisplaySize 294 165 # in millimeters
EndSection

You can also set the DPI manually with: xrandr --dpi 144.

GRUB

Download the terminus-32.pf21 (see attachment) and then:

1
2
echo 'GRUB_FONT="/boot/grub/terminus-32.pf2"' >> /etc/default/grub
update-grub

WINE

Run winecfg and change the dpi setting found in the Graphics tab.

OpenJDK/Oracle Java

1
2
3
4
5
java \
  -Dsun.java2d.uiScale=2     \
  -Dsun.java2d.dpiaware=true \
  -Dsun.java2d.xrender=true  \
  -jar application.jar

Linux console

1
dpkg-reconfigure console-setup # and choose terminus 16x32

XTerm

Put in your ~/.Xresources:

1
2
3
4
! xterm ttf font (so it scales on hidpi displays)
XTerm*renderFont: true
XTerm*faceName: Monospace
XTerm*faceSize: 18

then load it via xrdb -merge ~/.Xresources.


Multiple displays

To have a non-HiDPI monitor (on DP1) right of an internal HiDPI display (eDP1), one could run:

  • extending:
1
xrandr --output eDP-1 --auto --output DP-1 --auto --scale 2x2 --right-of eDP-1

or use this automated script (see attachment):

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

# https://gist.github.com/wvengen/178642bbc8236c1bdb67
#
# extend non-HiDPI external display on DP* above HiDPI internal display eDP*
# see also https://wiki.archlinux.org/index.php/HiDPI
# you may run into https://bugs.freedesktop.org/show_bug.cgi?id=39949
#                  https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/883319

EXT=`xrandr --current | sed 's/^\(.*\) connected.*$/\1/p;d' | grep -v ^eDP | head -n 1`
INT=`xrandr --current | sed 's/^\(.*\) connected.*$/\1/p;d' | grep -v ^DP | head -n 1`

ext_w=`xrandr | sed 's/^'"${EXT}"' [^0-9]* \([0-9]\+\)x.*$/\1/p;d'`
ext_h=`xrandr | sed 's/^'"${EXT}"' [^0-9]* [0-9]\+x\([0-9]\+\).*$/\1/p;d'`
int_w=`xrandr | sed 's/^'"${INT}"' [^0-9]* \([0-9]\+\)x.*$/\1/p;d'`
off_w=`echo $(( ($int_w-$ext_w)/2 )) | sed 's/^-//'`

xrandr --output "${INT}" --auto --pos ${off_w}x${ext_h} --scale 1x1 --output "${EXT}" --auto --scale 2x2 --pos 0x0 --right-of "${INT}"
  • panning:
1
2
3
4
5
6
7
# panning with AxB HiDPI, CxD external, ExF scale factor, external on the right:
xrandr --output eDP-1 --auto --output HDMI-1 --auto \
  --panning [C*E]x[D*F]+[A]+0 --scale [E]x[F] --right-of eDP-1

# example with 4k (3840x2160) + FullHD (1920x1080) on the right
xrandr --output eDP-1 --auto --output DP-1 --auto \
  --panning 3840x2160+3840+0 --scale 2x2 --right-of eDP-1
  • manual positioning:
1
2
3
4
5
6
7
8
9
# AxB HiDPI, CxD external, [ExF] scaling factor, external above:
xrandr --output eDP-1 --auto --pos 0x(DxF) \
  --output HDMI-1 --auto --scale [E]x[F] --pos 0x0 \
  --fb [max(A, (C*E))]x[B+(D*F)]

# example with 2560x1440 + 1920x1080 above
xrandr --output eDP-1 --auto --pos 0x1458 \
  --output HDMI-1 --scale 1.35x1.35 --auto --pos 0x0 \
  --fb 2592x2898

and adjust the sharpness parameter on your monitor settings to adjust the blur level introduced with scaling.


Source: Archlinux Wiki