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:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
DBNAME=database | |
DBUSER=root | |
DBPASS=root | |
UUENCODE=uuencode | |
GPGRECEIVER="asdasdasd" | |
EMAIL="asdf@gmail.com" | |
FILENAME="backup-`date +%Y-%m-%d`" |
@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, |
#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> |
#ifndef LLIST_C | |
#define LLIST_C | |
typedef struct _node { | |
int socket, szamlalo, jatszikmeg; | |
char ipport[256]; | |
struct _node *next; | |
} node; |
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 |
./configure \ | |
--prefix=/usr/local/php \ | |
--enable-bcmath \ | |
--enable-calendar \ | |
--enable-exif \ | |
--enable-ftp \ | |
--enable-mbstring \ | |
--enable-shmop \ | |
--enable-sigchild \ | |
--enable-sockets \ |
É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 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.
#!/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/* |