Skip to content

Instantly share code, notes, and snippets.

Avatar
🤔
delete this feature

ave aveao

🤔
delete this feature
View GitHub Profile
@aveao
aveao / ToString
Created Dec 20, 2014
int/decimal etc to string (char) in C (especially for pebble)
View ToString
/* preferred itoa - good for any base */
char *
itoa (int value, char *result, int base)
{
// check that the base if valid
if (base < 2 || base > 36) { *result = '\0'; return result; }
char* ptr = result, *ptr1 = result, tmp_char;
int tmp_value;
@aveao
aveao / from-level-0-to-specified.cs
Last active Jul 17, 2016
Steam Level/Price calculator
View from-level-0-to-specified.cs
int SteamLevel = 1111; //edit this as you want
double PricePerBadge = 0.4; //change this for yourself
double price = 0; //don't touch
for (int i = 0; i < SteamLevel; i++)
{
price += (Math.Floor((double)(i/10))+1)*PricePerBadge;
}
Console.WriteLine(price.ToString());
@aveao
aveao / SmallTrainer.cs
Created Jul 25, 2015
First version of DankNet Menu
View SmallTrainer.cs
//http://github.com/ardaozkal/DankNet-GTAV is current version
//This one took me about 15 mins to write, then I turned this into a menu, which ended up being the (arguably and self claimed) best .Net menu.
using System;
using GTA;
using GTA.Math;
using GTA.Native;
using System.Windows.Forms;
public class SmallTrainer : Script
@aveao
aveao / getlinks.cs
Created Sep 9, 2015
Social Media Downloader C# (dirty code, hobby project)
View getlinks.cs
View CATS.user.js
// ==UserScript==
// @name CATS
// @namespace ardaozkal
// @author ardaozkal
// @description Cool Anti Troll Script
// @include *
// @version 1.1
// @grant none
// ==/UserScript==
View ztype_brute.ahk
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
Numpad1::
$stop := 0
Loop,
{
SendInput abcdefghijklmnopqrstuvwxyz
@aveao
aveao / trcheck.py
Last active Aug 20, 2016
Checks a small list of websites to see if they are banned in turkey. Swap comment on Line 7 with Line 6 to see the results on Google DNS.
View trcheck.py
import dns.resolver #sudo apt-get install python-dnspython
import re #regex
my_resolver = dns.resolver.Resolver()
#my_resolver.nameservers = ['8.8.8.8', '8.8.4.4']
my_resolver.nameservers = ['195.175.39.39', '195.175.39.40']
ToCheck = ['youtube.com', 'facebook.com', 'twitter.com', 't.co', 'instagram.com', 'reddit.com', 'imgur.com', 'i.imgur.com']
@aveao
aveao / NotableExperiences.md
Last active Oct 10, 2017
My life in a nutshell
View NotableExperiences.md

2000- Born.

2002- "Used" a computer.

2007- Accepted to Middle East Technical University's Primary Grade School.

2010- Started developing with Adobe Flash.

2011/2012- Bought a website called ardaozkal.com which was a Forum which turned into a flash game platform.

@aveao
aveao / owsproxy.user.js
Last active Feb 27, 2017
owsproxy.user.js
View 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
View SteamQuickQueue.user.js
// ==UserScript==
// @name Steam Quick Queue
// @namespace https://gist.github.com/ardaozkal/47ecb805c1ed284c9e02bb86d68ee9d4/
// @version 6
// @description Discover the Steam queue three times to get the sale cards
// @include *://store.steampowered.com/explore/
// @grant none
// @run-at document-idle
// @require https://gist.github.com/xPaw/73f8ae2031b4e528abf7/raw
// @copyright 2015+, xPaw; 2016+, Nuno Cunha (original wrapper); 2016+ Arda Özkal (this wrapper)