// Copyright 2021 ros2_control Development Team | |
// | |
// Licensed under the Apache License, Version 2.0 (the "License"); | |
// you may not use this file except in compliance with the License. | |
// You may obtain a copy of the License at | |
// | |
// http://www.apache.org/licenses/LICENSE-2.0 | |
// | |
// Unless required by applicable law or agreed to in writing, software | |
// distributed under the License is distributed on an "AS IS" BASIS, |
[user] | |
email = cristian123105@gmail.com | |
name = Cristian Silva | |
[core] | |
editor = code --wait | |
[alias] | |
s = !git status -s # git status whit less information | |
c = !git add --all && git commit -m #git add and git commit alias | |
l = !git log --pretty=format:'%C(blue)%h %C(red)%d %C(white)%s - %C(cyan)%cn, %C(green)%cr' #Format git log message | |
[includeIf "gitdir:~/work/"] |
To rename your Git master branch to main, you must do the following steps:
-
Navigate to your repository in the command line and issue the following commands: -
git branch -m master main
-git push -u origin main
-
Change your default branch on GitHub by going to your GitHub repository in your browser, and navigate to
Settings > Branches
and click on the dropdown and switch frommaster
tomain
and clickUpdate
(this will only show if you have two or more branches). Themain
branch is now your default branch. -
Update the tracking of the branch from your command line with the following command: -
git branch -u origin/main main
# -*- coding: utf-8 -*- | |
""" | |
Created on 2019-08-22 09:37:36 | |
@author: fmiorell | |
""" | |
# This script registers the "turbo" colormap to matplotlib, and the reversed version as "turbo_r" | |
# Reference: https://ai.googleblog.com/2019/08/turbo-improved-rainbow-colormap-for.html |
<?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<!-- REQUIRES Noto fonts (along with Noto Color Emoji) | |
run `fc-list | grep -i -e "noto sans" -e "noto serif" -e "noto color emoji"` to confirm | |
--> | |
<!-- Change the string in the family tag to whatever font --> | |
<family>serif</family> | |
<prefer><family>Noto Serif</family></prefer> | |
</alias> |
Option Explicit | |
Sub WriteLine ( strLine ) | |
WScript.Stdout.WriteLine strLine | |
End Sub | |
' http://msdn.microsoft.com/en-us/library/office/aa432714(v=office.12).aspx | |
Const msoFalse = 0 ' False. | |
Const msoTrue = -1 ' True. |
- Windows (ros-noetic with pytorch)
conda create -y -n XOSight-Pattern2 "python=3.8" "mamba>=0.22.1" -c conda-forge conda activate XOSight-Pattern2 mamba install ros-noetic-desktop -c robostack -c robostack-experimental -c conda-forge --override-channels mamba install vs2019_win-64 conda deactivate conda activate XOSight-Pattern2
mamba install rosdep
The instructions are based on this answers.ros.org thread.
You may need the latest pip, follow the official instructions.
Install bloom: