Skip to content

Instantly share code, notes, and snippets.

@faultylee
faultylee / FAULTY_CLA
Last active August 5, 2021 10:36 — forked from CLAassistant/SAP_CLA
Faulty Individual Contributor License Agreement
### Faulty Contributor License Agreement
Thank you for your interest in contributing to open source software projects (“Projects”) made available by faulty
**Assignment.** You agree that Faulty may assign this Agreement, and all of its rights, obligations and licenses
hereunder.
@faultylee
faultylee / Chromecast batch conversion script
Created September 16, 2019 01:08 — forked from steventrux/Chromecast batch conversion script
A bash script to batch convert video files for chromecast compatibility
#! /bin/bash
# Batch Convert Script by StevenTrux
# The Purpose of this Script is to batch convert any video file to mp4 or mkv format for chromecast compatibility
# this script only convert necessary tracks if the video is already
# in H.264 format it won't convert it saving your time!
# Put all video files need to be converted in a folder!
# the name of files must not have " " Space!
# Rename the File if contain space
@faultylee
faultylee / victim-vs-victor.md
Last active October 26, 2018 04:45
Victim vs Victor
@faultylee
faultylee / chk_orphaned_aur.sh
Last active January 10, 2017 00:49
Check for moved/renamed AUR
#!/bin/bash
pacman -Qqm | while read line ;
do
aur_result=$(curl -o /dev/null --silent --head --write-out '%{http_code}\n' "https://aur.archlinux.org/packages/${line}/")
if [[ "$aur_result" = "404" ]]; then
echo ${line} ;
fi
done
@faultylee
faultylee / SimpleHTTPServer.cs
Created September 2, 2016 01:31 — forked from aksakalli/SimpleHTTPServer.cs
SimpleHTTPServer in C#
// MIT License - Copyright (c) 2016 Can Güney Aksakalli
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Sockets;
using System.Net;
using System.IO;
using System.Threading;