Skip to content

Instantly share code, notes, and snippets.

View upya4ko's full-sized avatar
πŸ’­
Try make install guide for RESCUEUSB project.

upya4ko

πŸ’­
Try make install guide for RESCUEUSB project.
View GitHub Profile
@zacroker
zacroker / Dockerfile
Last active January 9, 2025 15:48
Dockerfiles for building and debugging stm32 microcontrollers
FROM ubuntu:18.04 as binary-build-stage
RUN apt update -y && \
apt install -y --no-install-recommends \
build-essential \
gcc-arm-none-eabi \
libnewlib-arm-none-eabi
WORKDIR /src
COPY . .
ARG DEBUG=1
@FreddieOliveira
FreddieOliveira / docker.md
Last active October 28, 2025 08:35
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android πŸ‹πŸ“±

Edit πŸŽ‰

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary

@itskenny0
itskenny0 / cleanup.sh
Last active November 5, 2020 10:46
Cleanup script for salt minions affected by recent CVE exploitation - https://saltexploit.com - https://github.com/saltstack/salt/issues/57057
#!/bin/bash
## Executing this script is not a guarantee for a secure host!
## This script is a collection of the junk I have found on my hosts and what
## the SaltStack community gave as input. We have seen this attack evolve.
## Please have a very close look at your systems and consider reinstalling them
## to be absolutely sure you are free of malware.
# remove crontab persistence
for i in 54.36.185.99 217.8.117.137 176.31.60.91 217.12.210.192 54.36.185.99 54.36.185.99 89.223.121.139 torsocks anagima3 sa.sh$ c.sh$ selcdn.ru salt-store; do
@Satont
Satont / sp
Last active January 16, 2022 09:52 — forked from duncan-bayne/sp
sp is a command-line client for Spotify's dbus interface. Play, pause, skip and search tracks from the comfort of your command line.
#!/bin/bash
#
# This is sp, the command-line Spotify controller. It talks to a running
# instance of the Spotify Linux client over dbus, providing an interface not
# unlike mpc.
#
# Put differently, it allows you to control Spotify without leaving the comfort
# of your command line, and without a custom client or Premium subscription.
#
@megasaturnv
megasaturnv / parseRssFeed.sh
Last active November 18, 2024 21:51
Shell script / one-liner to parse and display an rss feed. May require tweaking for RSS feeds without newlines or where <title> and <description> are on separate lines to their text.
#!/bin/sh
#Megasaturnv 2017-07-28
#Url of the RSS feed
RSS_URL=""
##Commented version:
#Download the rss feed
curl --silent "$RSS_URL" | \
#Only match lines with 'title>' or 'description>'
@oarved
oarved / bluetoothconfig
Created August 26, 2016 20:16
just a script to pipe to bluetoothctl (E.g.: "bluetoothconfig | bluetoothctl")
#!/bin/bash
echo -e 'power on\n'
sleep 2
echo -e 'scan on\n'
sleep 2
echo -e 'discoverable on\n'
sleep 2
echo -e 'pairable on\n'
sleep 2
echo -e 'pair [your mac here]\n'
@duncan-bayne
duncan-bayne / sp
Last active January 16, 2022 09:53 — forked from wandernauta/sp
sp is a command-line client for Spotify's dbus interface. Play, pause, skip and search tracks from the comfort of your command line.
#!/bin/bash
#
# This is sp, the command-line Spotify controller. It talks to a running
# instance of the Spotify Linux client over dbus, providing an interface not
# unlike mpc.
#
# Put differently, it allows you to control Spotify without leaving the comfort
# of your command line, and without a custom client or Premium subscription.
#