This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ansible | |
aom | |
assimp | |
bat | |
bdw-gc | |
berkeley-db | |
c-ares | |
cairo | |
composer | |
dav1d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# SSH server settings, in line with https://stribika.github.io/2015/01/04/secure-secure-shell.html | |
# Before using, change myhosts to your hosts' nickname and myuser to your username (two instances! make sure you replace both or you'll be locked out of ssh!) | |
- hosts: myhosts | |
become: true | |
remote_user: myuser | |
tasks: | |
# Key exchange, ciphers and MACs | |
- lineinfile: dest=/etc/ssh/sshd_config regexp='^KexAlgorithms' line='KexAlgorithms [email protected],diffie-hellman-group-exchange-sha256' | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Super quick & dirty script to convert all video files of specific extension into x265 mp4s. Sure, it can be made fancy, but there's not enough motivation for it. | |
# v1 - 8-Dec-2016 by Chris Mavrakis | |
# How to use: | |
# Cd into the dir of your source video files. | |
# Change the .avi extension and target file dir in the script. | |
# Run the script. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Pulls a Docker image and compares it to running ones. Stops/removes/restarts the ones that are outdated. | |
# Put in /etc/cron.daily and make executable. One per image. | |
# From: http://stackoverflow.com/questions/26423515/how-to-automatically-update-your-docker-containers-if-base-images-are-updated/26548914 | |
set -e | |
IMAGE="<DEVELOPER>/<DOCKERIMAGE>:latest" | |
CID=$(docker ps | grep $IMAGE | awk '{print $1}') | |
docker pull $IMAGE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Bathealth - Shows live info and statistics about a Lenovo Thinkpad battery | |
# By Chris Mavrakis - cmavrakis.com | |
# v0.3 - 6-May-15 | |
# Usage: | |
# - Install in /usr/bin or ~/bin, or not... | |
# - Run as a normal user: bathealth or ./bathealth |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Thinkpad battery saver - Helps you prolong the service life of your Lenovo Thinkpad battery pack | |
# By Chris Mavrakis - cmavrakis.com | |
# v0.2 - 6-May-15 | |
# Intro: | |
# Based on this: http://www.batteryuniversity.com/learn/article/how_to_prolong_lithium_based_batteries and motivated by this: https://news.ycombinator.com/item?id=9487903 | |
# One can do a few things to prolong battery life. Two of them are: | |
# 1. Reduce full charge Voltage to 4.00V/cell. This will give shorter run times, but battery should last double the time before needing replacement (measured in years of use). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# | |
# _ __ ___ _ _ __ __ _ __ ___ | |
# | '_ ` _ \ | | | | \ \ / / | '_ ` _ \ | |
# | | | | | | | |_| | \ V / | | | | | | | |
# |_| |_| |_| \__, | \_/ |_| |_| |_| | |
# __/ | | |
# |___/ | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am cmavr8 on github. | |
* I am chrism (https://keybase.io/chrism) on keybase. | |
* I have a public key whose fingerprint is 221C 85EC D3BF 93F0 9B56 1188 4139 3627 5F29 D786 | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<exportedattacks><attacks><attack><attackString><![CDATA[ | |
<meta http-equiv="refresh" content="0;url=javascript:document.vulnerable=true;"> | |
]]></attackString><signature>Script</signature></attack><attack><attackString><![CDATA[ | |
<META HTTP-EQUIV="Set-Cookie" Content="USERID=<SCRIPT>document.vulnerable=true</SCRIPT>"> | |
]]></attackString><signature>Script</signature></attack><attack><attackString><![CDATA[ | |
<SCRIPT>document.vulnerable=true;</SCRIPT> | |
]]></attackString><signature>Script</signature></attack><attack><attackString><![CDATA[ | |
<IMG SRC="jav ascript:document.vulnerable=true;"> | |
]]></attackString><signature>Script</signature></attack><attack><attackString><![CDATA[ | |
<IMG SRC="javascript:document.vulnerable=true;"> |
NewerOlder