Raw notes about ~/.xprofile script.
Upstream DM which executes ~/.xprofile file in Xsession script:
- GDM (Gnome): see
Xsession.in - KDM (KDE 4): see
genkdmconf.c
| (setq TeX-auto-save t) | |
| (setq TeX-parse-self t) | |
| (setq TeX-save-query nil) | |
| ;(setq TeX-PDF-mode t) | |
| (require 'flymake) | |
| (defun flymake-get-tex-args (file-name) | |
| (list "pdflatex" | |
| (list "-file-line-error" "-draftmode" "-interaction=nonstopmode" file-name))) |
| { | |
| "translatorID": "12345", | |
| "label": "BibTeX CiteKey-only Exporter", | |
| "creator": "Simon Kornblith and Richard Karnesky with tweaks by Tan", | |
| "target": "bib", | |
| "minVersion": "2.1.9", | |
| "maxVersion": "", | |
| "priority": 200, | |
| "inRepository": false, | |
| "translatorType": 3, |
Creating a service to startup at BeagleBone Black boot time:
Create a shell script such as /usr/bin/myFancyBash.sh:
#!/bin/bash
# this could be any runnable code or shell script, really
/usr/bin/myFancyPython.py
Note that the first line is critical.
This is a Pandoc template to generate reveal.js slideshows.
Pandoc is a "universal markup converter" you can run from the command line to convert a simple, plain text file into a beautifully formatted PDF, .docx, HTML, LaTeX, slideshows… the list goes on.
reveal.js is a CSS and JavaScript framework for creating beautiful presentations in HTML5, designed by Hakim El Hattab.
| ENV QT_BASE_DIR=/opt/qt55 | |
| ENV QTDIR=$QT_BASE_DIR | |
| ENV PATH=$QT_BASE_DIR/bin:$PATH | |
| ENV LD_LIBRARY_PATH=$QT_BASE_DIR/lib/x86_64-linux-gnu:$QT_BASE_DIR/lib:$LD_LIBRARY_PATH | |
| ENV PKG_CONFIG_PATH=$QT_BASE_DIR/lib/pkgconfig:$PKG_CONFIG_PATH | |
| # Reconfigure locale | |
| RUN locale-gen en_US.UTF-8 && dpkg-reconfigure locales | |
| # Docker offical ENVIRONMETN REPLACEMENT |
| #include "ros/ros.h" | |
| #include "std_msgs/String.h" | |
| /** | |
| * This tutorial demonstrates simple receipt of messages over the ROS system. | |
| */ | |
| void chatterCallback(const std_msgs::String::ConstPtr& msg) | |
| { | |
| ROS_INFO("I heard: [%s]", msg->data.c_str()); | |
| } |
| project(package_name) | |
| ## Find catkin macros and libraries, also find other catkin packages | |
| find_package(catkin REQUIRED COMPONENTS | |
| roscpp | |
| rospy | |
| std_msgs | |
| message_generation | |
| ) |
| // some global data for share | |
| data global_for_share; | |
| // define class class_main for all tasks | |
| class class_main | |
| { | |
| public: | |
| class_main(data* shared_data){ |
| #ifdef __WIN32 | |
| #include <conio.h> | |
| #include <stdio.h> | |
| #else | |
| #include <stdio.h> | |
| #include <termios.h> | |
| #include <unistd.h> | |
| #include <fcntl.h> |