Skip to content

Instantly share code, notes, and snippets.

View pacificlion's full-sized avatar

Prashant Singh pacificlion

View GitHub Profile
{
"a": 5,
"b": "USC"
} {
"a": 6,
"b": "UCLA"
} {
"a": 4,
"b": "Caltech"
} {
Helpful links
https://ubuntu.com/download/raspberry-pi
http://wiki.ros.org/melodic/Installation/Ubuntu
1. Download image and burn to SD card with Etcher
2. The first challenge on boot of Pi is setting up the wireless network. This will require a keyboard and ethernet connection to Pi. I've documented a bit in this gist:
https://gist.github.com/dbaldwin/fa1baac11b0ae2f000092b695c3d0b33
3. After getting the network setup you'll want to SSH into the Pi. At least that's what I did.
@pacificlion
pacificlion / remove-bloatware-android.md
Created January 22, 2023 07:26
Remove Bloatware android

Remove bloatware in android without rooting

Instructions

  • Download adb tools for your mac/linux/windows from here
  • Extract zip package and keep it in location e.g Desktop
  • Open terminal and change directory to the extracted folder
  • Plug in your android phone to PC and check if adb tool is able to find your phone
./adb devices
@pacificlion
pacificlion / README.md
Created September 8, 2022 20:44
Apache spark 3.1.2 installer
@pacificlion
pacificlion / uml1
Created January 16, 2021 10:07
Gist from yEd-Live
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--Created by yFiles for HTML 2.3.0.4-->
<graphml xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://www.yworks.com/xml/schema/graphml.html/2.0/ygraphml.xsd " xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:demostyle="http://www.yworks.com/yFilesHTML/demos/FlatDemoStyle/1.0" xmlns:icon-style="http://www.yworks.com/yed-live/icon-style/1.0" xmlns:bpmn="http://www.yworks.com/xml/yfiles-bpmn/2.0" xmlns:demotablestyle="http://www.yworks.com/yFilesHTML/demos/FlatDemoTableStyle/1.0" xmlns:uml="http://www.yworks.com/yFilesHTML/demos/UMLDemoStyle/1.0" xmlns:GraphvizNodeStyle="http://www.yworks.com/yFilesHTML/graphviz-node-style/1.0" xmlns:VuejsNodeStyle="http://www.yworks.com/demos/yfiles-vuejs-node-style/1.0" xmlns:explorer-style="http://www.yworks.com/data-explorer/1.0" xmlns:y="http://www.yworks.com/xml/yfiles-common/3.0" xmlns:x="http://www.yworks.com/xml/yfiles-common/markup/3.0" xmlns:sys="http://www.yworks.com/xml/yfiles-common/markup/pri
@pacificlion
pacificlion / markdown-details-collapsible.md
Created August 14, 2020 05:00 — forked from pierrejoubert73/markdown-details-collapsible.md
How to add a collapsible section in markdown.

A collapsible section containing markdown

Click to expand!

Heading

  1. A numbered
  2. list
    • With some
    • Sub bullets
@pacificlion
pacificlion / networks.py
Last active December 29, 2019 20:43
Visualize Network Data
import matplotlib.pyplot as plt
import matplotlib.patches as mpatches
import networkx as nx
from matplotlib.patches import Patch
from matplotlib.lines import Line2D
plt.figure(figsize=(12, 12))
# 1. Create the graph