This file contains 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
# | |
# Print all possible candidates for virtualenv relative to the directory $1. | |
# Used in venv_find() for every directory starting from the current and up to the root. | |
# | |
function venv_candidates () { | |
echo $1 | |
echo $1/.venv | |
echo $1/VENV | |
echo $1/ENV | |
echo $1.venv |
This file contains 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
sudo apt install libfontconfig1 libxrender1 libxtst6 libxi6 fontconfig |
This file contains 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 scripting import * | |
import org.eclipse.swt as swt | |
import org.eclipse.swt.widgets as widgets | |
import org.eclipse.swt.layout as layout | |
# get a CityEngine instance | |
ce = CE() | |
if __name__ == '__main__': |
This file contains 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
COURSE P - laminar/B738/autopilot/course_pilot | |
COURSE C/P - laminar/B738/autopilot/course_copilot | |
A/T ARM Led - laminar/B738/autopilot/autothrottle_arm_pos | |
A/T SW - laminar/B738/autopilot/autothrottle_status | |
Speed Dial - laminar/B738/autopilot/mcp_dial_kts_mach | |
Speed Above/Below - ??? | |
Heading - sim/copilot/autopilot/heading_mag | |
sim/copilot/autopilot/heading_mag2 | |
sim/copilot2/autopilot/heading_dial_deg_mag_pilot | |
sim/copilot2/autopilot/heading_dial_deg_mag_copilot |
This file contains 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. Update CLR: | |
/opt/EasyRSA-3.0.3/easyrsa gen-crl | |
2. Gen cleint CRT: | |
/opt/EasyRSA-3.0.3/easyrsa build-client-full sasha nopass | |
3. Cline conf: | |
client | |
verb 4 | |
connect-retry 2 10 |
This file contains 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
apt install ubuntu-drivers-common | |
ubuntu-drivers list | |
# virtualbox-guest-dkms | |
# virtualbox-guest-dkms-hwe | |
# nvidia-driver-390 | |
# virtualbox-guest-x11 | |
apt install nvidia-driver-390 | |
This file contains 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
ffmpeg -f v4l2 -framerate 60 -input_format yuyv422 -video_size 1440x900 -i /dev/video0 -vcodec huffyuv output.avi | |
ffmpeg -f v4l2 -framerate 60 -input_format yuyv422 -video_size 1440x900 -thread_queue_size 1024 -i /dev/video0 -threads 4 -vcodec huffyuv output.avi | |
ffmpeg -i output.avi output.mkv | |
ffmpeg -thread_queue_size 1024 -f alsa -i hw:1,0 -f v4l2 -framerate 60 -video_size 1440x900 -i /dev/video0 output.mkv | |
ffmpeg -f alsa -thread_queue_size 1024 -i hw:1,0 -f v4l2 -framerate 60 -video_size 1440x900 -thread_queue_size 1024 -i /dev/video0 -threads 8 output.mkv |
This file contains 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
certbot certonly -d dom1.example.com,dom2.example.com,new.example.com --expand --webroot -w /srv/dev-disk-by-label-Filles/Web/main |
This file contains 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
certbot renew --webroot -w /srv/dev-disk-by-label-Filles/Web/main |
This file contains 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
python3 -c 'import sys, yaml, json; y=yaml.load(sys.stdin.read(), Loader=yaml.BaseLoader); print(json.dumps(y))' |
OlderNewer