Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
--- | |
- name: stop docker | |
service: | |
name: docker | |
state: stopped | |
ignore_errors: true | |
# - file: path=/home/docker_data state=directory mode=0755 | |
# - shell: jq '.["graph"] = "/home/docker_data"' /etc/docker/daemon.json > /etc/docker/daemon.json.new && mv -b /etc /docker/daemon.json.new /etc/docker/daemon.json |
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
--- | |
- hosts: localhost | |
become: yes | |
vars: | |
driver: 378.13 | |
driver_url: http://us.download.nvidia.com/XFree86/Linux-x86_64/{{driver}}/NVIDIA-Linux-x86_64-{{driver}}-no-compat32.run | |
tasks: | |
- get_url: dest=. url={{driver_url}} | |
- command: systemctl isolate multi-user.target | |
- service: name=nvidia-docker state=stopped |
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
sudo add-apt-repository ppa:webupd8team/atom | |
sudo apt-get update | |
sudo apt-get install atom |
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
eunomia:~$ cat .vnc/xstartup | |
xmodmap -e 'keysym Alt_L = Meta_L' | |
xmodmap -e 'keysym Alt_R = Meta_R' | |
xmodmap -e 'clear Mod1' | |
xmodmap -e 'add Mod1 = Meta_L Meta_R' | |
(sleep 1; xsetroot -solid '#223') & | |
icewm | |
eunomia:~$ cat .icewm/preferences | |
WorkspaceNames=" 1 "," 2 "," 3 "," 4 "," 5 "," 6 " | |
eunomia:~$ cat .icewm/toolbar |
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
avahi-browse -p -k _zeromq._tcp --resolve | |
avahi-publish -s testdb _zeromq._tcp 11000 |
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
SELECT * | |
FROM table | |
LIMIT 1 | |
OFFSET ABS(RANDOM()) % MAX(SELECT COUNT(*) FROM table), 1) |