quic frame degin idea
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
class Greeding | |
@@hello =nil | |
def self.hello=(word) | |
@@hello = word | |
end | |
def hello | |
@@hello | |
end | |
end |
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
Theorem plus_comm : forall n m : nat, | |
n + m = m + n. | |
Proof. | |
intros. | |
induction n. | |
induction m. | |
reflexivity. |
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
// when depoyment | |
// | |
// $ gcc sample.c main.c -o sample | |
// when testing | |
// | |
// $ gcc -DDEBUG sample.c test/test_main.c -o test/test | |
#include <stdio.h> | |
#define FAIL 1 |
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
package main | |
import ( | |
"fmt" | |
"strconv" | |
) | |
type N (chan interface{}) | |
type Z int |
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
Scanning dependencies of target tnzcore | |
[ 0%] Building CXX object tnzcore/CMakeFiles/tnzcore.dir/__/common/tcore/tdata.cpp.o | |
clang: warning: -Wl,-install_name,@rpath/libtnzcore.dylib: 'linker' input unused | |
In file included from /Users/keizo/product/opentoonz/toonz/sources/common/tcore/tdata.cpp:4: | |
In file included from /Users/keizo/product/opentoonz/toonz/sources/include/tconvert.h:76: | |
In file included from /Users/keizo/Qt5.5.1/5.5/clang_64/lib/QtCore.framework/Headers/qstring:1: | |
In file included from /Users/keizo/Qt5.5.1/5.5/clang_64/lib/QtCore.framework/Headers/qstring.h:43: | |
/Users/keizo/Qt5.5.1/5.5/clang_64/lib/QtCore.framework/Headers/qrefcount.h:48:22: error: expected ';' at end of | |
declaration list | |
inline bool ref() Q_DECL_NOTHROW { |
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
/* ---===### include/vdef.h ###===--- */ | |
/*- | |
* Copyright (c) 2006 Verdens Gang AS | |
* Copyright (c) 2012 Fastly Inc | |
* Copyright (c) 2006-2015 Varnish Software AS | |
* All rights reserved. | |
* | |
* Author: Poul-Henning Kamp <phk@phk.freebsd.dk> | |
* Author: Rogier 'DocWilco' Mulhuijzen <rogier@fastly.com> |
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
r = Resolv.new | |
addr = r.getaddress "google.com" | |
puts r.getname addr | |
puts r.getnames addr |