Skip to content

Instantly share code, notes, and snippets.

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

Damien LaRocque IamPhytan

🦊
GitLabing / Pythoning / LaTeXing
View GitHub Profile
@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 June 11, 2024 12:27
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 March 13, 2024 13:09
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 June 27, 2024 08:01
How to create a debian from a ROS package
@aaronpolhamus
aaronpolhamus / map_clsloc.txt
Created May 12, 2016 01:21
Image net classes + labels
n02119789 1 kit_fox
n02100735 2 English_setter
n02110185 3 Siberian_husky
n02096294 4 Australian_terrier
n02102040 5 English_springer
n02066245 6 grey_whale
n02509815 7 lesser_panda
n02124075 8 Egyptian_cat
n02417914 9 ibex
n02123394 10 Persian_cat