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
λ python | |
Python 2.7.10 (default, Jul 30 2016, 18:31:42) | |
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] on darwin | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import sys | |
>>> sys.path | |
['', '/Users/gyaresu/Library/Python/2.7/lib/python/site-packages/render-0.0.4-py2.7.egg', '/Library/Python/2.7/site-packages/pip-7.1.0-py2.7.egg', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2. |
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
In [2]: print(sys.path) | |
['', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Users/gyaresu/Library/Python/2.7/lib/python/site-packages/render-0.0.4-py2.7.egg', '/opt/local/lib/python2.7/site-packages', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/readline', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload', '/User |
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 port -v selfupdate | |
---> Updating MacPorts base sources using rsync | |
Willkommen auf dem RSYNC-server auf ftp.fau.de. | |
Nicht all unsere Mirror sind per rsync verfuegbar. | |
Welcome to the RSYNC daemon on ftp.fau.de. | |
Not all of our mirrors are available through rsync. | |
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 port install qt5 | |
---> Computing dependencies for qt5 | |
---> Dependencies to be installed: qt5-qtbase qt5-qtcanvas3d qt5-qtdeclarative qt5-qtxmlpatterns qt5-qtconnectivity qt5-qtenginio qt5-qtgraphicaleffects qt5-qtimageformats qt5-qtlocation qt5-qtquickcontrols qt5-qtserialport qt5-qtmacextras qt5-qtmultimedia qt5-qtsensors qt5-qtsvg qt5-qttools qt5-qttranslations qt5-qtwebchannel qt5-qtwebsockets qt5-sqlite-plugin | |
---> Fetching archive for qt5-qtbase | |
---> Attempting to fetch qt5-qtbase-5.6.1_0.darwin_16.x86_64.tbz2 from http://sea.us.packages.macports.org/macports/packages/qt5-qtbase | |
---> Attempting to fetch qt5-qtbase-5.6.1_0.darwin_16.x86_64.tbz2 from https://packages.macports.org/qt5-qtbase | |
---> Attempting to fetch qt5-qtbase-5.6.1_0.darwin_16.x86_64.tbz2 from http://lil.fr.packages.macports.org/qt5-qtbase | |
---> Fetching distfiles for qt5-qtbase | |
Warning: OS X subsequent to 10.10 (Yosemite) is not a Reference Configuration for Qt. | |
Warning: See http://doc.qt.io/qt-5/supported-platforms.html#refer |
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
λ ls -al /usr/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/aqua/qt5/files | |
total 144 | |
drwxr-xr-x 19 root wheel 646 15 Jun 08:01 . | |
drwxr-xr-x 4 root wheel 136 29 Sep 15:59 .. | |
-rw-r--r-- 1 root wheel 1416 5 May 06:00 patch-add_sdk.diff | |
-rw-r--r-- 1 root wheel 620 14 Jun 03:30 patch-configure.diff | |
-rw-r--r-- 1 root wheel 1251 14 Jun 03:30 patch-fontconfig.diff | |
-rw-r--r-- 1 root wheel 1355 5 May 06:00 patch-icu.diff | |
-rw-r--r-- 1 root wheel 753 14 Jun 03:30 patch-install_examples.diff | |
-rw-r--r-- 1 root wheel 833 13 Nov 2015 patch-machtest.diff |
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
gyaresu on zaphod in ~/programming/gr-iridium(8d22h50m|master*) | |
λ iridium-extractor -D 4 examples/hackrf.conf | grep "A:OK" > output.bits | |
gr-osmosdr v0.1.x-xxx-xunknown (0.1.5git) gnuradio 3.7.10.1 | |
built-in source types: file fcd rtl rtl_tcp uhd sdrplay hackrf bladerf rfspace airspy soapy | |
get_devices started | |
Device count: 0 | |
get_devices end | |
Using HackRF One with firmware 2015.07.2 | |
(RF) Gain: 14.0 (Requested 10) | |
BB Gain: 20.0 (Requested 20) |
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
[ 86%] Building C object CMakeFiles/hackrf_usb.elf.dir/Users/gyaresu/programming/hackrf-scan/firmware/common/w25q80bv.c.obj | |
[ 88%] Building C object CMakeFiles/hackrf_usb.elf.dir/Users/gyaresu/programming/hackrf-scan/firmware/common/w25q80bv_target.c.obj | |
[ 91%] Building C object CMakeFiles/hackrf_usb.elf.dir/Users/gyaresu/programming/hackrf-scan/firmware/common/spi_bus.c.obj | |
[ 93%] Building C object CMakeFiles/hackrf_usb.elf.dir/Users/gyaresu/programming/hackrf-scan/firmware/common/spi_ssp.c.obj | |
[ 95%] Building C object CMakeFiles/hackrf_usb.elf.dir/Users/gyaresu/programming/hackrf-scan/firmware/common/gpio_lpc.c.obj | |
[ 97%] Building ASM object CMakeFiles/hackrf_usb.elf.dir/m0_bin.s.obj | |
[100%] Linking C executable hackrf_usb.elf | |
/usr/local/bin/../lib/gcc/arm-none-eabi/5.1.0/../../../../arm-none-eabi/bin/ld: error: hackrf_usb.elf uses VFP register arguments, /usr/local/bin/../lib/gcc/arm-none-eabi/5.1.0/libgcc.a(_udivmoddi4.o) does not | |
/usr/local/bin/../lib/gcc/arm-none-eabi/5.1.0/../../../../arm-none-eabi/bin/ |
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
gyaresu on zaphod in ~/programming/hackrf-scan/firmware/hackrf_usb/build(4d5h35m|scan) | |
λ make hackrf_usb.bin | |
[ 2%] Building C object CMakeFiles/hackrf_usb_m0.elf.dir/Users/gyaresu/programming/hackrf-scan/firmware/common/m0_sleep.c.obj | |
[ 4%] Linking C executable hackrf_usb_m0.elf | |
/usr/local/bin/../lib/gcc/arm-none-eabi/5.1.0/../../../../arm-none-eabi/bin/ld: cannot open linker script file libopencm3_lpc43xx_m0.ld: No such file or directory | |
collect2: error: ld returned 1 exit status | |
make[3]: *** [hackrf_usb_m0.elf] Error 1 | |
make[2]: *** [CMakeFiles/hackrf_usb_m0.elf.dir/all] Error 2 | |
make[1]: *** [CMakeFiles/hackrf_usb.bin.dir/rule] Error 2 | |
make: *** [hackrf_usb.bin] Error 2 |
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
# This is some blinky code to show Python interaction with Great Scott Gadget's new GreatFET "Azalea" | |
# http://greatscottgadgets.com/greatfet/ | |
# | |
# Run the below code from the 'host' directory to imprt greatfet as a module | |
# https://github.com/dominicgs/GreatFET-experimental/tree/master/host | |
from greatfet import GreatFET, protocol | |
from time import sleep | |
from random import randint |
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
λ ls -l /usr/local/arm-none-eabi/lib | |
total 54888 | |
drwxr-xr-x 10 root admin 340 21 Jul 15:13 fpu | |
drwxr-xr-x 12 root admin 408 21 Jul 15:12 ldscripts | |
-rw-r--r-- 2 root admin 4074156 31 Jan 2016 libc.a | |
-rw-r--r-- 2 root admin 4074156 31 Jan 2016 libg.a | |
-rw-r--r-- 1 root admin 1492586 31 Jan 2016 libm.a | |
-rw-r--r-- 1 root admin 54402 31 Jan 2016 libssp.a | |
-rw-r--r-- 1 root admin 2402 31 Jan 2016 libssp_nonshared.a | |
-rw-r--r-- 1 root admin 17520170 31 Jan 2016 libstdc++.a |