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
<item> | |
<tunable>net.inet.icmp.drop_redirect</tunable> | |
<value>1</value> | |
<descr/> | |
</item> | |
<item> | |
<tunable>net.isr.bindthreads</tunable> | |
<value>1</value> | |
<descr/> | |
</item> |
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
#requires -version 2 | |
<# | |
.SYNOPSIS | |
Time-base One-Time Password Algorithm (RFC 6238) | |
.DESCRIPTION | |
This is an implementation of the RFC 6238 Time-Based One-Time Password Algorithm draft based upon the HMAC-based One-Time Password (HOTP) algorithm (RFC 4226). This is a time based variant of the HOTP algorithm providing short-lived OTP values. | |
.NOTES | |
Version: 1.0 |
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
#!/bin/bash | |
REV=`zcat /usr/share/doc/raspberrypi-bootloader/changelog.Debian.gz | grep '* firmware as of' | head -n 1 | sed -e 's/\ \*\ firmware as of \(.*\)$/\1/'` | |
rm -rf rasp-tmp | |
mkdir -p rasp-tmp | |
mkdir -p rasp-tmp/linux | |
wget https://raw.github.com/raspberrypi/firmware/$REV/extra/git_hash -O rasp-tmp/git_hash | |
wget https://raw.github.com/raspberrypi/firmware/$REV/extra/Module.symvers -O rasp-tmp/Module.symvers |
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
diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h | |
index f02e69ee5..025375c0f 100644 | |
--- a/Marlin/Configuration.h | |
+++ b/Marlin/Configuration.h | |
@@ -110,7 +110,7 @@ | |
* Select a secondary serial port on the board to use for communication with the host. | |
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7] | |
*/ | |
-//#define SERIAL_PORT_2 -1 | |
+#define SERIAL_PORT_2 -1 |
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
diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h | |
index 155605f60..eaadb2093 100644 | |
--- a/Marlin/Configuration.h | |
+++ b/Marlin/Configuration.h | |
@@ -103,7 +103,7 @@ | |
* | |
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7] | |
*/ | |
-#define SERIAL_PORT 0 | |
+#define SERIAL_PORT -1 |
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
Raspi2 tvheadend & oscam setup | |
Raspbian current | |
sudo apt-get update | |
sudo apt-get upgrade | |
# libs for tvheadend & oscam | |
sudo apt-get install build-essential subversion pcscd pcsc-tools libpcsclite-dev libccid libssl-dev debhelper libavahi-client-dev libcurl4-gnutls-dev liburiparser-dev git |
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
some manual trial: | |
sudo lircd --driver=devinput --device=/dev/input/by-id/usb-www.irfmedia.com_W-01RN_USB_V3.1-event-kbd --output=/var/run/lirc/lircd1 --pidfile=/var/run/lirc/lircd1.pid --listen | |
sudo lircd --driver=devinput --device=/dev/input/by-id/usb-www.irfmedia.com_W-01RN_USB_V3.1-event-mouse --output=/var/run/lirc/lircd2 --pidfile=/var/run/lirc/lircd2.pid --connect=localhost:8765 | |
============================= | |
keymap: /etc/lirc/lircd.conf | |
http://club.dx.com/forums/forums.dx/threadid.756584 | |
# brand: dxremote |
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
cd /opt | |
wget http://apache-mirror.rbc.ru/pub/apache/kafka/0.10.1.0/kafka_2.11-0.10.1.0.tgz | |
tar xvzf kafka_2.11-0.10.1.0.tgz | |
ln -s kafka_2.11-0.10.1.0/ kafka | |
vi /etc/systemd/system/kafka-zookeeper.service | |
[Unit] | |
Description=Apache Zookeeper server (Kafka) | |
Documentation=http://zookeeper.apache.org |
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
Jan 5 00:04:45 raspberrypi kernel: imklog 5.8.11, log source = /proc/kmsg started. | |
Jan 5 00:04:46 raspberrypi kernel: [ 0.000000] Booting Linux on physical CPU 0x0 | |
Jan 5 00:04:46 raspberrypi kernel: [ 0.000000] Initializing cgroup subsys cpu | |
Jan 5 00:04:46 raspberrypi kernel: [ 0.000000] Initializing cgroup subsys cpuacct | |
Jan 5 00:04:46 raspberrypi kernel: [ 0.000000] Linux version 3.10.24+ (dc4@dc4-arm-01) (gcc version 4.7.2 20120731 (prerelease) (crosstool-NG linaro-1.13.1+bzr2458 - Linaro GCC 2012.08) ) #614 PREEMPT Thu Dec 19 20:38:42 GMT 2013 | |
Jan 5 00:04:46 raspberrypi kernel: [ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d | |
Jan 5 00:04:46 raspberrypi kernel: [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache | |
Jan 5 00:04:46 raspberrypi kernel: [ 0.000000] Machine: BCM2708 | |
Jan 5 00:04:46 raspberrypi kernel: [ 0.000000] cma: CMA: reserved 16 MiB at 1b000000 | |
Jan 5 00:04:46 raspberrypi kernel: [ 0. |
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
[4356/10029] LINK_EMBED mksnapshot.ia32.exe | |
FAILED: cmd /c (C:\Python27\python.exe gyp-win-tool link-wrapper environment.x86 link.exe /nologo /OUT:mksnapshot.ia32.exe /PDB:mksnapshot.i | |
a32.exe.pdb @mksnapshot.ia32.exe.rsp) && (if exist mksnapshot.ia32.exe.manifest del mksnapshot.ia32.exe.manifest) && if not "obj\src\3rdpart | |
y\chromium\v8\tools\gyp\mksnapshot.ia32.mksnapshot.ia32.exe.intermediate.manifest ..\..\..\src\3rdparty\chromium\build\win\compatibility.man | |
ifest"=="" ((C:\Python27\python.exe gyp-win-tool manifest-wrapper environment.x86 mt.exe -nologo -manifest obj\src\3rdparty\chromium\v8\tool | |
s\gyp\mksnapshot.ia32.mksnapshot.ia32.exe.intermediate.manifest ..\..\..\src\3rdparty\chromium\build\win\compatibility.manifest -outputresou | |
rce:mksnapshot.ia32.exe;1)) | |
msvcprtd.lib(MSVCP100D.dll) : error LNK2005: "public: static double __cdecl std::numeric_limits<double>::max(void)" (?max@?$numeric_limits@N | |
@std@@SANXZ) already defined in v8_base.ia32.lib(v8_base.ia32.time.obj) | |
MSVCRTD.lib(MSVCR100D.dll) : error |
NewerOlder