-
Xorg
Generate config file: Test config file: If everything is fine, move to /etc/X11 Start X11 Make sure you are in video and render groups If not If you want to run something when the X start: REFERENCES:
-
Vim: Equal Sign
Primarily used to indent But you can use it to “pipe” it to external command by setting the ‘equalprg’ or ‘ep’. Now we can pipe input from Vim to md5 and back to Vim. when we press “==” it will cut the word “hello” pipe “hello” to md5 and output the result back to vim
-
WordPress: HTTPS Redirect from Cloudflare
-
Open a CSV File on Excel
Open your CSV file in text editor and add sep=, on the first line. Or
-
PHP Enum
Types Built-in Static Function Enum::cases() Built-in Attribute Enum::CASE->name Enum::CASE->value
-
SSH Forwarding
Forward local socket /tmp/mysqld.sock to remote socket /var/run/mysqld/mysqld.sock Forward local port 0.0.0.0:5555 to remote socket /var/run/mysqld/mysqld.sock Forward local 0.0.0.0:5555 to remote localhost:8080 Forward traffic from the remote machine port 8080 to the local machine localhost:80 At this point, the users logged in are able to reach the local machine localhost:80 from the remote machine localhost:8080.…
