I hereby claim:
- I am nvkv on github.
- I am sdfgh153 (https://keybase.io/sdfgh153) on keybase.
- I have a public key whose fingerprint is F0A3 1BA3 49A6 93FD 51B3 E0ED 51DC E27C EA51 6FA4
To claim this, I am signing this object:
profiling results for thread "media extractor thread" (39209): | |
tick interval: 1000 us | |
total ticks: 2293 (2293000 us) | |
unknown ticks: 0 (0 us, 0.00%) | |
dropped ticks: 0 (0 us, 0.00%) | |
hits unknown image | |
------------------------------------------------------------------------------ | |
5 0 7074 /boot/system/lib/libmedia.so | |
2088 0 7080 /boot/system/lib/libroot.so |
I hereby claim:
To claim this, I am signing this object:
# Based on ys | |
# VCS | |
YS_VCS_PROMPT_PREFIX1=" %{$fg[black]%}on%{$reset_color%} " | |
YS_VCS_PROMPT_PREFIX2=":%{$fg[cyan]%}" | |
YS_VCS_PROMPT_SUFFIX="%{$reset_color%}" | |
YS_VCS_PROMPT_DIRTY=" %{$fg[red]%}✖︎" | |
YS_VCS_PROMPT_CLEAN=" %{$fg[green]%}✓" | |
# Git info |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env scalas | |
/*** | |
scalacOptions += "-deprecation" | |
libraryDependencies ++= Seq( | |
"com.github.tototoshi" %% "scala-csv" % "1.2.1" | |
) | |
*/ | |
import com.github.tototoshi.csv._ |
set gfn=Consolas:h13 | |
set guifont=Consolas\ 10 | |
set tabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
set linebreak | |
set wrap | |
set noswapfile | |
syntax off |
Literate programming is a technique introduced by Dolad Knuth many years ago. Nowdays literate programming is almost dead, it's really sad in my opinion. This little application designed to bring literate programming approach to almost any programming language expirience.
I strongly recomend to read original Knuth paper on Literate Programming (http://www.literateprogramming.com/knuthweb.pdf)
Noweb.py by Jonathan Aquino was inspiration for this humble peace of code.
# Lit, simple tool for language agnostic literate programming | |
Literate programming is a technique introduced by Dolad Knuth many years ago. | |
Nowdays literate programming is almost dead, it's really sad in my opinion. This little application designed to bring | |
literate programming approach to almost any programming language expirience. | |
I strongly recomend to read original Knuth paper on Literate Programming (http://www.literateprogramming.com/knuthweb.pdf) | |
Noweb.py by Jonathan Aquino was inspiration for this humble peace of code. |
package main | |
import ( | |
"regexp" | |
"flag" | |
"bufio" | |
"fmt" | |
"os" | |
"io" | |
"strings" |
int* | |
concord_factor(matrix_t *m) | |
{ | |
int *cfactor = malloc(m->rows - 1 * sizeof(int)); | |
int i, j; | |
for (j = 0; j < m->lines; j++) | |
for (i = 0; i < m->rows - 1; i++) | |
cfactor[i] += (m->data[j][i] == m->data[j][m->rows - 1]) ? 1 : 0; | |