This file contains hidden or 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
| import Network | |
| import System.IO | |
| import Control.Monad | |
| import Control.Concurrent | |
| main :: IO () | |
| main = withSocketsDo $ do | |
| val <- getContents | |
| sock <- listenOn $ PortNumber 8080 | |
| forever $ do |
This file contains hidden or 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
| http://doc.aldebaran.com/2-1/dev/cpp/examples/core/helloworld/example.html#cpp-examples-helloworld |
This file contains hidden or 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
| class MyClass(GeneratedClass): | |
| def __init__(self): | |
| GeneratedClass.__init__(self) | |
| def onLoad(self): | |
| pass |
This file contains hidden or 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
| junjihashimoto-Precision-T3600 [0] ~/git/inline-c-cpp-test $ ldd /usr/local/bin/naoqi-bin | |
| /usr/local/bin/naoqi-bin: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/local/bin/naoqi-bin) | |
| /usr/local/bin/naoqi-bin: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/local/bin/../lib/libalcommon.so) | |
| /usr/local/bin/naoqi-bin: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/local/bin/../lib/libqi.so) | |
| /usr/local/bin/naoqi-bin: /lib/libc.so.6: version `GLIBC_2.15' not found (required by /usr/local/bin/../lib/libqi.so) | |
| /usr/local/bin/naoqi-bin: /lib/libc.so.6: version `GLIBC_2.15' not found (required by /usr/local/bin/../lib/libQt5Core.so.5) | |
| /usr/local/bin/naoqi-bin: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/local/bin/../lib/../lib/libboost_python.so.1.55.0) | |
| /usr/local/bin/naoqi-bin: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/local/bin/../lib/../lib/libboost_regex. |
This file contains hidden or 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
| 001 [ServiceDirectory] | |
| 002 [LogManager] | |
| 003 [ALFileManager] | |
| 004 [ALMemory] | |
| 005 [ALLogger] | |
| 006 [ALPreferences] | |
| 007 [ALFrameManager] | |
| 008 [ALPreferenceManager] | |
| 009 [ALServiceManager] | |
| 010 [ALDebug] |
This file contains hidden or 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
| #include <iostream> | |
| #include <qi/applicationsession.hpp> | |
| #include <qi/anyvalue.hpp> | |
| using namespace qi; | |
| using namespace std; | |
| void call(AnyValue value){ | |
| cout << "touched" << endl; |
This file contains hidden or 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
| # pepper世話係プロジェクト | |
| ## 世話をする対象年齢 | |
| * 小学生 | |
| ## 世話係に必要な機能 | |
| * ともだちになる | |
| * 主人を監視監督 |
This file contains hidden or 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
| {-# LANGUAGE DataKinds #-} | |
| {-# LANGUAGE TypeFamilies #-} | |
| {-# LANGUAGE TypeOperators #-} | |
| {-# LANGUAGE UndecidableInstances #-} | |
| import GHC.TypeLits | |
| data V (n::Nat) = V | |
| deriving Show |