Apple MacBook Pro M1, 32 GB, Ventura 13.2
Documentation based on comments in this Github Elasticsearch issue.
Install Homebrew
Apple MacBook Pro M1, 32 GB, Ventura 13.2
Documentation based on comments in this Github Elasticsearch issue.
#!/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) |
+----------------------+--------+--------+---------+---------+-----+-------+ | |
| 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 | |
GitHubギッハブ Flavoredフレイヴァード Markdownマークダウン においては ruby タグを用もちいる事ことで漢かん字じに紅ル玉ビを振ふる事ことが可能なできるのだッッ!!!
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` |
#!/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) |
no docs for i18n.railties_load_path found in rails guides
["/Users/schneems/.gem/ruby/2.1.2/gems/will_paginate-3.0.4/lib/will_paginate/locale/en.yml", "/Users/schneems/.gem/ruby/2.1.2/gems/devise-3.2.4/config/locales/en.yml", "/Users/schneems/Documents/projects/codetriage/config/locales/devise.en.yml", "/Users/schneems/Documents/projects/codetriage/config/locales/en.yml"]
import scala.xml.{Node => XmlNode} | |
import scala.xml._ | |
import java.io.FileWriter | |
import sbt._ | |
import Keys._ | |
import AndroidKeys._ | |
class PostsController < ActionController::Base | |
def create | |
Post.create(post_params) | |
end | |
def update | |
Post.find(params[:id]).update_attributes!(post_params) | |
end | |
private |