Skip to content

Instantly share code, notes, and snippets.

View ReeganArockiasmy's full-sized avatar
🎯
Focusing

Reegan ReeganArockiasmy

🎯
Focusing
View GitHub Profile
@ReeganArockiasmy
ReeganArockiasmy / Find and replace block of n line
Created October 23, 2020 12:11
#python #snippet #replace
import fileinput
file1 = fileinput.input('CanMsgParser.CPP', inplace=True)
deleteflag = True
x = iter(range(0,100))
startdel = "// ==== Rx Error Generation Start ==="
enddel = "// ==== Rx Error Generation End ==="
@ReeganArockiasmy
ReeganArockiasmy / Hal layer notes
Created January 14, 2020 13:31
#hal #android #setup
Basic hal generation
https://source.android.com/devices/audio/
Hal coursera notes
https://www.coursera.org/lecture/androidapps-2/android-hardware-abstraction-layer-hal-noH7V
Building setup
http://software-dl.ti.com/processor-sdk-android/esd/docs/latest/android/Overview_Building_the_SDK.html#Build_PC_setup
@ReeganArockiasmy
ReeganArockiasmy / gist:a6774ea7bf14de1dc33f4be13dbe663b
Created October 10, 2019 11:35
after install gui won't came
apt-get install gdm or lxde
startx
ref https://askubuntu.com/questions/641642/gui-does-not-start
@ReeganArockiasmy
ReeganArockiasmy / tmux_local_install.sh
Created July 15, 2016 06:03 — forked from ryin/tmux_local_install.sh
bash script for installing tmux without root access
#!/bin/bash
# Script for installing tmux on systems where you don't have root access.
# tmux will be installed in $HOME/local/bin.
# It's assumed that wget and a C/C++ compiler are installed.
# exit on error
set -e
TMUX_VERSION=1.8
@ReeganArockiasmy
ReeganArockiasmy / tmux_local_install.sh
Created July 15, 2016 06:03 — forked from ryin/tmux_local_install.sh
bash script for installing tmux without root access
#!/bin/bash
# Script for installing tmux on systems where you don't have root access.
# tmux will be installed in $HOME/local/bin.
# It's assumed that wget and a C/C++ compiler are installed.
# exit on error
set -e
TMUX_VERSION=1.8
@ReeganArockiasmy
ReeganArockiasmy / JavaServer.java
Created February 10, 2016 09:55 — forked from thomd/JavaServer.java
XML-RPC Sample with a Java Server and a Python Client
// src/main/java/net/thomd/JavaServer.java
package net.thomd;
import java.util.Hashtable;
import helma.xmlrpc.*;
public class JavaServer {
public JavaServer () {
@ReeganArockiasmy
ReeganArockiasmy / spin.py
Created January 20, 2016 05:16 — forked from arindampradhan/spin.py
Spinners for python | python
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import signal
from os import system
### MENU ###
# Here are all the elements you can import
# Box elements