New repo: https://github.com/konradit/gopro-linux
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
# LVDB - LLOOGG Memory DB | |
# Copyriht (C) 2009 Salvatore Sanfilippo <antirez@gmail.com> | |
# All Rights Reserved | |
# TODO | |
# - cron with cleanup of timedout clients, automatic dump | |
# - the dump should use array startsearch to write it line by line | |
# and may just use gets to read element by element and load the whole state. | |
# - 'help','stopserver','saveandstopserver','save','load','reset','keys' commands. | |
# - ttl with milliseconds resolution 'ttl a 1000'. Check ttl in dump! |
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
/* | |
* fen.c | |
* | |
* cc fen.c -o fen | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <sys/types.h> | |
#include <sys/stat.h> | |
#include <unistd.h> |
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
| From: "Roger A. Faulkner" <Roger.Faulkner@Eng> | |
| Subject: Re: curiosity: truss? | |
| Date: Wed, 27 Jan 1999 23:34:47 -0800 (PST) | |
| | |
| For your edification, this is the geneaology of the name "truss" | |
| (taken from some mail dated Sep 26, 1988) | |
| This was when Ron Gomes and I were jointly developing the first | |
| /proc for SVR4 at USL. | |
| ----------------------------------------------------------------- | |
| |
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 | |
MYHOME=$HOME | |
MYDESKTOP=$HOME/Desktop | |
echo " _ " | |
echo " | | " | |
echo " ___ | | ___ __ _ _ __ _ _ _ __ " | |
echo " / __|| |/ _ \/ _ | '_ \| | | | '_ \ " | |
echo " | (__ | | __/ (_| | | | | |_| | |_) |" | |
echo " \___||_|\___|\__,_|_| |_|\__,_| .__/ " |
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
Basically you can do that by simple running an external command from | |
your editor. | |
Autocompletion command needs the following information from your editor: | |
1. Current file buffer (possible unsaved). | |
2. Cursor position (offset in bytes from the beginning of the buffer). | |
3. The full file name of the currently edited buffer. It can be | |
relative to the current/working directory. |