Skip to content

Instantly share code, notes, and snippets.

View IamPhytan's full-sized avatar
🦊
GitLabing / Pythoning / Rusting

Damien LaRocque IamPhytan

🦊
GitLabing / Pythoning / Rusting
View GitHub Profile
@renderedSafe
renderedSafe / diffbot_system.cpp
Last active October 26, 2024 22:33
ROS2 Control Demos diffbot hardware interface publisher. Useful for micro-ROS hardware control.
// 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,
@Cristuker
Cristuker / .gitconfig
Last active June 13, 2022 11:26
My git configs
[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/"]
@danieldogeanu
danieldogeanu / RenameGitBranch.md
Last active December 22, 2024 17:30
How to rename your Git master branch to main.

To rename your Git master branch to main, you must do the following steps:

  1. Navigate to your repository in the command line and issue the following commands: - git branch -m master main - git push -u origin main

  2. 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 from master to main and click Update (this will only show if you have two or more branches). The main branch is now your default branch.

  3. Update the tracking of the branch from your command line with the following command: - git branch -u origin/main main

@FedeMiorelli
FedeMiorelli / turbo_colormap_mpl.py
Last active March 31, 2023 02:45
Turbo Colormap for Matplotlib
# -*- 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
@SohamG
SohamG / fonts.conf
Last active October 3, 2024 18:30
Fix emoji in Linux and get color emoji in Discord! Place this fontconfig file in ~/.config/fontconfig/fonts.conf
<?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.
@prerakmody
prerakmody / README.md
Last active June 14, 2023 10:07
Functions to read rosbag files

Installation

  1. 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

@martinwicke
martinwicke / automobile.ipynb
Last active January 9, 2022 08:14
Estimator demo using Automobile dataset
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@awesomebytes
awesomebytes / debian_from_ros_pkg.md
Last active November 13, 2024 12:06
How to create a debian from a ROS package