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
    
  
  
    
  | package main | |
| import ( | |
| "fmt" | |
| "os" | |
| ) | |
| func main() { | |
| if len(os.Args) != 2 { | |
| fmt.Println("usage: spamcause gggruggvucft...") | 
The instructions were tested on a Lenovo X1 Carbon 5th Gen (X1C5) on Arch Linux but should be applicable to other Lenovo models and Linux distributions.
BACKUP YOUR DATA! I created a bootable Ubuntu Image like this:
$ sudo sh -c 'curl --location --silent --fail "http://releases.ubuntu.com/18.04/ubuntu-18.04.1-desktop-amd64.iso" | pv > /dev/<your-usb-drive>'
# note that pv is only there to show progress, it is perfectly fine to redirect curl to the usb drive directly.then I booted from this drive by pressing F12 on reboot and dumped my NVMe disk to an external hard drive like this:
- Terraform with libvirt provider
- uses cloud-init meta-data/user-data for contextualization https://github.com/dmacvicar/terraform-provider-libvirt
 
- KCLI
- uses cloud-init meta-data/user-data for contextualization'
- provider for kubevirt and VirtualBox https://github.com/karmab/kcli
 
- Virt-builder http://libguestfs.org/virt-builder.1.html
Lower precedence means a stronger binding; ie. this list is sorted from strongest to weakest binding, and in the case of equal precedence between two operators, the associativity decides the binding.
| Prec | Abbreviation | Example | Assoc | Description | 
|---|---|---|---|---|
| 1 | SELECT | e . attrpath [or def] | none | Select attribute denoted by the attribute path attrpathfrom sete. (An attribute path is a dot-separated list of attribute names.) If the attribute doesn’t exist, returndefaultif provided, otherwise abort evaluation. | 
| 2 | APP | e1 e2 | left | Call function e1with argumente2. | 
| 3 | NEG | -e | none | Numeric negation. | 
| 4 | HAS_ATTR | e ? attrpath | none | Test whether set econtains the attribute denoted byattrpath; return true or false. | 
| 5 | CONCAT | e1 ++ e2 | right | List concatenation. | 
| 6 | MUL | e1 * e2 | le | 
- prepare an SD Card as described on archlinuxarm.org
- SSH into your system, add your public key (initial root password is "root")
- disable root password by calling passwd -d root
- set a useful hostname by calling echo $hostname > /etc/hostname
- run pacman -Suyto update packages
  
    
      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
    
  
  
    
  | INTRO | |
| I get asked regularly for good resources on AWS security. This gist collects some of these resources (docs, blogs, talks, open source tools, etc.). Feel free to suggest and contribute. | |
| Short Link: http://tiny.cc/awssecurity | |
| Official AWS Security Resources | |
| * Security Blog - http://blogs.aws.amazon.com/security/ | |
| * Security Advisories - http://aws.amazon.com/security/security-bulletins/ | |
| * Security Whitepaper (AWS Security Processes/Practices) - http://media.amazonwebservices.com/pdf/AWS_Security_Whitepaper.pdf | |
| * Security Best Practices Whitepaper - http://media.amazonwebservices.com/AWS_Security_Best_Practices.pdf | 
  
    
      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
    
  
  
    
  | test | |
| *.o | |
| *~ | |
| *.sw? |