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
    
  
  
    
  | # Start with the setup normally, then select "Shell" at the partitioning step. | |
| # Check device names | |
| camcontrol devlist | |
| # Create a gpt and a bootstrap partition | |
| gpart destroy -F ada0 | |
| gpart create -s gpt ada0 | |
| gpart add -a 4k -t freebsd-boot -s 64k ada0 | |
| gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada0 | 
  
    
      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
    
  
  
    
  | [Interface] | |
| PrivateKey = *********************** | |
| Address = 192.168.10.2/32, fc::2/128 | |
| DNS = 1.1.1.1, 2606:4700:4700::1111 | |
| [Peer] | |
| PublicKey = *********************** | |
| AllowedIPs = 0.0.0.0/0, ::/0 | |
| Endpoint = endpoint.domain.tld:51820 | 
  
    
      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
    
  
  
    
  | zfs list -r -H -t snapshot -o name stream/lxc/stash | xargs -n1 zfs destroy | 
  
    
      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
    
  
  
    
  | /* ~/Library/KeyBindings/DefaultKeyBinding.Dict | |
| This file remaps the key bindings of a single user on Mac OS X 10.5 to more closely | |
| match default behavior on Windows systems. | |
| You must log out and back in to see these changes. | |
| Here is a rough cheatsheet for syntax. | |
| Key Modifiers | |
| ^ : Ctrl | |
| $ : Shift | 
  
    
      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
    
  
  
    
  | import os | |
| import time | |
| import subprocess | |
| while True: | |
| output = subprocess.check_output(['istats', 'cpu']) | |
| output1 = subprocess.check_output(['istats', 'fan']) | |
| output2 = subprocess.check_output(['istats', 'battery']) | |
| new_output = '\n\n\n' + str(output.decode('utf-8')) + '\n' + str(output1.decode('utf-8')) + '\n' + str(output2.decode('utf-8')) | |
| print(new_output.replace('For more stats run `istats extra` and follow the instructions.', '')) | 
OlderNewer