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
locals { | |
name = "pr15755" | |
} | |
variable aws_region { | |
type = string | |
default = "ap-southeast-2" | |
} | |
provider aws { | |
region = var.aws_region |
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
# Instructions: | |
# 1. Check all "TODO" comments and make changes if required for your environment | |
# 2. Provide values for all required parameters and any optional parameters desired | |
AWSTemplateFormatVersion: '2010-09-09' | |
Description: Verdaccio - NPM cache / private registry | |
Parameters: | |
# REQUIRED PARAMETERS | |
Ami: | |
Type: AWS::EC2::Image::Id |
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
$ nice make -j8 debug | |
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1 | |
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C rltiles all ARCH=x86_64-apple-darwin18.2.0 NO_PKGCONFIG=Yes TILES= | |
* If you experience any problems building Crawl, please take a second look | |
* at INSTALL.txt: the solution to your problem just might be in there! | |
LINK crawl | |
Undefined symbols for architecture x86_64: | |
"branch_data_json()", referenced from: | |
parse_args(int, char**, bool) in initfile.o | |
ld: symbol(s) not found for architecture x86_64 |
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
diff --git a/crawl-ref/source/decks.cc b/crawl-ref/source/decks.cc | |
index 9ce7809490..e233410440 100644 | |
--- a/crawl-ref/source/decks.cc | |
+++ b/crawl-ref/source/decks.cc | |
@@ -283,10 +283,11 @@ int deck_cards(deck_type deck) | |
: you.props[deck_name(deck)].get_int(); | |
} | |
-bool gift_cards() | |
+void gift_cards() |
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
server { | |
server_name crawl.project357.org; | |
listen 80; | |
if ($server_port = '80') { | |
rewrite ^(.*)$ https://crawl.project357.org$1; | |
} | |
listen 172.30.0.178:443 ssl http2 deferred; | |
ssl_certificate /etc/letsencrypt/live/crawl.project357.org/fullchain.pem; |
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
# Compress old ttyrecs | |
0 17 * * * root find /opt/dgl-chroot/var/ttyrec/ -type f -mtime +1 -not -name '*.gz' -not -name '*.xz' -exec nice -n 19 xz -1 {} \; | |
# Upload old ttyrecs | |
0 18 * * * root aws s3 sync --exclude '*' --include '*.xz' --include '*.gz' /space/ttyrec/ s3://dcss-cpo-ttyrecs/ | |
# Delete old ttyrecs | |
0 19 * * * root find /space/ttyrec -type f -mtime +7 -delete |
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
resources: | |
app_subnet_1: | |
Type: "AWS::EC2::Subnet" | |
Properties: | |
AvailabilityZone: !Select: [ 0, !Ref subnet_azs ] | |
CidrBlock: !Select: [ 0, !Ref subnet_cidrs ] | |
Tags: | |
- Key: environment | |
Value: !Ref workspace | |
- Key: division |
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
#!/usr/bin/env python3 | |
"""Calculate DCSS spell usage from morgues.""" | |
import subprocess | |
import collections | |
total_dacts = collections.Counter() | |
def find_morgue_files(d): |