I hereby claim:
- I am bonprosoft on github.
- I am bonprosoft (https://keybase.io/bonprosoft) on keybase.
- I have a public key ASBbRLjzVR5Me9usSUt_2llTR4F3thx66jk3ujFK_v1jKAo
To claim this, I am signing this object:
Imports VBCPP | |
Imports VBCPPPlugin | |
Imports VBCPPPlugin.Tables | |
Imports VBCPPPlugin.AST | |
Imports VBCPPPlugin.AST.AST_Class | |
Imports VBCPPPlugin.AST.AST_Enum | |
Module HelloWorld | |
Sub Main() |
&&entry = "Main" | |
&&<code language="VB"> | |
Public Sub Main() | |
Console.WriteLine("VB: Hello,World! Hey,Brainf**k!") | |
Console.Write("Brainf**k: ") | |
'Brainf**kのプログラムを呼び出します | |
BFHello() | |
End Sub | |
&&</code> | |
&&<comment>Hello,World!を出力した後、echoを行います。</comment> |
' ポイントはNewを殆ど使わず、メソッドチェーンで内容を付与していく点です。 | |
' この式では、なるべくカッコは使いたくなかったので、リストなどを作る際、子を作り終わったらDefineで親に戻ります。 | |
' LINQに触れてみて、感動したので、それに影響されたところがあります。 | |
'★長所: (他の式に比べて)なかなか書きやすい!★ | |
'★短所: Defineをしないうちは、別の中間生成物として表される必要が有るため、クラスが結構増える | |
Dim tree As New VBCPP_Program | |
tree.AddMethod( _ | |
VBCPP_Method.CreateNew("SampleMethod",System.Reflection.MethodAttributes.Static Or Reflection.MethodAttributes.Public,LangName,Line,FileName) _ | |
.SetBody _ |
Imports VBCPP | |
Imports VBCPPPlugin | |
Imports VBCPPPlugin.Exceptions | |
Imports VBCPPPlugin.Tables | |
Imports VBCPPPlugin.AST | |
Imports VBCPPPlugin.AST.AST_Class | |
Imports VBCPPPlugin.AST.AST_Enum | |
Module FizzBuzz | |
Sub Main() |
I hereby claim:
To claim this, I am signing this object:
using System; | |
using System.Diagnostics; | |
using System.Runtime.CompilerServices; | |
namespace InlineConstant | |
{ | |
public class BaseClass | |
{ | |
protected virtual int GetConstValue() | |
{ |
#!/bin/bash | |
# CONFIGURATION | |
IN_DIR="fig_raw" | |
OUT_DIR="fig" | |
TARGET=("wmf" "emf") # NOTE: emf is only available under windows. | |
BASEDIR=`dirname $0` | |
BASEDIR=`(cd "${BASEDIR}"; pwd)` |
import cProfile | |
import random | |
import cupy | |
from cupy import cudnn | |
libcudnn = cudnn.cudnn | |
N_LAYER = 10 | |
N_TESTCASE = 1000 |
False | |
True |
import cProfile | |
import random | |
import cupy | |
from cupy import cudnn | |
libcudnn = cudnn.cudnn | |
N_LAYER = 10 | |
N_TESTCASE = 1000 |