This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ubuntu:22.04 AS builder | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| # 1. Install system dependencies | |
| RUN apt-get update && apt-get install -y \ | |
| build-essential git cmake wget unzip openjdk-17-jdk \ | |
| python3 ninja-build pkg-config ca-certificates libssl-dev \ | |
| && rm -rf /var/lib/apt/lists/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // service -> dyndnscustom | |
| // host -> | |
| $username = ""; | |
| $password = ""; | |
| $host = ""; | |
| if (empty($_SERVER["PHP_AUTH_USER"]) || $_SERVER["PHP_AUTH_USER"] != $username) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # scalling | |
| gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']" | |
| # disable indexing | |
| tracker-preferences | |
| # configure crypt in settings | |
| luksOpen /dev/... home_crypt | |
| # /etc/crypttab | |
| home_crypt UUID=...-....-....... none luks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "window.zoomLevel": 0.7, | |
| "terminal.integrated.fontFamily": "'Noto Mono', 'monospace', monospace", | |
| "terminal.integrated.fontSize": 12, | |
| "terminal.integrated.lineHeight": 1.2, | |
| "editor.tabSize": 4, | |
| "editor.fontFamily": "'Noto Mono', 'monospace', monospace", | |
| "editor.fontSize": 11, | |
| "editor.lineHeight": 1.6, | |
| "editor.letterSpacing": 0.4, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| disable core dump: | |
| /etc/security/limits.conf | |
| * hard core 0 | |
| * soft core 0 | |
| /etc/sysctl.d/9999-disable-core-dump.conf | |
| fs.suid_dumpable=0 | |
| kernel.core_pattern=|/bin/false | |
| --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=AutoSSH tunnel service | |
| After=network-online.target ssh.service | |
| [Service] | |
| User=root | |
| Restart=always | |
| ExecStart=/usr/bin/autossh -M 0 -q -N -o "ServerAliveInterval 60" -o "ServerAliveCountMax 3" admin@myip -R 2222:localhost:22 | |
| ExecStop=/usr/bin/killall -9 autossh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /etc/security/limits.conf | |
| #<user> <type> <item> <value> | |
| * soft nofile 1048576 | |
| * hard nofile 1048576 | |
| root soft nofile 1048576 | |
| root hard nofile 1048576 | |
| /etc/sysctl.conf | |
| net.ipv4.ip_local_port_range = 12000 65535 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. resend all rides to your email throught app (manual clicking but not so bad) | |
| 2. in gmail, go to settings and disable conversation mode view | |
| 3. select all emails from bold and right click to send as attachement | |
| 4. send this email to yourself | |
| 5. download all attachements | |
| 6. (optinal) revert settings in step 2. | |
| download invoices using bash: | |
| for f in * ; do | |
| URL=`grep -roh "$f" -e 'https:\/\/invoice.taxify.eu\/[^"]*'` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <scheme name="Darcula Awesome" version="142" parent_scheme="Darcula"> | |
| <metaInfo> | |
| <property name="created">2018-10-19T14:10:28</property> | |
| <property name="ide">PhpStorm</property> | |
| <property name="ideVersion">2018.2.2.0.0</property> | |
| <property name="modified">2018-10-19T14:10:31</property> | |
| <property name="originalScheme">Darcula Awesome</property> | |
| </metaInfo> | |
| <colors> | |
| <option name="BORDER_LINES_COLOR" value="0" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use debian live gnome | |
| > cat /etc/apt/sources.list.d/testing.list | |
| deb http://ftp.debian.org/debian testing main | |
| > cat /etc/apt/apt.conf.d/99defaultrelease | |
| APT::Default-Release "stretch"; | |
| apt install firmware-iwlwifi | |
| apt -t testing install gnome-shell |
NewerOlder