Skip to content

Instantly share code, notes, and snippets.

View bgunebakan's full-sized avatar

Bilal Tonga bgunebakan

View GitHub Profile
@bgunebakan
bgunebakan / pjsip_install.sh
Last active May 26, 2022 02:50
PJSIP and PJSUA installation on Debian 8.8
#install depencies
apt install python-dev gcc make gcc binutils build-essential
#get pjsip
wget http://www.pjsip.org/release/2.6/pjproject-2.6.tar.bz2
tar -xjf pjproject-2.6.tar.bz2
cd pjproject-2.6
#configure
export CFLAGS="$CFLAGS -fPIC"
#build pjsip
@bgunebakan
bgunebakan / gen_crt.sh
Created May 19, 2016 14:13
Generate certificate and key for umurmur
# based on http://www.akadia.com/services/ssh_test_certificate.html
##
sudo mkdir /etc/umurmur
cd /etc/umurmur
sudo openssl genrsa -des3 -out server.key 1024
sudo openssl req -new -key server.key -out server.csr
sudo cp server.key server.key.org
@bgunebakan
bgunebakan / umurmur_raspi.sh
Created May 19, 2016 13:15
Umurmur server installer script for Raspberry Pi boards.
#!/bin/sh
# umurmur_raspi . sh
#
# Copyright (c) 2016 Bilal Tonga
#
#
echo "building Dependencies . . . "
sudo apt-get install git
@bgunebakan
bgunebakan / erpnext_install.sh
Last active November 5, 2019 12:03
ERPNext manual install on Debian 10 (fork from https://murgatroyd.za.net/?p=284)
#As Root User
apt upgrade -y
apt update -y
#Until recently, and based on many/most of the "standard" installation documents,
#I used the default username of "frappe" - but have been told that this is not advisable,
#since it is a targeted username for hacking attempts, so I have changed this to erp_base
#Whatever you choose, make sure you have a decent password!
adduser erp_base
usermod -aG sudo erp_base
Terminalden tv modülünü ekleyin
#sudo nano /etc/modules
dosyanın sonuna "tv" ekleyin ve kaydedip çıkın.
Cihazı reboot edip video kablosunu artı ucunu pin 9(av out), eksi ucunu pin 2(gnd) bağlayın.
Kabloyu televizyonun sarı video girişine bağlayın.
Terminalden tv modülünü aktif edin:
@bgunebakan
bgunebakan / linaro-gcc
Last active August 17, 2016 11:09
Linaro standalone gcc compiler
Linaro's standalone cross-compiler toolchain is recommended for Olimex boards.
get from:
http://releases.linaro.org/14.11/components/toolchain/binaries/arm-linux-gnueabihf/gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf.tar.xz
and unpacked it in /usr/local and define
export PATH="/usr/local/gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf/bin/:$PATH"
@bgunebakan
bgunebakan / firewall.txt
Created May 9, 2016 08:15
internet to intranet connection sharing generator.
you can edit conf from http://easyfwgen.morizot.net/gen/index.php
copy generated script to home folder
$ chmod a+x wifitables.sh
$ ./wifitables.sh
you need add your DNS address to internal network devices.
add it to /etc/resolv.conf
nameserver DNS_SERVER
@bgunebakan
bgunebakan / wifi_raspi.conf
Last active May 8, 2016 21:18
raspberry pi 3 wifi static IP configuration
#wpa_supplicant
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=GB
network={
ssid="SSID NAME"
psk="PASS"
key_mgmt=WPA-PSK
@bgunebakan
bgunebakan / cap5.txt
Created February 29, 2016 07:55
Solve error "make[3]: *** No rule to make target '/usr/lib64/perl5/CORE/EXTERN.h', needed by 'Cap5.o'. Stop."
# To workaround you can create link to ubuntu package folder
find /usr -name "EXTERN.h" # find perl lib folder maybe its different
sudo mkdir /usr/lib64
sudo ln -s /usr/lib/x86_64-linux-gnu/perl/5.20.2/ /usr/lib64/perl5
#uninstall pillow and PIL
pip install image
sudo apt-get install python-dev
sudo apt-get install python-imaging-tk
sudo apt-get install tk8.5-dev tcl8.5-dev