Skip to content

Instantly share code, notes, and snippets.

Félix Baril Freelix

  • Montreal
Block or report user

Report or block Freelix

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Freelix /
Last active Aug 24, 2017
Generate .exe program to parse to have a chance to win Steam games based on your wishlist
import queue
import requests
import urllib3
from bs4 import BeautifulSoup
USER_AGENT = "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0"
'PHPSESSID': 'needs to be replaced with your PHPSESSID'
Freelix / hockeyScript.php
Created Oct 29, 2015
Parse and send games scores, once a day, directly to your phone with twilio.
View hockeyScript.php
require "twilio-php/Services/Twilio.php";
class Match
public $firstTeam;
public $firstTeamScore;
public $secondTeam;
public $secondTeamScore;
Freelix / SteamGiftsScript.php
Last active Aug 16, 2017
Parse to automatically have a chance to win Steam games based on a games list.
View SteamGiftsScript.php
// To start script --> nohup ./ >> log.txt &
// To stop script --> ps -ef
// then kill -9 pid
// Some variables
$GLOBALS['user_agent'] = 'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0';
$GLOBALS['main_url'] = "";
$GLOBALS['numberOfPages'] = 12;
You can’t perform that action at this time.