teip コマンド に関するお話
teip
v2.0 に新機能:マッチオフロード機能
- テープの穴をあける行の指定に外部コマンドが使えるようになった
- あるコマンドの抽出範囲のみを、範囲外は残したまま、別のコマンドで編集可能になる
teip コマンド に関するお話
teip
v2.0 に新機能:マッチオフロード機能const { Worker, isMainThread, workerData, parentPort } = require('worker_threads') | |
if (isMainThread) { | |
class AsyncRex { | |
constructor (pattern, flags) { | |
if (pattern instanceof RegExp) { | |
this.source = pattern.source | |
this.flags = pattern.flags | |
} else if (typeof pattern === 'string') { | |
this.source = pattern |
The package that linked you here is now pure ESM. It cannot be require()
'd from CommonJS.
This means you have the following choices:
import foo from 'foo'
instead of const foo = require('foo')
to import the package. You also need to put "type": "module"
in your package.json and more. Follow the below guide.await import(…)
from CommonJS instead of require(…)
.deno のコードを読んだメモ。
そこまで大きなプロジェクトでもないので、rust と cpp そこまで習熟してなくても読めるだろうという気持ち。
https://denolib.gitbook.io/guide/installing-deno
起動プロセスっぽいところ。
For a brief user-level introduction to CMake, watch C++ Weekly, Episode 78, Intro to CMake by Jason Turner. LLVM’s CMake Primer provides a good high-level introduction to the CMake syntax. Go read it now.
After that, watch Mathieu Ropert’s CppCon 2017 talk Using Modern CMake Patterns to Enforce a Good Modular Design (slides). It provides a thorough explanation of what modern CMake is and why it is so much better than “old school” CMake. The modular design ideas in this talk are based on the book [Large-Scale C++ Software Design](https://www.amazon.de/Large-Scale-Soft
# git please | |
# checks that your local copy of the ref that you’re overwriting is up-to-date before overwriting it. | |
# This indicates that you’ve at least fetched the changes you’re about to stomp. | |
git config --global alias.please 'push --force-with-lease' | |
# git commend | |
# quietly tacks any staged files onto the last commit you created, re-using your existing commit message | |
git config --global alias.commend 'commit --amend --no-edit' | |
# git it |
variable "aws_region" { | |
default = "eu-west-1" | |
} | |
variable "domain" { | |
default = "my_domain" | |
} | |
provider "aws" { | |
region = "${var.aws_region}" |
// In the name of Allah. | |
// We're nothing and you're everything. | |
// Ya Ali! | |
#include <bits/stdc++.h> | |
using namespace std; | |
typedef long long ll; | |
const int maxn = 1e2 + 14, lg = 15; |
#!/bin/bash | |
# Modified Pi-hole script to generate a generic hosts file | |
# for use with dnsmasq's addn-hosts configuration | |
# original : https://github.com/jacobsalmela/pi-hole/blob/master/gravity-adv.sh | |
# The Pi-hole now blocks over 120,000 ad domains | |
# Address to send ads to (the RPi) | |
piholeIP="192.168.1.1" | |
outlist='./final_blocklist.txt' |