Skip to content

Instantly share code, notes, and snippets.

View aveao's full-sized avatar
🤔
delete this feature

ave aveao

🤔
delete this feature
View GitHub Profile
@aveao
aveao / .travis.yml
Last active March 8, 2017 05:05
.travis.yml for Apache Cordova (android)
language: android
sudo: required
android:
components:
- platform-tools
- tools
- build-tools-25.0.2
- android-25
before_install:
- sudo add-apt-repository ppa:webupd8team/java -y
@aveao
aveao / install-chipsec.sh
Last active March 10, 2017 19:35
CHIPSEC installer
#!/bin/sh
sudo apt install build-essential python-dev python gcc linux-headers-$(uname -r) nasm -y
wget https://bootstrap.pypa.io/get-pip.py
python2 get-pip.py
sudo -H pip2 install setuptools
sudo -H pip2 install chipsec
echo "Done! You should be able to run 'sudo python2 -m chipsec_main' or 'sudo python2 -m chipsec_util' now."
@aveao
aveao / tosha.php
Last active March 15, 2017 21:00
For the people who keep not generating SHA512 hashes needed properly.
<html>
<body>
<h1>I DO NOT ENTER YOUR PASSWORD TO RANDOM PLACES ONLINE, INCLUDING THIS!</h1><br>
<form action="tosha.php" method="post">
Your password:
<input type="text" name="tosha"><br>
<input type="submit" value="Submit">
</form><br><br>
@aveao
aveao / wumboji.cs
Last active July 21, 2017 17:01
Wumboji maker- WIP
using System;
using System.IO;
using System.Drawing;
namespace wumboji
{
class Program
{
static void Main(string[] args)
{
@aveao
aveao / SEChatModifications.user.js
Last active March 8, 2020 04:11
SEChatModificationsFORK.user.js
// ==UserScript==
// @name SE Chat Modifications FORK
// @description A collection of modifications for SE chat rooms
// @match *://chat.meta.stackexchange.com/rooms/*
// @match *://chat.stackoverflow.com/rooms/*
// @match *://chat.stackexchange.com/rooms/*
// @grant none
// @author @rchern (fork by @ardaozkal)
// ==/UserScript==
@aveao
aveao / zsher.sh
Last active November 19, 2019 01:07
ZSH, Oh My Zsh and theme install script. xkcd 1654 compliant.
echo "Welcome to ZSH Setup script of Avery of ave.zone. This script is XKCD 1654 compliant."
cd ~
(which sudo &>/dev/null && echo "sudo found") || (echo "sudo not found, exiting" && exit 1) #Checks if sudo is installed
(which pkg &>/dev/null && sudo pkg install -y zsh git wget) || echo "pkg not found, moving on" # Checks for FreeBSD-like OSes
(which pacman &>/dev/null && sudo pacman -Sy zsh git wget --noconfirm --needed) || echo "pacman not found, moving on" # Checks for Arch-like OSes
(which apt-get &>/dev/null && (sudo apt-get update;sudo apt-get install zsh git wget -y)) || echo "apt-get not found, moving on" # Checks for Ubuntu-like or Debian-like OSes
(which yum &>/dev/null && (sudo yum upgrade;sudo yum install zsh git wget --assumeyes)) || echo "yum not found, moving on" # Checks for RedHat-like OSes
(which zyyper &>/dev/null && (sudo zyyper upgrade;sudo zyyper install zsh git wget -y)) || echo "zyyper not found, moving on" # Checks for SUSE-like OSes
@aveao
aveao / DiscordChatExport.py
Last active January 11, 2018 09:41
Discord chat exporter
import logging
import discord
import asyncio
import datetime
logging.basicConfig(level=logging.INFO)
client = discord.Client()
# You need discord.py rewrite.
# pip3 install -U git+https://github.com/Rapptz/discord.py@rewrite
@aveao
aveao / SELogger.py
Created July 12, 2017 22:21
SELogger
#!/usr/bin/env python
import os
import sys
import datetime
import chatexchange.client
import chatexchange.events
def main(args):
@aveao
aveao / README.md
Created July 25, 2017 08:48
StackExchange Election Notifier -- Instantly checks results after they're announced, checks data, uses notify-send to send a notification with name of winner

StackExchange Election Notifier

{This project is not associated, approved or endorsed by StackExchange Inc in any way}

  • clone https://github.com/Conservatory/openstv to a directory on your computer.
  • download election.sh and run.sh
  • Change line 4 of election.sh to the /openstv/ folder in the openstv code you cloned, and line 4 on run.sh to the place election.sh is stored.
  • Change line 5 of election.sh to the site you want to use, and the ID of the election you want to check.
  • Set both files as executable (chmod +x election.sh, chmod +x run.sh)
  • run run.sh
#!/bin/sh
wget http://ligman.me/1IW1oab --content-disposition
wget http://ligman.me/1Uixtlq --content-disposition
wget http://ligman.me/1R9Ubgt --content-disposition
wget http://ligman.me/1H4VXHT --content-disposition
wget http://ligman.me/1f8XUKy --content-disposition
wget http://ligman.me/1HBEUPi --content-disposition
wget http://ligman.me/1NDTZR4 --content-disposition
wget http://ligman.me/1Uiy2f9 --content-disposition
wget http://ligman.me/1epZ0QU --content-disposition