Skip to content

Instantly share code, notes, and snippets.

View tomotomo9696's full-sized avatar

tomotomo9696 tomotomo9696

  • Japan
View GitHub Profile
@kurema
kurema / allList.pl
Created December 24, 2017 13:37
とっさに組み合わせを作ろうと思ってできた酷いコードです。
for(my $k=0;$k<=999999;$k++){
if($k=~ /1/ && $k=~ /2/ && $k=~ /3/ && $k=~ /4/ && $k=~ /5/ && $k=~ /6/){
for(my $j=1;$j<=6;$j++){
my $i=$k;
$i=~ s/$j//g;
$i=~ s/2/\+/g;
$i=~ s/5/\-/g;
# print "$i\n";
$i=~ s/1/Uj9mMJFCSC/g;
$i=~ s/\+/V9dBqvgbHj/g;
package main
import (
"bufio"
"bytes"
"crypto/sha256"
"encoding/binary"
"encoding/hex"
"flag"
"fmt"
@itsoli
itsoli / nftables.conf
Last active January 19, 2023 14:43
nftables vpn config
#!/usr/bin/nft -f
define ext_if = ens3
define ext_ip = a.b.c.d
define vpn_if = ppp0
define vpn_ip = x.y.z.w/s
table inet filter {
chain input {
type filter hook input priority 0;
@repeatedly
repeatedly / d_master.md
Last active June 8, 2023 06:20
D言語基礎文法最速マスター

他の言語をある程度知っている人はこれを読めばD言語の基礎をマスターでき,D言語の氷山の一角くらいは知ることができると思います.対象バージョンはdmd 2.059です.

1. 基礎

ソースファイル

ASCIIかUTFしか受け付けません.それ以外の文字コードで書くとコンパイルエラーになります.

main

D言語のmainはCとは違い以下のようなシグネチャです.