I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
| #!/bin/sh | |
| # Copyright 2014 Vivien Didelot <[email protected]> | |
| # Licensed under the terms of the GNU GPL v3, or any later version. | |
| NICK=irccat42 | |
| SERVER=irc.freenode.net | |
| PORT=6667 | |
| CHAN="#irccat" | |
| { |
| #!/usr/bin/env python | |
| # requires xpyb - XCB bindings for python | |
| import xcb | |
| import xcb.xproto | |
| from time import sleep | |
| from itertools import tee | |
| from functools import partial | |
| conn = xcb.connect() |
| @binkmail.com | |
| @bobmail.info | |
| @chammy.info | |
| @devnullmail.com | |
| @letthemeatspam.com | |
| @mailinater.com | |
| @mailinator.net | |
| @mailinator2.com | |
| @notmailinator.com | |
| @reallymymail.com |
- For Gummiboot, EFI must be enabled in the bios setup BEFORE YOU START the installation process. It will yell at you if this is not enabled.
- If you do not have UEFI, it may be easier to use rEFInd or Grub2
| # place under ${HOME}/.aria2/ | |
| # Daemonize, rpc and session save. | |
| # The daemon is launched by the rpc query and | |
| # stops when all downloads are completed. | |
| continue | |
| daemon=true | |
| on-download-complete=exit | |
| dir=/home/**youruser**/path/to/download/folder |
(Note: I wrote this up quickly and without a lot of research, so there are probably inaccuracies. However, I wanted to put this out there in case it helps someone else hitting this issue. Github gists like this unfortunately don't have comment notifications, so if you want me to send me a comment, use my email [email protected] and not the comments.)
The ability to limit sudo users to only be able to execute certain commands doesn't work with Ansible (without a workaround).
This isn't a problem if you're running Ansible as a super-user like root, but if you are allowing others to run Ansible on your systems in order to do things like application deploys, then you need a way to limit their access to the system for basic security.
For example, a line in /etc/sudoers like this:
| #!/usr/bin/env python3 | |
| import asyncio | |
| import multiprocessing | |
| import os | |
| import ssl | |
| from time import sleep | |
| port = 9000 |