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
    
  
  
    
  | /** | |
| * is 2.4GB last checked | |
| * @param {NS} ns **/ | |
| export async function main(ns) { | |
| // Defines the "target server", which is the server | |
| // that we're going to hack. In this case, it's "n00dles" | |
| let targets = ns.args; | |
| ns.disableLog("ALL"); | |
| ns.enableLog("grow"); | |
| ns.enableLog("weaken"); | 
  
    
      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
    
  
  
    
  | Proper instructions | |
| # Prepare drives | |
| gdisk (delete all the partitions and make one large one using fd00) | |
| # Example of raid0 config | |
| mdadm --create --verbose /dev/md0 --level=0 --raid-devices=4 /dev/sda1 /dev/sdb1 | |
| # Format the new block | |
| mkfs.ext4 -F /dev/md0 | 
  
    
      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
    
  
  
    
  | #!/bin/bash | |
| # ------------------------------------------------- | |
| # Get monitors configuration from monitor.xml and apply it for current user session. | |
| # In case of multiple definitions in monitor.xml only first one is used. | |
| # | |
| # See http://bernaerts.dyndns.org/linux/74-ubuntu/309-ubuntu-dual-display-monitor-position-lost | |
| # for instructions | |
| # | |
| # Parameters : | |
| # $1 : profile name, loaded from $HOME/.config/monitors-$1.xml" | 
  
    
      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 zipfile | |
| import os | |
| from os.path import expanduser, join, basename | |
| #mcpzip = "de/oceanlabs/mcp/mcp_snapshot/20200706-unofficialsekwah-1.16.1/mcp_snapshot-20200706-unofficialtest-1.16.1.zip" | |
| home = expanduser("~") | |
| print(home) | 
  
    
      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 a vnc server | |
| vncserver | |
| # To get display numbers | |
| vncserver -list | |
| # If you are unable to connect externally with the ip you can do it this way | |
| vncviewer -via username@ip localhost:displayid | 
  
    
      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
    
  
  
    
  | $GRADLE_USER_HOME/caches/fabric-loom/mappings |