Skip to content

Instantly share code, notes, and snippets.

View iamarya2k24's full-sized avatar
πŸ’­
I may be slow to respond.

Arya Navneet iamarya2k24

πŸ’­
I may be slow to respond.
View GitHub Profile
@hasanbayatme
hasanbayatme / README.md
Last active January 10, 2021 20:14
Fixes Ubuntu broken packages. Accepts an argument to what action to apply to broken packages. you can use upgrade and install commands, default action is remove.

Fix Broken

This script allows you to fix the broken ubuntu packages.

Most of the time the broken packages will be fixed by removing them.

Getting Started Documentation License

Getting Started

-- autosave.lua
--
-- Periodically saves "watch later" data during playback, rather than only saving on quit.
-- This lets you easily recover your position in the case of an ungraceful shutdown of mpv (crash, power failure, etc.).
--
-- You can configure the save period by creating a "lua-settings" directory inside your mpv configuration directory.
-- Inside the "lua-settings" directory, create a file named "autosave.conf".
-- The save period can be set like so:
--
-- save_period=60
@dylanmckay
dylanmckay / facebook-contact-info-summary.rb
Last active December 3, 2024 21:48
A Ruby script for collecting phone record statistics from a Facebook user data dump
#! /usr/bin/env ruby
# NOTE: Requires Ruby 2.1 or greater.
# This script can be used to parse and dump the information from
# the 'html/contact_info.htm' file in a Facebook user data ZIP download.
#
# It prints all cell phone call + SMS message + MMS records, plus a summary of each.
#
# It also dumps all of the records into CSV files inside a 'CSV' folder, that is created
@tavinus
tavinus / rem_proxmox_popup.sh
Last active December 22, 2024 00:21
Remove PROXMOX 5.x / 6.x / 7.3-4 subscription message popup
#!/bin/sh
#######################################################
#
# Edits the proxmox Subscription file to make it
# think that it has a Subscription.
#
# Will disable the annoying login message about
# missing subscription.
#
@PhilipSchmid
PhilipSchmid / ubuntu-1804-lacp-bonding.md
Last active January 31, 2023 20:48
Ubuntu 18.04 LACP Network Interface Bonding

Interface bonding

Configure a LACP active network interface bonding on Ubuntu 18.04 using netplan:

root@srv01:~# mv /etc/netplan/50-cloud-init.yaml /etc/netplan/01-netcfg.yaml
root@srv01:~# cat /etc/netplan/01-netcfg.yaml 
network:
    version: 2
    renderer: networkd
 ethernets:
@iamarya2k24
iamarya2k24 / earth-day-night-click-on-image.markdown
Created December 9, 2018 19:31
Earth Day & Night (Click on Image)

Earth Day & Night (Click on Image)

An Earth pen for CodePen's challenge!

SVG made with Sketch, and animated using GSAP

A Pen by N K I on CodePen.

@ryandaniels
ryandaniels / ubuntu-torrent-dl.sh
Last active August 7, 2020 01:55
Downloads the .torrent files for Ubuntu ISOs since they don't exist in just one place
#!/bin/bash
wget="wget -nc -nv"
version="20.04.1"
# Downloads the .torrent files for Ubuntu ISOs since they don't exist in just one place
# To get the iso, use a local mirror: https://launchpad.net/ubuntu/+cdmirrors
# Prep
dl_dir="./torrents"
mkdir -p "$dl_dir"
@ngadmini
ngadmini / pve_API2Subs_sed.sh
Last active August 10, 2024 00:42
remove naged subscription message on proxmox 7.x-x
#!/usr/bin/env bash
# TAGS
# /usr/local/bin/pve-API2Subs_sed.sh
# https://gist.github.com/ngadmini/7f9df377999cc78c1b58e361d5425ac4#file-pve_api2subs-sh
# AUTHOR
# [email protected]
# https://github.com/ngadmini
# https://gist.github.com/ngadmini
# VERSION
# v10.5