Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am zilahu on github.
  • I am kokailaszlo (https://keybase.io/kokailaszlo) on keybase.
  • I have a public key whose fingerprint is 588A D58B C951 8323 5344 CC02 0D9A 4B31 EA72 AED1

To claim this, I am signing this object:

@zilahu
zilahu / alaw_convert.sh
Created November 18, 2017 18:27
Asterisk ALAW2WAV
sox -t raw -r 8000 -e a-law -b 8 -c1 file.alaw output.wav
# GSM2WAV
sox -r 8000 -b 8 -c1 file.gsm output.wav
# WAV2GSM
sox file.wav -c 1 -r 8000 file.gsm
# Egy könyvtár összes wavját konvertálja: 
@zilahu
zilahu / grep_script.sh
Created November 18, 2017 18:26
Grep for start and end lines in file
grep 67.205.74.88 messages |sponge |pee "head -1" "tail -1" # Show start and ending lines in the syslog for the IP 67.205.74.88
@zilahu
zilahu / 0_reuse_code.js
Created June 5, 2014 14:06
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console