Skip to content

Instantly share code, notes, and snippets.

View abhiTronix's full-sized avatar

Abhishek Thakur abhiTronix

View GitHub Profile
@abhiTronix
abhiTronix / Paper27.md
Created April 14, 2023 06:54
Software architecture-based analysis and testing: a look into achievements and future challenges

Software architecture-based analysis and testing: a look into achievements and future challenges

1. The role of software architecture in testing and analysis

The term software architecture (SA) has been introduced to denote the high level structure of a software system. SA has been proposed as a means for managing complexity and improving reuse, by supporting the decomposition of a system into its high level components and their interconnections. SA became prevalent in the beginning of the ’90s when its main role was to describe the system structure (by identifying architectural components and connectors) and the required system behavior. Over the years, the SA scope has evolved, and today it also captures the architecturally-relevant decisions behind design [50] taken by a variety of stakeholders to satisfy their own specific concerns, and codified into different views and viewpoints [46]. Nowadays, the relevance of SA in both academic and industrial worlds is unquestionable, and SAs are used for do

@abhiTronix
abhiTronix / concat.txt
Created December 8, 2020 03:10
FFmpeg: Concat two videos without audio
ffmpeg -i input.mp4 -i empty.mp4 \
-filter_complex "[0:v:0] [1:v:0] concat=n=2:v=1 [v]" \
-map "[v]" output.mp4
@abhiTronix
abhiTronix / web-servers.md
Created August 20, 2020 11:51 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@abhiTronix
abhiTronix / reboot.py
Created February 7, 2020 07:19 — forked from patrickelectric/reboot.py
reboot python script to pixhawk
#!/usr/bin/env python
from pymavlink import mavutil
import sys
import time
class Rebooter(object):
def __init__(self, connection_string, baudrate=None):
self.master = None
self.source_system = 13
This file has been truncated, but you can view the full file.
{"repositories": ["https://bitbucket.org/jjones028/p4sublime/raw/tip/packages.json", "https://bitbucket.org/klorenz/sublime_packages/raw/tip/packages.json", "https://packagecontrol.io/packages_2.json", "https://packagecontrol.io/repository.json", "https://packages.monokai.pro/packages.json", "https://raw.githubusercontent.com/20Tauri/DoxyDoxygen/master/DoxyDoxygen.json", "https://raw.githubusercontent.com/Andr3as/Sublime-SurroundWith/master/packages.json", "https://raw.githubusercontent.com/FichteFoll/sublime_packages/master/package_control.json", "https://raw.githubusercontent.com/Floobits/floobits-sublime/master/packages.json", "https://raw.githubusercontent.com/Harrison-M/indent.txt-sublime/master/packages.json", "https://raw.githubusercontent.com/Hexenon/FoxCode/master/packages.json", "https://raw.githubusercontent.com/Kaizhi/SublimeUpdater/master/packages.json", "https://raw.githubusercontent.com/Kasoki/FancyProjects/master/packages.json", "https://raw.githubusercontent.com/MattDMo/Neon-sublime-theme/mas
@abhiTronix
abhiTronix / Colab2Gdrive_script.py
Last active September 27, 2018 07:00
Colab to google drive connection (update september,2018)
!apt-get install -y -qq software-properties-common python-software-properties module-init-tools libfuse2
#!add-apt-repository -y ppa:alessandro-strada/ppa 2>&1 > /dev/null
#!apt-get update -qq 2>&1 > /dev/null
#!apt-get -y install -qq google-drive-ocamlfuse fuse
!wget https://launchpad.net/~alessandro-strada/+archive/ubuntu/google-drive-ocamlfuse-beta/+build/15331130/+files/google-drive-ocamlfuse_0.7.0-0ubuntu1_amd64.deb
!dpkg -i google-drive-ocamlfuse_0.7.0-0ubuntu1_amd64.deb
!apt-get install -f
!apt-get -y install -qq fuse
from google.colab import auth
auth.authenticate_user()
@abhiTronix
abhiTronix / Fast.ai install script.py
Last active September 27, 2018 06:45 — forked from carbocation/Fast.ai install script.py
Fast.ai Install on Google Colab
!pip install pathlib
!pip install fastai
!apt-get -qq install -y libsm6 libxext6 && pip install -q -U opencv-python
import cv2
from os import path
from wheel.pep425tags import get_abbr_impl, get_impl_ver, get_abi_tag
platform = '{}{}-{}'.format(get_abbr_impl(), get_impl_ver(), get_abi_tag())
accelerator = 'cu80' if path.exists('/opt/bin/nvidia-smi') else 'cpu'