Skip to content

Instantly share code, notes, and snippets.

View orymate's full-sized avatar

Máté Őry orymate

  • Budapest, Hungary
  • 16:35 (UTC +02:00)
View GitHub Profile
@orymate
orymate / Makefile
Created December 7, 2010 19:18 — forked from erenon/Makefile
C_SRCS += \
./library.c \
./functions.c \
./konyvtar.c
OBJS += \
./library.o \
./functions.o \
./konyvtar.o
@orymate
orymate / gist:723157
Created December 1, 2010 08:29
Krisz levele zh után
Date: Tue, 30 Nov 2010 15:47:47 +0100
From: Németh Krisztián <[email protected]>
To: [email protected], [email protected]
Subject: [info2008] THSz ZH bónusz kérdések, válaszok
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; hu; rv:1.9.2.12)
Gecko/20101027 Thunderbird/3.1.6
Sender: [email protected]
/Kedves Kollégák!/
@orymate
orymate / gist:703479
Created November 17, 2010 15:14
hszk vpn
[main]
Description=hszk vpn
Host=ravpn.bme.hu
AuthType=1
GroupName=BME
GroupPwd=WolfgangAmadeus
EnableISPConnect=0
ISPConnectType=0
ISPConnect=
ISPCommand=
#!/bin/bash
trap 'killall speaker-test; exit' INT
cat <<A
usage: 'j': +10Hz
'k': -10Hz
'J': -100Hz
'K': +100Hz
A
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=10000
SAVEHIST=10000
setopt autocd extendedglob nomatch notify
bindkey -v
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/maat/.zshrc'
#!/bin/bash
if [ $# -lt 1 ]
then
echo "Usage: rotate (rot|ar)" >&2
exit 10
fi
set -v
cd /home/maat/Maildir/ || exit 1
Linuxos signum.h-ból:
SIGHUP Hangup (POSIX). Bontás angolul is értelmetlen már, így rövid
SIGINT Interrupt (ANSI). Kilépés rendkívüli kilépés, ignorálható, szabályos
SIGQUIT Quit (POSIX). Abbahagyás? ne legyen INT vagy TERM. mi használja? ^\ küldi
SIGILL Illegal instruction (ANSI). Érvénytelen utasítás wtf?
SIGTRAP Trace trap (POSIX). Nyomkövetőcsapda ?
SIGABRT Abort (ANSI). Abortálás szerintem így érti, aki használja. lásd abort(3)
SIGIOT IOT trap (4.2 BSD). IOT csapda wtf?
SIGBUS BUS error (4.2 BSD). Buszhiba
/* cat *css* | grep Courier | sed 's/{.*$//' | tr '\n' ',' */
pre,code,#readme div.plain pre,.blob-editor textarea,.add-pill-form textarea.key_value,#code_search_instructions table.instruction tr td.inst,#code_search_results .result .snippet,.commit-ref,#compare .commits code,#compare .commits tr.merge td.author,#compare .commits tr.merge td.date,#facebox p.commit-id,#forkqueue table td.sha,#forkqueue table td.message,#forkqueue table td.human,#forkqueue table.choice td.code,#repos .repo .commit .machine,input.url-field,#commit .human .message,#commit .machine,#commit .commit_oneline .commit,#commit .commit_oneline .tree,#toc,#browser table,#files .file .meta .info,#files .file .data pre,#files .file .line-data,#files .file .line-number,#files .file .data td.line_numbers,#files .meta .bubble,.news pre,.news code {font-family:monospace!important;}
set background=dark
set softtabstop=4
set sw=4
set expandtab
set smarttab
set autoindent
autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class
autocmd BufWritePre *.py normal m`:%s/\s\+$//e ``
au BufNewFile,BufRead *.cn setf c
autocmd BufNewFile,BufRead *.html set sw=2
#!/bin/bash
ECHO=echo
if [ "x$DISPLAY" != x ]
then
if type -P zenity &>/dev/null
then
ECHO='zenity --info --text'
elif type -P xmessage &>/dev/null
then
ECHO='xmessage'