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 / VacBanCheck.cs
Last active September 3, 2016 08:42
Simple VAC Ban checker. You can give custom url (ardaozkal) or steamid64 (76561198034299068) to it and it'll return true if the user is vac banned (or if the account is unable to be found).
static bool IsVacBanned(string steamID)
{
var wc = new WebClient();
string ProfileLink = "http://steamcommunity.com/";
ProfileLink += (steamID.StartsWith("765")) ? "profiles/" : "id/";
ProfileLink += steamID + "?xml=1";
var ProfileData = wc.DownloadString(ProfileLink);
return !ProfileData.Contains("<vacBanned>0</vacBanned>");
}
@aveao
aveao / CATS.user.js
Last active September 6, 2016 11:37
// ==UserScript==
// @name CATS
// @namespace ardaozkal
// @author ardaozkal
// @description Cool Anti Troll Script
// @include *
// @version 1.1
// @grant none
// ==/UserScript==
@aveao
aveao / toplay.md
Created September 16, 2016 19:15
The list of games I plan to play.
@aveao
aveao / chathide.css
Last active December 17, 2016 19:48
UserStyles I use
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("chat.stackexchange.com"), domain("chat.stackoverflow.com"), domain("chat.meta.stackexchange.com")
{
#roomdesc, #room-tags {display: none !important;}
}
@aveao
aveao / app.js
Created January 17, 2017 19:20
geliyoo app.js
/*
-----------------------------------------------------------------------
Geliyoo
-----------------------------------------------------------------------
*/
$(document).ready(function(){
app_name = "Arama Motoru Geliyoo"; //
@aveao
aveao / owsproxy.user.js
Last active February 27, 2017 11:51
owsproxy.user.js
// ==UserScript==
// @name owsproxy
// @namespace ardao.me
// @version 0.1
// @description For those who can't see my homebrew imgur posts, proxies them through ardao.me
// @author ardaozkal
// @match *://chat.stackexchange.com/*
// @match *://chat.stackoverflow.com/*
// @match *://chat.meta.stackexchange.com/*
// @grant none
@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 / .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>