Skip to content

Instantly share code, notes, and snippets.

Avatar
🤔
delete this feature

ave aveao

🤔
delete this feature
View GitHub Profile
View v3helplong.md

AveBot Commands:

How to read the variables

  • A <> after a command will state a required variable
  • A [] after a command will state an optional variable

Basic Bot Commands:

ab!help: Shows help and links to this. [added]
ab!servercount: Returns the amount of servers AveBot is in. [added, improved]
ab!whoami: Returns your information. [removed]

View -
Spectre and Meltdown mitigation detection tool v0.30
Checking for vulnerabilities against running kernel Linux 4.14.13-1-ARCH #1 SMP PREEMPT Wed Jan 10 11:14:50 UTC 2018 x86_64
CPU is Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz
CVE-2017-5753 [bounds check bypass] aka 'Spectre Variant 1'
* Checking count of LFENCE opcodes in kernel:  NO 
> STATUS:  VULNERABLE  (only 21 opcodes found, should be >= 70, heuristic to be improved when official patches become available)
CVE-2017-5715 [branch target injection] aka 'Spectre Variant 2'
View -
Retrieving speedtest.net configuration...
Testing from Turk Telekom (95.12.152.121)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Vodafone Asia (Istanbul) [1.42 km]: 42.839 ms
Testing download speed................................................................................
Download: 1.56 Mbit/s
Testing upload speed......................................................................................................
Upload: 0.49 Mbit/s
@aveao
aveao / aveSE.user.js
Created Sep 21, 2017
Ave's SEChat Mods (partially incompatible with rchern/StackExchangeScripts, remove your current version and install https://gist.github.com/aveao/c825253c63cffe84a1469416e0ada594 to get both working)
View aveSE.user.js
// ==UserScript==
// @name Ave's SEChat Mods
// @namespace https://ave.zone/
// @match *://chat.meta.stackexchange.com/rooms/*
// @match *://chat.stackoverflow.com/rooms/*
// @match *://chat.stackexchange.com/rooms/*
// @version 0.1
// @description A stack-chat mod
// @author Avery O (ave.zone)
// @grant none
View keybase.md

Keybase proof

I hereby claim:

  • I am aveao on github.
  • I am ardao (https://keybase.io/ardao) on keybase.
  • I have a public key ASAitYPT4JsxV8YgiARGd81wedWOY1-bjfMhhv8ejbjJoAo

To claim this, I am signing this object:

View ligman-download.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
@aveao
aveao / README.md
Created Jul 25, 2017
StackExchange Election Notifier -- Instantly checks results after they're announced, checks data, uses notify-send to send a notification with name of winner
View README.md

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
View SELogger.py
#!/usr/bin/env python
import os
import sys
import datetime
import chatexchange.client
import chatexchange.events
def main(args):
@aveao
aveao / DiscordChatExport.py
Last active Jan 11, 2018
Discord chat exporter
View DiscordChatExport.py
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 / zsher.sh
Last active Nov 19, 2019
ZSH, Oh My Zsh and theme install script. xkcd 1654 compliant.
View zsher.sh
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