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"?> | |
<launch> | |
<node pkg="aruco_ros" type="marker_publisher" name="aruco_marker_publisher"> | |
<remap from="/camera_info" to="/camera_image/color/camera_info" /> | |
<remap from="/image" to="/camera_image/color/image_raw" /> | |
<param name="image_is_rectified" value="false"/> | |
<param name="marker_size" value="0.05"/> | |
<param name="reference_frame" value="/world"/>·· | |
<param name="camera_frame" value="/camera_link"/> |
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
""" | |
Plot images from ImageDataGenerator | |
Author: https://github.com/4lhc | |
""" | |
from matplotlib import pyplot as plt | |
import matplotlib.image as mpimg | |
import numpy as np |
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
#!/bin/bash | |
# Author: Sreejith S (https://github.com/4lhc) | |
# Sat 02 Jan 2021 16:52:04 IST | |
# Temp fix for freecad libnglib.so: cannot open shared object file: No such file or directory | |
# On ubuntu20.04, Freecad 0.18.4 | |
# Based on https://forum.freecadweb.org/viewtopic.php?f=3&t=40661#p345544 | |
# sudo apt-get install "libnglib-6.2.*" netgen |
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
# Author: Sreejith S | |
[Unit] | |
Description=Reload newsboat | |
[Service] | |
Type=oneshot | |
ExecStart=/usr/bin/newsboat -x reload | |
SystemCallArchitectures=native |
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# | |
# norris.sh | |
# | |
# author : Sreejith S | |
# email : echo $(base64 -d <<< NDQ0bGhjCg==)@gmail.com | |
# date : Sun 26 Apr 2015 23:24:35 IST | |
# ver : |
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
#!/usr/bin/env python | |
# coding: utf-8 | |
#Moved to repo: https://github.com/4lhc/internet_profundity | |
import urllib.request | |
import urllib.error | |
import urllib.parse | |
from bs4 import BeautifulSoup, SoupStrainer | |
import re |
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
#!/usr/bin/env python | |
# part of https://github.com/4lhc/ROS/tree/master/learning_ws/src/x1_miband_control | |
import rospy | |
from MiBand_HRX.base import MiBand2 | |
from MiBand_HRX.constants import ALERT_TYPES | |
from threading import Thread | |
from generic_robot import Robot | |
class MiBandController(): |
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
#!/usr/bin/env python3 | |
# | |
# The_Gutenberg_Internet_analogy.py | |
# | |
# author : Sreejith S | |
# email : echo $(base64 -d <<< NDQ0bGhjCg==)@gmail.com | |
# date : Sun 28 Apr 2019 19:57:28 IST | |
# ver : | |
''' |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#!/bin/bash | |
# | |
# wadb_convert.sh | |
# | |
# author : https://gist.github.com/4lhc | |
# email : echo $(base64 -d <<< NDQ0bGhjCg==)@gmail.com | |
# date : Wed 04 Jun 2014 19:01:03 IST | |
# ver : 1.0.0 | |
# converts WhatsApp's wa.db database to buddylist that can be imported |