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
.*\s+"lng": (?<lng>[-0-9]+.[0-9]+),\s+"lid": [0-9]+,\s+"flags": \[\s+(?<flags>"been"(,\s+"fave")*)\s+\],\s+"name": "(?<city>[\w\s]+),\s(?<country>[\w\s,]+)",\s+"lat": (?<lat>[-0-9]+.[0-9]+)\s.* |
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
# init | |
$ mkdir -p ~/catkin_ws/src | |
$ cd ~/catkin_ws/src | |
$ catkin_init_workspace | |
# Launch Gazebo simulator | |
$ cd ~/catkin_ws | |
$ catkin_make | |
$ source devel/setup.bash | |
$ roslaunch simple_arm robot_spawn.launch |
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
# To the extent possible under law, the author(s) have dedicated all | |
# copyright and related and neighboring rights to this software to the | |
# public domain worldwide. This software is distributed without any warranty. | |
# You should have received a copy of the CC0 Public Domain Dedication along | |
# with this software. | |
# If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. | |
# base-files version 4.2-3 | |
# ~/.bashrc: executed by bash(1) for interactive shells. |
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
Все дело в атрибуте файла SPARSE (разреженный), при копировании он и снимается. Убрать его можно еще из командной строки: | |
убрать атрибут: | |
fsutil sparse setflag <полный путь к файлу> 0 | |
проверить атрибут: | |
fsutil sparse queryflag <полный путь к файлу> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<deployment name="defaultClientConfig" xmlns="http://xml.apache.org/axis/wsdd/" | |
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> | |
<handler name="log" type="java:org.apache.axis.handlers.LogHandler" > | |
<parameter name="LogHandler.fileName" value="axis1.log"/> | |
</handler> | |
<globalConfiguration> | |
<requestFlow> |
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
# Force all new branches to automatically use rebase | |
git config --global branch.autosetuprebase always | |
# This will tell git to always pull with rebase. | |
git config --global --bool pull.rebase true | |
# After these two commands ~/.gitconfig will look like this: | |
[branch] | |
autosetuprebase = always | |
[pull] |
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
/** | |
* Fixture for test. | |
*/ | |
private static final class Fixture { | |
@Mock | |
CustomManager customManager; | |
@Mock | |
CustomRepository repository; |
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
sudo add-apt-repository ppa:webupd8team/java | |
sudo apt-get update | |
sudo apt-get install oracle-java7-installer | |
# If you have multiple java installed on your system, you can select with : sudo update-alternatives --config java |
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
mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0.4 -Dpackaging=jar -Dfile=ojdbc6.jar -DgeneratePom=true |
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
# Turn off global property | |
git config http.sslVerify false | |
# Turn off ssl check for current operation | |
git -c http.sslVerify=false clone https://domain.com/path/to/git |
NewerOlder