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 / 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 / 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 / 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 / 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 / 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 / .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 / calibreupdater.sh
Created March 6, 2017 04:13
Calibre linux update script
#!/bin/sh
# Really basic script to update calibre. Set as alias in .bashrc or .zshrc (or whatever) to make updating calibre more than easy!
sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.py | sudo python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main()"
@aveao
aveao / darkuserstyles.md
Last active April 15, 2017 19:44
Dark Userstyles Collection

Disclosure

I do not own-ish any of the skins here. The ones hosted on my github gists are modified by me, NOT developed by me. All credits go to original developers.

Supported sites:

If you want anything added comment it down

  • userstyles editor
  • Global Dark Scrollbar
  • Hacker News -- news.ycombinator.com
  • Amazon.com
  • Stackexchange/stackoverflow chat -- chat.stackexchange.com -- chat.stackoverflow.com
@aveao
aveao / app.js
Created January 17, 2017 19:20
geliyoo app.js
/*
-----------------------------------------------------------------------
Geliyoo
-----------------------------------------------------------------------
*/
$(document).ready(function(){
app_name = "Arama Motoru Geliyoo"; //
@aveao
aveao / toplay.md
Created September 16, 2016 19:15
The list of games I plan to play.