For Ubuntu 14.04.x
Add --userns-remap={username}:{groupname}
somewhere in DOCKER_OPTS
in /etc/default/docker
file.
Add a new line with {username}:{userid}:65536
in /etc/subuid
file.
Add a new line with {groupname}:{groupid}:65536
in /etc/subuid
file.
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
#!/bin/sh | |
exec socat UNIX-LISTEN:/var/run/docker.sock,fork,group=docker,umask=007 EXEC:"npiperelay.exe -ep -s //./pipe/docker_engine",nofork |
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
[noshift] | |
Key8=0:0 | |
Key9=65307:27 | |
Key10=49:49 | |
Key11=50:50 | |
Key12=51:51 | |
Key13=52:52 | |
Key14=53:53 | |
Key15=54:54 | |
Key16=55:55 |
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
Dockerfile with some IRI packages |
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
git clone -b indigo-devel https://github.com/ros-drivers/audio_common src/audio_common | |
touch src/audio_common/audio_capture CATKIN_IGNORE | |
touch src/audio_common/audio_play CATKIN_IGNORE | |
git clone -b indigo-devel https://github.com/harmishhk/pr2_battery_alert.git src/pr2_battery_alert | |
git clone -b indigo-devel https://github.com/harmishhk/pr2_common_actions.git src/pr2_common_actions | |
git clone -b indigo-devel https://github.com/PR2/pr2_robot src/pr2_robot | |
sed -i 's/timeout: 0.2/timeout: 0.5/g' src/pr2_robot/pr2_controller_configuration/pr2_base_controller2.yaml | |
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
git clone -b indigo-devel https://github.com/PR2/pr2_calibration.git src/pr2_calibration | |
git clone -b indigo-devel https://github.com/PR2/pr2_common.git src/pr2_common | |
git clone -b indigo-devel https://github.com/PR2/pr2_controllers.git src/pr2_controllers | |
git clone -b indigo-devel https://github.com/PR2/pr2_mechanism src/pr2_mechanism | |
git clone -b indigo-devel https://github.com/PR2/pr2_robot src/pr2_robot | |
git clone -b indigo-devel https://github.com/ros/convex_decomposition src/non_pr2_pkgs/convex_decomposition |
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
#include <iostream> | |
#include <string> | |
#include <vector> | |
#include <random> | |
#include <chrono> | |
#include <ctime> | |
int main() | |
{ | |
int start_c = 10000, end_c = 20000; |
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
# #!/bin/bash -eux | |
code --install-extension DotJoshJohnson.xml | |
code --install-extension EditorConfig.EditorConfig | |
code --install-extension PeterJausovec.vscode-docker | |
code --install-extension UCL.haskelly | |
code --install-extension ajshort.msg | |
code --install-extension cssho.vscode-svgviewer | |
code --install-extension donjayamanne.githistory | |
code --install-extension donjayamanne.python |
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
# script to copy GPS metadata between files based on names. | |
# implemented for photos from Lumia 1020 phone which stores images in two sizes, | |
# one of them (low resolution image) has GPS but the other (high resolution image) does not! | |
# requires ExifTool: http://www.sno.phy.queensu.ca/~phil/exiftool | |
# author: Harmish Khambhaita, v0.1, 13/04/2016 | |
# specify directory to process photos | |
$rootFolder = "C:\Users\your_name\Pictures\lumia_1020" | |
# specify location for exiftool |
NewerOlder