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
| <?php | |
| $filepath = $_GET["path"]; | |
| $type = mime_content_type($filepath); | |
| header('Content-Type: ' . $type); | |
| echo file_get_contents($filepath); |
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
| cmake_minimum_required(VERSION 3.1) | |
| project(GEVDemo) | |
| set(CMAKE_INCLUDE_CURRENT_DIR ON) | |
| set(CMAKE_AUTOMOC ON) | |
| set(CMAKE_AUTORCC ON) | |
| set(CMAKE_AUTOUIC ON) | |
| set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++11 -g3") |
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
| g++ test.cpp -I /usr/include/x86_64-linux-gnu/qt5/ -fPIC -lQt5Core |
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
| cmake_minimum_required(VERSION 2.8.3) | |
| include_directories(/usr/local/src/baumer/inc) | |
| set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_GNULINUX") | |
| link_directories(/usr/local/lib/baumer/) | |
| link_libraries( | |
| bgapi2_genicam | |
| boost_system |
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
| cmake_minimum_required(VERSION 2.8.3) | |
| include_directories(/usr/local/src/baumer/inc) | |
| set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_GNULINUX -g3") | |
| link_directories( | |
| /usr/local/lib/baumer/ | |
| ${CMAKE_CURRENT_SOURCE_DIR}/src/ | |
| ) |
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" | |
| void printAnagram(std::string str, std::string aux) | |
| { | |
| if(str.size() == 2) | |
| { | |
| std::cout << aux << str[0] << str[1] << std::endl; | |
| std::cout << aux << str[1] << str[0] << std::endl; | |
| return; | |
| } |
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
| //--> name of the package here | |
| import android.support.v7.app.AppCompatActivity; | |
| import android.os.Bundle; | |
| import android.util.Log; | |
| import java.io.ByteArrayOutputStream; | |
| import java.io.DataOutputStream; | |
| import java.io.OutputStream; | |
| import java.net.InetAddress; |
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
| <html> | |
| <body> | |
| <canvas id="mainCanvas" width="300" height="300"></canvas> | |
| </body> | |
| </html> | |
| <script> | |
| var ctx = document.getElementById("mainCanvas").getContext("2d"); |
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
| <html> | |
| <body> | |
| <canvas id="mainCanvas" width="300" height="300"></canvas> | |
| </body> | |
| </html> | |
| <script> | |
| var ctx = document.getElementById("mainCanvas").getContext("2d"); |
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 <QCoreApplication> | |
| #include <QtGlobal> | |
| #include <QDebug> | |
| #include "global_settings.hpp" | |
| int main(int argc, char** argv) | |
| { | |
| QCoreApplication app(argc, argv); |