GitHubギッハブ Flavoredフレイヴァード Markdownマークダウン においては ruby タグを用もちいる事ことで漢かん字じに紅ル玉ビを振ふる事ことが可能なできるのだッッ!!!
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
#!/usr/bin/env python | |
from re import search | |
from itertools import chain | |
# levenshtein | |
def distance(x, y): | |
if not len(x): return len(y) | |
if not len(y): return len(x) | |
return min(distance(x[1:], y[1:]) + (x[0] != y[0]), distance(x[1:], y) + 1, distance(x, y[1:]) + 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
CC=gcc -std=c99 -Wall | |
didyoumean.so: didyoumean.c didyoumean-safe.c | |
${CC} `python-config --cflags` `python-config --includes` -Wl,--export-dynamic -fPIC -shared -o $@ $^ -ldl `python-config --libs` |
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
+----------------------+--------+--------+---------+---------+-----+-------+ | |
| Name | Lines | LOC | Classes | Methods | M/C | LOC/M | | |
+----------------------+--------+--------+---------+---------+-----+-------+ | |
| Controllers | 48726 | 39215 | 522 | 3970 | 7 | 7 | | |
| Helpers | 14795 | 12125 | 15 | 1399 | 93 | 6 | | |
| Models | 96678 | 76140 | 1747 | 8548 | 4 | 6 | | |
| Mailers | 2208 | 1766 | 44 | 206 | 4 | 6 | | |
| Workers | 639 | 540 | 20 | 31 | 1 | 15 | | |
| Chanko units | 11713 | 9644 | 6 | 247 | 41 | 37 | | |
| Libraries | 50409 | 41650 | 592 | 3741 | 6 | 9 | |
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
#!/bin/bash | |
DAYS_SINCE_LAST_CHANGE=14 # If a project hasn't been touched in this long its node_modules will be deleted | |
SEARCH_PATH="./Git" # Update this to the path where your code is stored | |
TOTAL_BYTES_REMOVED=0 | |
Mb=1000000 | |
Kb=1000 | |
node_modules=$(find $SEARCH_PATH -name "node_modules" -type d -prune) |
Apple MacBook Pro M1, 32 GB, Ventura 13.2
Documentation based on comments in this Github Elasticsearch issue.
Install Homebrew
OlderNewer