pv | split --bytes=134217728 --verbose -a 5 - part
I hereby claim:
- I am maerlyn on github.
- I am maerlyn (https://keybase.io/maerlyn) on keybase.
- I have a public key whose fingerprint is 3EC2 C545 F349 7D5B F305 3F5A 1B36 82AE 0A22 291B
To claim this, I am signing this object:
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 | |
find /home/maerlyn/Dropbox/megosztott/jegyzetek\ -\ uj/ -name \*conflicted\* -exec rm {} \; | |
find /home/maerlyn/Dropbox/megosztott/jegyzetek\ -\ uj/ -size 0 -exec rm {} \; | |
find /home/maerlyn/Dropbox/megosztott/ -name .picasa.ini -exec rm {} \; | |
find /home/maerlyn/Dropbox/megosztott/jegyzetek\ -\ uj/ -name \*~ -exec rm {} \; | |
find /home/maerlyn/Dropbox/megosztott/jegyzetek\ -\ uj/ -name \*.o -exec rm {} \; | |
tar -cf /home/maerlyn/dropbox-backup/`date +%Y-%m-%d`.tar /home/maerlyn/Dropbox/megosztott/jegyzetek\ -\ uj/* |
This is a quick'n'dirty script to get all reputation changes of a given Stack Overflow user, then sum them by type.
It was created as a partial answer for http://meta.stackoverflow.com/questions/152413/pie-chart-to-show-reputation-points-grouped-by-event-type .
You'll need to edit the user's ID at the top.
Érdeklődők kedvéért a megoldás, hogy lehet *nix alatt periodikusan képeket csinálni a webcammel.
Hozz létre egy új FIFO-t:
$ mkfifo /tmp/mplayer.fifo
majd indítsd el az mplayert úgy, hogy a háttérben fusson, a webcamet mutassa, és a fifo-ból olvassa a parancsokat:
$ mplayer -slave -quiet -input file=/tmp/mplayer.fifo -vf screenshot -tv driver=v4l tv:// &
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
./configure \ | |
--prefix=/usr/local/php \ | |
--enable-bcmath \ | |
--enable-calendar \ | |
--enable-exif \ | |
--enable-ftp \ | |
--enable-mbstring \ | |
--enable-shmop \ | |
--enable-sigchild \ | |
--enable-sockets \ |
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
Egyszerű backup megoldás olyan tárhelyekhez, ahol csak ftp elérés van. Részletek a blogomon: http://maerlyn.eu/2012/08/30/ftp-only-backup.html |
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
#ifndef LLIST_C | |
#define LLIST_C | |
typedef struct _node { | |
int socket, szamlalo, jatszikmeg; | |
char ipport[256]; | |
struct _node *next; | |
} node; |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <sys/socket.h> | |
#include <sys/types.h> | |
#include <time.h> | |
#include <sys/select.h> | |
#include <netdb.h> | |
#include <unistd.h> | |
#include <arpa/inet.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
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document | |
domain("neptun.uni-pannon.hu"), | |
domain("neptun11.uni-pannon.hu"), | |
domain("neptun12.uni-pannon.hu"), | |
domain("neptun13.uni-pannon.hu"), | |
domain("neptun14.uni-pannon.hu") { | |
.main_header_l, |
NewerOlder