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
[maurer@fragarach:~/Development/PersonalServices/irc]$ gcloud compute zones list | |
> NAME REGION STATUS NEXT_MAINTENANCE TURNDOWN_DATE | |
> asia-east1-c asia-east1 UP | |
> asia-east1-a asia-east1 UP | |
> asia-east1-b asia-east1 UP | |
> europe-west1-d europe-west1 UP | |
> europe-west1-b europe-west1 UP | |
> europe-west1-c europe-west1 UP | |
> us-central1-b us-central1 UP | |
> us-central1-c us-central1 UP |
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
extern crate capnpc; | |
use std::path::Path; | |
fn main() { | |
::capnpc::compile(Path::new("src"), | |
&[Path::new("src/holmes.capnp"), | |
Path::new("src/schema.capnp")]).unwrap(); | |
} |
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
@0xaaef86128cdda946; | |
using Schema = import "schema.capnp"; | |
interface Holmes { | |
# Capnproto Type Description | |
using Node = Schema.Node; | |
# Dynamically typed holmes value (a pointer to anything non interface) | |
using Val = AnyPointer; |
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
{stdenv, libxml2, fetchurl}: | |
stdenv.mkDerivation rec { | |
name = "igraph"; | |
version = "0.7.1"; | |
buildInputs = [libxml2]; | |
src = fetchurl { | |
url = "http://igraph.org/nightly/get/c/igraph-0.7.1.tar.gz"; | |
sha256 = "1pxh8sdlirgvbvsw8v65h6prn7hlm45bfsl1yfcgd6rn4w706y6r"; | |
}; |
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
# snip | |
users.extraUsers.maurer = { | |
isNormalUser = true; | |
uid = 1000; | |
extraGroups = [ "wheel" "audio" "docker" "vboxusers" ]; | |
}; | |
# snip |
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 ["index.html"] $ do | |
route idRoute | |
compile $ do | |
misnamedItem <- head <$> (recentFirst =<< loadAll "posts/*") | |
>>= relativizeUrls | |
return $ misnamedItem {itemIdentifier = "index.html"} |
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
{ | |
name: 'Ancestral Hourglass', | |
id: 281, | |
fixed: function(save) { | |
return save.reincarnation >= 100; | |
}, | |
random: function(save) { | |
var lineageBought = save.fmt36Val; | |
var lineageLevel = save.lineageLevels[save.lineageFaction - 1]; | |
return ((lineageBought / 3600) ^ (1 - 0.01 * ((lineageLevel ^ 1.01) - save.reincarnation / 5)) / 10) / 100 |
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
/// Retrieve a list of new files to be copied to the DMS. | |
pub fn added_files<'a>(local: &'a BTreeSet<LibraryFile>, dms: &'a BTreeSet<LibraryFile>) -> | |
Vec<&'a LibraryFile> { | |
local.difference(dms).collect() | |
} | |
/// Retrieve a list of new files to be copied to the DMS. | |
pub fn added_files<'a>(local: &'a BTreeSet<LibraryFile>, dms: &'a BTreeSet<LibraryFile>) -> | |
Box<Iterator<Item=&'a LibraryFile>> { | |
Box::new(local.difference(dms)) as Box<Iterator<Item=&'a LibraryFile>> |
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
error[E0603]: struct `PathBuf` is private | |
--> src/bin/evaluate.rs:213:13 | |
| | |
213 | use std::fs::PathBuf; | |
| ^^^^^^^^^^^^^^^^ | |
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
; ModuleID = 'issue_73396_bounds_check_after_position.243dbce97eb6665-cgu.0' | |
source_filename = "issue_73396_bounds_check_after_position.243dbce97eb6665-cgu.0" | |
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" | |
target triple = "x86_64-unknown-linux-gnu" | |
@alloc_e4b1b3666b3c25567a07430a79501aaf = private unnamed_addr constant <{ [116 x i8] }> <{ [116 x i8] c"/usr/local/google/home/mmaurer/github/rust-lang/rust/tests/codegen/issues/issue-73396-bounds-check-after-position.rs" }>, align 1 | |
@alloc_317973b77b3cc8361da3eba518797a85 = private unnamed_addr constant <{ ptr, [16 x i8] }> <{ ptr @alloc_e4b1b3666b3c25567a07430a79501aaf, [16 x i8] c"t\00\00\00\00\00\00\00\11\00\00\00\0A\00\00\00" }>, align 8 | |
@alloc_7bfe8eaf482419fd2021a64e7d1acdd9 = private unnamed_addr constant <{ ptr, [16 x i8] }> <{ ptr @alloc_e4b1b3666b3c25567a07430a79501aaf, [16 x i8] c"t\00\00\00\00\00\00\00 \00\00\00\0A\00\00\00" }>, align 8 | |
@alloc_c8fb52adf811dcb255160898c9f3f03d = private unnamed_addr consta |