This file contains 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
export PS1='`if [ $? = 0 ]; then echo "\[\033[01;32m\]○"; else echo "\[\033[01;31m\]✘"; fi` \[\e[01;30m\]\t \[\033[01;36m\]\h\[\033[01;34m\] \w\[\033[35m\]$(__git_ps1 " %s") \[\033[01;34m\]\n入\[\033[00m\] ' |
This file contains 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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDKmsrnSJz9kp9lltsJ4vUaukmYquY88RtDyYJRmafJsFzn7PJSgKHUNS0Gnm1pEUyAoaGpsNlnzJ7aw64DWOoRlHsdAocToI7u0rTSCRQ2E0h/R9FkeiW1GxSzpYtc/Ohg5A8TrkfW41KxFsi7zmGV9Xvrbp7+sC4gJf9Ci6v+OskU77PkJJMHYRcBlJpLrczZ1iCVaUja1RsBPtuAsYfJj4PDLJ7W2swd8y31neOAt4HLu47boI2AgY0x/0rlTSObwSkI4ejDXO9w0kgFcc28wxDH/a390wX+2jRxzb7Mbc22TH9U7RPh7QTdOcBKzhvD6ondhxsrHNDN0d8+VOOWxstlty3ekwKnPShy4cHzO3GUxtOlRDdxtr6HBYXHoSkynQewS86YD7/7m25TofVv/ma7ZD5wvsAs/IBwyGaAH3CYAZX/tFR8aS7PSYGFWy6Nbj98aF/L5F2vLzrScWsR10PX7WMXtxfgVNRrRkiYAPzG79HEuGHv1Y/8tIULeea0jZ6wgN1wZLKd/S2FenBrn+unkl8LQMf/ta+rDjwwqeQcDT0Ei3dCFS3aV0NysAemIMUdGFv7w58zaqMyONiHDmazQC0pPSRfB1XbibnrAYLbLIiFngNvVVWNoIhlRWprt6+2yaPwaxe2LJedpq4UEivVeDglErOyvGrwtBUS5w== |
This file contains 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
#!/usr/bin/env python | |
# | |
# ---------------------------------------------------------------------------- | |
# "THE BEER-WARE LICENSE" (Revision 42): | |
# <dev@robertweidlich.de> wrote this file. As long as you retain this notice you | |
# can do whatever you want with this stuff. If we meet some day, and you think | |
# this stuff is worth it, you can buy me a beer in return. | |
# ---------------------------------------------------------------------------- | |
# |
This file contains 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
.encoding = "UTF-8" | |
config.version = "8" | |
virtualHW.version = "14" | |
nvram = "packer-centos7-vcenter-base.nvram" | |
pciBridge0.present = "TRUE" | |
svga.present = "TRUE" | |
pciBridge4.present = "TRUE" | |
pciBridge4.virtualDev = "pcieRootPort" | |
pciBridge4.functions = "8" | |
pciBridge5.present = "TRUE" |
This file contains 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
.encoding = "UTF-8" | |
config.version = "8" | |
virtualHW.version = "14" | |
nvram = "packer-centos7-vcenter-base.nvram" | |
pciBridge0.present = "TRUE" | |
svga.present = "TRUE" | |
pciBridge4.present = "TRUE" | |
pciBridge4.virtualDev = "pcieRootPort" | |
pciBridge4.functions = "8" | |
pciBridge5.present = "TRUE" |
This file contains 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
2020-11-03T21:05:43.237Z info hostd[1051087] [Originator@6876 sub=Vimsvc.TaskManager opID=ac1daf6-01-97-29d1 user=vpxuser:TESTALLTHETHINGS.NET\Administrator] Task Created : haTask-175-vim.VirtualMachine.reconfigure-2608349237 | |
2020-11-03T21:05:43.237Z info hostd[1051091] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/5e57ff18-4b936e87-57a2-0cc47ac42218/packer-centos7-vcenter-base/packer-centos7-vcenter-base.vmx opID=ac1daf6-01-97-29d1 user=vpxuser:TESTALLTHETHINGS.NET\Administrator] State Transition (VM_STATE_OFF -> VM_STATE_RECONFIGURING) | |
2020-11-03T21:05:43.237Z verbose hostd[1051091] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/5e57ff18-4b936e87-57a2-0cc47ac42218/packer-centos7-vcenter-base/packer-centos7-vcenter-base.vmx opID=ac1daf6-01-97-29d1 user=vpxuser:TESTALLTHETHINGS.NET\Administrator] Invoking interceptor:1-hbr | |
2020-11-03T21:05:43.237Z verbose hostd[1051091] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/5e57ff18-4b936e87-57a2-0cc47ac42218/packer-centos7-vcenter-base/packer-centos7-vcenter-base.vmx opID=a |
This file contains 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
switch_packer () { | |
TO_VER=$(echo $1 | sed "s/\./\_/g") | |
HOME_BIN="$HOME/.bin" | |
PACKER_BIN="$HOME/.bin/packer" | |
PACKER_BIN_1_3_5="$HOME/.bin/packer-1.3.5/packer" | |
PACKER_BIN_1_6_5="$HOME/.bin/packer-1.6.5/packer" | |
if [ $# -eq 0 ] ; then | |
echo "No packer version given, giving up." | |
return 1 | |
fi |
This file contains 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
source "vsphere-iso" "centos7-base" { | |
# vCenter settings | |
vcenter_server = var.vcenter_server | |
username = var.vcenter_username | |
password = var.vcenter_password | |
insecure_connection = true | |
cluster = var.vcenter_cluster | |
datacenter = var.vcenter_datacenter | |
#host = var.vcenter_host | |
datastore = var.vcenter_datastore |
This file contains 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 | |
set -e | |
set -x | |
CMAKE_VERSION=3.14.5 | |
echo "Installing cmake $CMAKE_VERSION" | |
#Use newer curl on centos5 | |
PATH=/usr/local/bin:$PATH | |
my_cpus=$(cat /proc/cpuinfo | grep processor | wc -l) |
This file contains 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 | |
# Change to the game directory | |
gamedir="/run/media/mmcblk0p1/steamapps/common/PHANTASYSTARONLINE2_NA_STEAM" | |
if [ ! -d "${gamedir}" ]; then | |
echo "Could not find game directory at ${gamedir}." | |
echo "It is much easier to follow the instructions at https://bit.ly/3y7HI6V" | |
echo "to set up the game directory before installing." | |
echo "If you still want to use this script, be sure to download it to your SD card first." |
OlderNewer