-p .
でカレントディレクトリ内のtsconfig.jsonを参照し、その情報を元にコンパイル"args": ["file1.ts","file2.ts"]
のように指定することで、指定されたファイルのみをコンパイル
- -wでファイルを監視
- VSCodeなら[Tasks: Terminate Runnning Tasks]で終了できます
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() |
from azure.storage import BlobService | |
import os | |
import sys | |
BLOB_ACCOUNT = '[Input account name here]' | |
BLOB_ACCOUNTKEY = '[Input account key here]' | |
CONTAINER_NAME = '[Input container name here]' | |
TARGET_DIR = '[Input local data directory here]' |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
var foo = SingletonClass<List<string>>.GetInstance(); | |
foo.Add("bbb"); | |
foo.Add("aaa"); | |
var anotherFoo = SingletonClass<List<string>>.GetInstance(); |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
var foo = new[] { 0, 1, 2, 3, 4 }.ToArray(); | |
var bar = new ArraySegment<int>(foo, 0, 2); | |
foo[0] = -1; | |
Console.WriteLine(ReferenceEquals(foo, bar.Array)); // True | |
Console.WriteLine(bar.ElementAt(0)); // -1 |
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 |