Skip to content

Instantly share code, notes, and snippets.

View yahuarkuntur's full-sized avatar
🐈

Brian Debuire yahuarkuntur

🐈
View GitHub Profile
@rsanden
rsanden / install-wine-sc.bash
Last active November 16, 2018 07:41
wine-starcraft WoW64 binary install and setup
#!bash # For syntax highlighting. This is not a script...
#########################################
# Part I -- Installing wine-starcraft #
#########################################
sudo su - # become root
apt install winbind
<?php
define('BOT_TOKEN', 'XXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXX'); // place bot token of your bot here
function checkTelegramAuthorization($auth_data) {
$check_hash = $auth_data['hash'];
unset($auth_data['hash']);
$data_check_arr = [];
foreach ($auth_data as $key => $value) {
$data_check_arr[] = $key . '=' . $value;