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
undefined |
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
undefined |
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
undefined |
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/Modules/CMakeASM_YASMInformation.cmake b/Modules/CMakeASM_YASMInformation.cmake | |
index 50b2848..3d7b330 100644 | |
--- a/Modules/CMakeASM_YASMInformation.cmake | |
+++ b/Modules/CMakeASM_YASMInformation.cmake | |
@@ -1,7 +1,13 @@ | |
set(ASM_DIALECT "_YASM") | |
set(CMAKE_ASM${ASM_DIALECT}_SOURCE_FILE_EXTENSIONS asm) | |
-if(UNIX) | |
+if(APPLE) |
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
#!/usr/bin/env ruby | |
lastcmd="G0" | |
while line = gets | |
print "#{lastcmd}" if /^\s/ =~ line | |
print line | |
if /G(\d+)/ =~ line then | |
case $1.to_i | |
when 0 .. 3 | |
lastcmd=$& | |
end |
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
;PYCAM-META-DATA: Filename: /Users/takahasi/Desktop/helloworld.dxf | |
;PYCAM-META-DATA: Timestamp: 2012-09-17 19:34:47.608634 | |
;PYCAM-META-DATA: Version: 0.5.1 | |
;Estimated machine time: 5 minutes | |
G40 (disable tool radius compensation) | |
G49 (disable tool length compensation) | |
G80 (cancel modal motion) | |
G54 (select coordinate system 1) | |
G90 (disable incremental moves) | |
G21 (metric) |
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
user@ubuntu12:~$ wget http://www.sbrac.org/files/build-gnuradio | |
--2012-10-25 00:40:04-- http://www.sbrac.org/files/build-gnuradio | |
Resolving www.sbrac.org (www.sbrac.org)... 174.142.32.20 | |
Connecting to www.sbrac.org (www.sbrac.org)|174.142.32.20|:80... connected. | |
HTTP request sent, awaiting response... 200 OK | |
Length: 29827 (29K) [text/plain] | |
Saving to: `build-gnuradio' | |
100%[======================================>] 29,827 31.1K/s in 0.9s |
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
require 'rubygems' | |
require 'ftdi' | |
ctx = Ftdi::Context.new | |
begin | |
ctx.usb_open(0x0403, 0x6001) | |
begin | |
ctx.set_bitmode(0xff, :bitbang) | |
100.times do | |
ctx.write_data [0xff] | |
sleep 0.5 |
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
#!/usr/bin/python | |
# pip install pylibftdi | |
# refer /Library/Python/2.6/site-packages/pylibftdi | |
from pylibftdi import BitBangDevice | |
import time | |
with BitBangDevice(direction = 0xff) as bb: | |
while True: | |
time.sleep(0.5) |
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
require 'formula' | |
class GrAirModes < Formula | |
homepage 'http://www.hamradioscience.com/the-rtl-2832u-sdr-and-ads-b/' | |
head 'https://github.com/bistromath/gr-air-modes.git' | |
depends_on 'cmake' => :build | |
depends_on 'gnuradio' | |
depends_on 'rtlsdr' | |
depends_on 'boost' |
OlderNewer