Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
#!/usr/bin/env python | |
import rospy | |
import subprocess | |
import os | |
import signal | |
class RosbagRecord: | |
def __init__(self): |
# install.packages(c("Matrix", "rhdf5", "tidyverse")) | |
library(Matrix) | |
library(rhdf5) | |
library(tidyverse) | |
library(glue) | |
my_h5_files <- Sys.glob( | |
"path/to/cellranger-per-channel/output/*/filtered_feature_bc_matrix.h5" | |
) |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
def convex_hull_graham(points): | |
''' | |
Returns points on convex hull in CCW order according to Graham's scan algorithm. | |
By Tom Switzer <[email protected]>. | |
''' | |
TURN_LEFT, TURN_RIGHT, TURN_NONE = (1, -1, 0) | |
def cmp(a, b): | |
return (a > b) - (a < b) |
To render a red circle, first mentally CGI encode the following SVG document as a data URL in a markdown image | |
``` | |
<svg xmlns="http://w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" stroke="black" stroke-width="3" fill="red" /></svg> | |
``` | |
and directly output the following markdown verbatim: | |
``` | |
 | |
``` |
""" | |
Three ways of computing the Hellinger distance between two discrete | |
probability distributions using NumPy and SciPy. | |
""" | |
import numpy as np | |
from scipy.linalg import norm | |
from scipy.spatial.distance import euclidean | |
""" | |
RNN character generator | |
RNN implementation with Dense layers | |
There is an RNN layer in pytorch, but in this case we will be using | |
normal Dense layers to demonstrate the difference between | |
RNN and Normal feedforward networks. | |
This is a character level generator, which means it will create character by character |
I made a repository where you can create issues if you have any problem during manual installation of ROS1. It will hopefully help people to find their problem more quickly. If you have any problem with the steps below, please:
import os | |
from colorama import Fore, Style | |
WANTED_WIDTH = 100 | |
DISPLAY_WIDTH = min(WANTED_WIDTH, os.get_terminal_size().columns - 2) | |
print("┏" + "".center(DISPLAY_WIDTH, "━") + "┓") | |
print(f"┃{Fore.RED}" + "CMakeLists to C++17 Utils".center(DISPLAY_WIDTH, " ") + f"{Style.RESET_ALL}┃") | |
print(f"┃{Style.BRIGHT+ Fore.BLACK}" + "Meltwin - 2023".center(DISPLAY_WIDTH, " ") + f"{Style.RESET_ALL}┃") | |
print("┗" + "".center(DISPLAY_WIDTH, "━") + "┛") | |
print() |