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
from django.conf.urls import url, include | |
from rest_framework.urlpatterns import format_suffix_patterns | |
from . import views | |
urlpatterns = [ | |
url(r'^$', views.OdbcConfigList.as_view()), | |
url(r'^(?i)(?P<datasource>[a-z]+)/$', views.OdbcConfigDatasourceDetail.as_view()), | |
url(r'^users/$', views.UserList.as_view()), | |
url(r'^users/(?P<id>[0-9]+)/$', views.UserDetail.as_view()), | |
url(r'^auth/', include('rest_framework.urls')), |
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
from django.contrib.auth.models import User | |
from rest_framework import serializers | |
from odbc.models import OdbcConfig | |
class OdbcConfigSerializer(serializers.ModelSerializer): | |
owner = serializers.ReadOnlyField(source='owner.username') | |
class Meta: | |
model = OdbcConfig | |
fields = ('datasource', 'server', 'driver', 'uid', 'pwd', 'database', 'owner') |
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
remote: $ python manage.py collectstatic --noinput | |
remote: Traceback (most recent call last): | |
remote: File "manage.py", line 22, in <module> | |
remote: execute_from_command_line(sys.argv) | |
remote: File "/app/.heroku/python/lib/python3.5/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line | |
remote: utility.execute() | |
remote: File "/app/.heroku/python/lib/python3.5/site-packages/django/core/management/__init__.py", line 359, in execute | |
remote: self.fetch_command(subcommand).run_from_argv(self.argv) | |
remote: File "/app/.heroku/python/lib/python3.5/site-packages/django/core/management/base.py", line 294, in run_from_argv | |
remote: self.execute(*args, **cmd_options) |
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
cpan> install FCGI::ProcManager | |
Database was generated on Tue, 06 Sep 2016 16:59:37 GMT | |
Running install for module 'FCGI::ProcManager' | |
Fetching with LWP: | |
http://cpan.strawberryperl.com/authors/id/A/AR/ARODLAND/FCGI-ProcManager-0.25.tar.gz | |
Fetching with LWP: | |
http://cpan.strawberryperl.com/authors/id/A/AR/ARODLAND/CHECKSUMS | |
Checksum for C:\STRAWB~1\cpan\sources\authors\id\A\AR\ARODLAND\FCGI-ProcManager-0.25.tar.gz ok | |
Scanning cache C:\STRAWB~1\cpan\build for sizes |
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
C:\Program Files\MySQL\MySQL Server 5.7\bin>mysql --help | |
mysql Ver 14.14 Distrib 5.7.14, for Win64 (x86_64) | |
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved. | |
Oracle is a registered trademark of Oracle Corporation and/or its | |
affiliates. Other names may be trademarks of their respective | |
owners. | |
Usage: mysql [OPTIONS] [database] | |
-?, --help Display this help and exit. |
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
. | |
├── CMakeLists.txt | |
├── Makefile | |
├── bin | |
├── build | |
│ ├── CATKIN_IGNORE | |
│ ├── CMakeCache.txt | |
│ ├── CMakeFiles | |
│ │ ├── 3.1.3 | |
│ │ │ ├── CMakeCCompiler.cmake |
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/c++ -O3 -DNDEBUG -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.10 -Wl,-search_paths_firs t -Wl,-headerpad_max_install_names -pthread CMakeFiles/viewer.dir/src/main_viewer.cpp.o CMakeFiles/viewer.dir/src/PointCloudViewer.cpp.o CMakeFiles/viewer.dir/src/KeyFrameDisplay.cpp.o CMakeFiles/vie wer.dir/src/KeyFrameGraphDisplay.cpp.o CMakeFiles/viewer.dir/src/settings.cpp.o -o ../bin/viewer -F/usr/local/Cellar/qt/4.8.7/lib -F/usr/local/lib -L/usr/X11R6/lib -L/opt/ros/indigo/lib -lcv_bridg e -l:/usr/local/lib/libopencv_xphoto.3.0.0.dylib -l:/usr/local/lib/libopencv_xobjdetect.3.0.0.dylib -l:/usr/local/lib/libopencv_ximgproc.3.0.0.dylib -l:/usr/local/lib/libopencv_xfeatures2d.3.0.0.dylib -l:/usr/local/lib/libopencv_tracking.3.0.0.dylib -l:/usr/local/lib/libopencv_text.3.0.0.dylib -l:/usr/local/lib/libopencv_surface_matching.3.0.0.dylib -l:/usr/local/lib/libopencv_saliency.3.0.0.dylib -l: |
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
cmake_minimum_required(VERSION 2.4.6) | |
SET(CMAKE_OSX_SYSROOT macosx10.10) | |
project(lsd_slam_viewer) | |
include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake) | |
if(APPLE) | |
include_directories(/usr/X11R6/include/) | |
link_directories(/usr/X11R6/lib) | |
SET(EXTRA_LIBS GL X11 GLU glut) | |
ENDIF(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
mkdir -p bin | |
cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=/opt/ros/indigo/share/ros/core/rosbuild/rostoolchain.cmake .. | |
[rosbuild] Building package lsd_slam_viewer | |
-- Using CATKIN_DEVEL_PREFIX: /opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/build/devel | |
-- Using CMAKE_PREFIX_PATH: /opt/ros/indigo | |
-- This workspace overlays: /opt/ros/indigo | |
-- Using PYTHON_EXECUTABLE: /usr/local/bin/python | |
-- Using default Python package layout | |
-- Using empy: /usr/local/lib/python2.7/site-packages/em.pyc | |
-- Using CATKIN_ENABLE_TESTING: ON |
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
mkdir -p bin | |
cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=/opt/ros/indigo/share/ros/core/rosbuild/rostoolchain.cmake .. | |
[rosbuild] Building package lsd_slam_viewer | |
-- Using CATKIN_DEVEL_PREFIX: /opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/build/devel | |
-- Using CMAKE_PREFIX_PATH: /opt/ros/indigo | |
-- This workspace overlays: /opt/ros/indigo | |
-- Using PYTHON_EXECUTABLE: /usr/local/bin/python | |
-- Using default Python package layout | |
-- Using empy: /usr/local/lib/python2.7/site-packages/em.pyc | |
-- Using CATKIN_ENABLE_TESTING: ON |
NewerOlder