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
# Dockerfile | |
FROM cm2network/steamcmd:latest | |
# Set environment variables for the container | |
ENV STEAMCMD_DIR=/home/steam/steamcmd | |
ENV SERVER_DIR=/home/steam/palserver | |
# Switch to user steam | |
USER steam |
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
[Unit] | |
Description=Mirth Connect Interface Engine | |
After=network.target | |
[Service] | |
Type=forking | |
User=mirth | |
Group=mirth | |
ExecStart=/opt/mirthconnect/mcservice start |
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
CREATE EXTENSION plpython3u; | |
CREATE TYPE GOOGSENTIMENTRESULT AS ( | |
sentiment FLOAT, | |
magnitude FLOAT | |
); | |
CREATE OR REPLACE FUNCTION GOOGsentiment(txt TEXT) | |
RETURNS GOOGSENTIMENTRESULT | |
AS $$ | |
# Imports the Google Cloud client library | |
from google.cloud import language |
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
# bash <(curl -s https://gist.githubusercontent.com/bbhoss/b2af48ba6426568b51da25fc93c4896c/raw/15b978487149d5ea478fb1597e9a5771d70f024a/minikube_test.sh) | |
# ---------------------- | |
# installing dnsmasq and enable daemon | |
# ---------------------- | |
brew install dnsmasq | |
# ---------------------- | |
# adding resolver for test domain | |
# ---------------------- | |
[ -d /etc/resolver ] || sudo mkdir -v /etc/resolver |
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
#define CONSERVATIVE | |
int ioPin = 3; | |
#define BUFSIZE 200 | |
unsigned char buf[BUFSIZE]; | |
#define pullLow() pinMode(ioPin, OUTPUT) | |
#define pullHigh() pinMode(ioPin, INPUT) | |
unsigned char dbits[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0}; |
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
****************************** | |
PSH KERNEL VERSION: b0182b2b | |
WR: 20104000 | |
****************************** | |
SCU IPC: 0x800000d0 0xfffce92c | |
PSH miaHOB version: TNG.B0.VVBD.0000000c | |
microkernel built 11:24:08 Feb 5 2015 |
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
11:55:08.809 [error] GenServer #PID<0.83.0> terminating | |
** (ArgumentError) argument error | |
:erlang.iolist_size([27, 91, 51, 54, 109, 27, 91, 49, 109, 9475, 32, 104, 32, 69, 110, 117, 109, 13, 10, 9475, 32, 104, 32, 69, 110, 117, 109, 46, 109, 97, 112, 13, 10, 9475, 32, 104, 32, 69, 110, 117, 109, 46, 114, 101, 118, 101, 114, 115, 101, 47, ...]) | |
(ssh) ssh_cli.erl:434: :ssh_cli.write_chars/3 | |
(ssh) ssh_cli.erl:193: :ssh_cli.handle_msg/2 | |
(ssh) ssh_channel.erl:266: :ssh_channel.handle_info/2 | |
(stdlib) gen_server.erl:615: :gen_server.try_dispatch/4 | |
(stdlib) gen_server.erl:681: :gen_server.handle_msg/5 | |
(stdlib) proc_lib.erl:240: :proc_lib.init_p_do_apply/3 | |
Last message: {#PID<0.84.0>, {:put_chars_sync, :unicode, "\e[36m\e[1m┃ h Enum\n┃ h Enum.map\n┃ h Enum.reverse/1\e[0m\n", {{#PID<0.87.0>, #Reference<0.0.8.169>}, :ok}}} |
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
var autoPokerIndex = null; | |
var autoPoke = function() { | |
// LOL, do you even DOM bro? | |
document.evaluate('//*[text()="Poke Back"]', document, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE).snapshotItem(0).click(); | |
} | |
var startAutoPoker = function() { | |
autoPokerIndex = setInterval(autoPoke, 2000); | |
} |
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
diff --git a/tools/gyp/pylib/gyp/xcode_emulation.py b/tools/gyp/pylib/gyp/xcode_emulation.py | |
index 806f92b..5256856 100644 | |
--- a/tools/gyp/pylib/gyp/xcode_emulation.py | |
+++ b/tools/gyp/pylib/gyp/xcode_emulation.py | |
@@ -224,8 +224,7 @@ class XcodeSettings(object): | |
def _GetSdkVersionInfoItem(self, sdk, infoitem): | |
job = subprocess.Popen(['xcodebuild', '-version', '-sdk', sdk, infoitem], | |
- stdout=subprocess.PIPE, | |
- stderr=subprocess.STDOUT) |
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
diff --git a/tools/gyp/pylib/gyp/xcode_emulation.py b/tools/gyp/pylib/gyp/xcode_emulation.py | |
index f9cec33..4b3c035 100644 | |
--- a/tools/gyp/pylib/gyp/xcode_emulation.py | |
+++ b/tools/gyp/pylib/gyp/xcode_emulation.py | |
@@ -285,8 +285,14 @@ class XcodeSettings(object): | |
if sdk_root.startswith('/'): | |
return sdk_root | |
if sdk_root not in XcodeSettings._sdk_path_cache: | |
- XcodeSettings._sdk_path_cache[sdk_root] = self._GetSdkVersionInfoItem( | |
- sdk_root, 'Path') |
NewerOlder