I hereby claim:
- I am therealbill on github.
- I am therealbill (https://keybase.io/therealbill) on keybase.
- I have a public key ASAOnS0_40SI6GCzzFPqdUx6tr1JW4Ypn8oas6fHH9jnxgo
To claim this, I am signing this object:
| In Terminal go to "~/Library/Application Support/Steam/steamapps/workshop/content/281990/". From there you'll need to identify the mod you want to modify by looking in "~/Documents/Paradox Interactive/Stellaris/mod" files. I look through them in Finder using preview. Get the "remote_file_id" value and go to the subdirectory in Terminal. | |
| Then unzip the zipfle using 'unzip FILENAME' where FILENAME is the name of the zipfile there, ending in ".zip". Next you need to determine the localisation directory. Some mods use a subdirectory of "localisation/LANGUAGE/" some just put them in localisation. For this example, I'll assume "localisation/english/". The files in there need to have their BOM added. | |
| So from the mod's directory (where the zipfile is) enter this in Terminal: | |
| ========== | |
| for f in $(ls localisation/english/*.yml); do echo $f | |
| cp $f $f.sav | |
| sed -i .presed '1s/^/\\xef\\xbb\\xbf/' $f |
I hereby claim:
To claim this, I am signing this object:
| Do you want to read a git diff? | |
| Or write an ansible play? | |
| I never see you anymore | |
| Come out the door | |
| It's like you've gone away... | |
| We used to be system admins | |
| And now we're not | |
| I wish you would tell me why! | |
| Do you want to build a container? | |
| It doesn't have to be with docker |
| binary: | |
| go build | |
| deps-save: | |
| godep save | |
| deps: | |
| godep restore |
| package proxy | |
| import ( | |
| "io" | |
| "log" | |
| "net" | |
| ) | |
| func Proxy(srvConn, cliConn *net.TCPConn) { | |
| // channels to wait on the close event for each connection |
| #!/usr/bin/env python | |
| import requests | |
| for pod in requests.get("http://localhost:8000/api/knownpods").json()['Data']: | |
| print "sentinel monitor {Name} {Info[IP]}:{Info[Port]} 2\nsentinel set {Name} auth-pass {AuthToken}".format(**pod) |
| package main | |
| import ( | |
| "fmt" | |
| "math/rand" | |
| "sort" | |
| "time" | |
| ) | |
| const ( |
| #!/usr/bin/env python | |
| import redis | |
| import sys | |
| origin_ip,origin_port = sys.argv[1].split(":") | |
| target_ip,target_port = sys.argv[2].split(":") | |
| origin = redis.Redis(origin_ip,origin_port) | |
| target = redis.Redis(target_ip,target_port) |
| [INFO ] Executing state pkg.installed for python-pip | |
| [INFO ] Package python-pip is already installed | |
| [ERROR ] An un-handled exception was caught by salt's global exception handler: | |
| TypeError: sequence item 1: expected string, int found | |
| Traceback (most recent call last): | |
| File "/usr/bin/salt-call", line 11, in <module> | |
| salt_call() | |
| File "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 77, in salt_call | |
| client.run() | |
| File "/usr/lib/python2.7/dist-packages/salt/cli/__init__.py", line 303, in run |
| clock: | |
| /etc/sysconfig/clock: | |
| file.managed: | |
| - source: salt://core/files/clock | |
| /etc/localtime: | |
| file.symlink: | |
| - target: /usr/share/zoninfo/America/Los_Angeles | |
| - force: true |