This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static List<string> GetLinks(string message) | |
{ | |
List<string> list = new List<string>(); | |
Regex urlRx = new Regex(@"((https?|ftp|file)\://|www.)[A-Za-z0-9\.\-]+(/[A-Za-z0-9\?\&\=;\+!'\(\)\*\-\._~%]*)*", RegexOptions.IgnoreCase); | |
MatchCollection matches = urlRx.Matches(message); | |
foreach (Match match in matches) | |
{ | |
list.Add(match.Value); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Result: 1 | |
Items { | |
TemplateId: "BADGE_BATTLE_ATTACK_WON" | |
Badge { | |
BadgeType: BADGE_BATTLE_ATTACK_WON | |
BadgeRanks: 4 | |
Targets: "\nd\350\007" | |
} | |
} | |
Items { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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()); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://steamcommunity.com/profiles/76561198093419085/ | |
Never tell your password to anyone. | |
Monday, August 29, 2016 | |
2:58 PM - ardaozkal: Uhmm, hi? | |
2:58 PM - SiliconnH0use [JWKTEAM]: Wazzup bro | |
2:58 PM - ardaozkal: fine, you? | |
2:58 PM - SiliconnH0use [JWKTEAM]: fine thanks | |
2:58 PM - SiliconnH0use [JWKTEAM]: I search partner | |
2:58 PM - SiliconnH0use [JWKTEAM]: for roulette |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
the legend of zelda shattered worlds | |
mario editor | |
super mario fatal error | |
flappy mario | |
mario 4 | |
sonic vs mario | |
zelda ii thanksgiving editon | |
bowser gets clever | |
normal super mario bros | |
mario challange |
OlderNewer