Skip to content

Instantly share code, notes, and snippets.

View gist:0e0ba8f64b86544856e156ee1573fe1c
# file Base.pm6
use v6;
unit module Base;
use Base::Test;
# file Base/Test.pm6
use v6;
unit module Base;
our sub foo { say "foo"; }
View gist:dc9ae51df58244b084cc0f3556acf17a
[16:50:10] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[16:50:10] [main/INFO]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[16:50:10] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[16:50:10] [main/INFO]: Forge Mod Loader version 14.23.4.2760 for Minecraft 1.12.2 loading
[16:50:10] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_51, running on Windows 10:amd64:10.0, installed at C:\Users\barch\Documents\Curse\Minecraft\Install\runtime\jre-x64\1.8.0_51
[16:50:10] [main/INFO]: Searching C:\Users\barch\Documents\Curse\Minecraft\Instances\stable\mods for mods
[16:50:10] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[16:50:10] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[16:50:10] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSor
View .rs
struct t1 {
a: i8,
b: i16
}
struct t2 {
c: String
}
struct t3 {
first: t1,
second: t2
View gist:aed8d1dad1d741a37d3df41071b2cc18
macro `.`*(pkg: PkgInstall, field: untyped): untyped =
## ^ This makes PkgInstall types act like concatinations
## of the Pkg, PkgVer and PkgLayout types
var subfields = pkg.getType.last
expectKind(subfields, nnkRecList)
for elm in subfields:
var fields = elm.getType.last
expectKind(fields, nnkRecList)
var real_field = findChild(fields, eqIdent(it, $field))
if real_field != nil:
View gist:373d1f734d73aa9b9574f12c95a02be8
*** WARNING: I am going to run 'configure' with no arguments.
*** If you wish to pass any to it, please specify them on the
*** './autogen.sh' command line.
autoreconf: Entering directory `.'
autoreconf: running: autopoint --force
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
View gist:f088f28ff7a160f144e34dd60405abe1
--- /home/bartoc/Downloads/linux-3.10.x/fs/btrfs/disk-io.c 2017-10-30 17:07:19.000000000 -0400
+++ /home/bartoc/rpmbuild/BUILD/kernel-3.10.0-693.el7/linux-3.10.0-693.fc28.x86_64/fs/btrfs/disk-io.c 2017-07-06 19:37:46.000000000 -0400
@@ -1,6 +1,20 @@
-#ifndef MY_ABC_HERE
-#define MY_ABC_HERE
-#endif
+/*
+ * Copyright (C) 2007 Oracle. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or
View gist:3f0ec50d43858bbfeb33d7dc55ac9323
1,4c1,18
< #ifndef MY_ABC_HERE
< #define MY_ABC_HERE
< #endif
<
---
> /*
> * Copyright (C) 2007 Oracle. All rights reserved.
> *
> * This program is free software; you can redistribute it and/or
View gist:bdb1dd71f9d8a4368abc6ec7f23ab2ac
1,4c1,18
< #ifndef MY_ABC_HERE
< #define MY_ABC_HERE
< #endif
<
---
> /*
> * Copyright (C) 2007 Oracle. All rights reserved.
> *
> * This program is free software; you can redistribute it and/or
View gist:0678e3180615d627d7aa4769e07c274b
1,4c1,18
< #ifndef MY_ABC_HERE
< #define MY_ABC_HERE
< #endif
<
---
> /*
> * Copyright (C) 2012 Alexander Block. All rights reserved.
> *
> * This program is free software; you can redistribute it and/or
View gist:964a021352c8ed27806beff2b5d5585b
1,4c1,19
< #ifndef MY_ABC_HERE
< #define MY_ABC_HERE
< #endif
<
---
> /*
> * Copyright (C) 2012 Alexander Block. All rights reserved.
> * Copyright (C) 2012 STRATO. All rights reserved.
> *