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
mkdir /var/lib/resilio-sync/ && chown pi:pi -R /var/lib/resilio-sync | |
mkdir /etc/resilio-sync | |
nano /etc/resilio-sync/config.json | |
{ | |
"storage_path" : "/var/lib/resilio-sync/", | |
"pid_file" : "/var/run/resilio-sync/sync.pid", | |
"webui" : |
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
sudo apt-get install raspberrypi-kernel-headers | |
VOILA! nothing else to do! | |
if it does not work: | |
https://www.niksula.hut.fi/~mhiienka/Rpi/linux-headers-rpi/ | |
find the headers for the distribution: uname -r |
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
node -v | |
v0.10.29 | |
sudo su | |
apt-get remove nodered -y | |
apt-get remove nodejs nodejs-legacy -y | |
apt-get remove npm -y # if you installed npm | |
cd /usr/src | |
wget http://node-arm.herokuapp.com/node_latest_armhf.deb |
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
aptitude remove libspeex-dev libspeexdsp-dev libspeex1 | |
rm /usr/lib/arm-linux-gnueabihf/libspeex* | |
use prefix: /usr | |
Install: | |
https://github.com/xiph/speexdsp | |
Install: |
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
[from-dongle] | |
exten = _[+0-9].,1,NoOp(Inbound dongle channel from dongle) | |
same = n,Dial(sip/alice,,b(from-dongle^set_up_outbound^1)) | |
exten = set_up_outbound,1,NoOp(Outbound sip channel from dongle) | |
same = n,Set(JITTERBUFFER(fixed)=2500,10000) | |
same = n,Return() | |
[from-sip] | |
exten = _[+0-9].,1,NoOp(Inbound sip channel from sip) |
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
>>> See comments | |
src: https://unix.stackexchange.com/questions/4420/reply-on-same-interface-as-incoming | |
Detailed infos: http://irp.nain-t.net/doku.php/100iproute:020_iproute2 |
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
Hi Linphone team, | |
I would like to notify you that there is a bug in linphone coreapi that | |
cause the android version of linphone to crash after remote provisioning. | |
Here is the crash dump: | |
********** Crash dump: ********** | |
Build fingerprint: 'samsung/jfltexx/jflte:4.4.2/KOT49H/I9505XXUGNJ8:user/release-keys' | |
pid: 20955, tid: 20964, name: FinalizerDaemon >>> com.linphone.android <<< |
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
From 13f1c2f80e373f95979757b4436dc600ccb8f151 Mon Sep 17 00:00:00 2001 | |
From: joseph <[email protected]> | |
Date: Sat, 28 Oct 2017 21:35:31 +0200 | |
Subject: [PATCH] fix ice server DNS resolve | |
--- | |
coreapi/nat_policy.c | 3 +++ | |
coreapi/proxy.c | 1 + | |
2 files changed, 4 insertions(+) |
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
/*! | |
* Bootstrap v3.3.5 (http://getbootstrap.com) | |
* Copyright 2011-2015 Twitter, Inc. | |
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | |
*/ | |
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */ | |
html { | |
font-family: sans-serif; | |
-ms-text-size-adjust: 100%; | |
-webkit-text-size-adjust: 100%; |
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
Write a program that take a text as input and display the top 15 | |
most used words alongside with they repective appearance. | |
e.g: | |
Input: "aa aa aa bb cc aa aa cc " | |
Output: | |
1. "aa" -> 5 | |
2. "cc" -> 2 | |
3. "bb" -> 1 |
OlderNewer