OVPN_DATA="ovpn-data-example-service"
VPN_SERVERNAME="vpn.example.com"
CLIENTNAME="client1"
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# Copyright 2012-2015 Matt Martz | |
# Updated by Sergey (1271) | |
# All Rights Reserved. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); you may | |
# not use this file except in compliance with the License. You may obtain | |
# a copy of the License at | |
# |
This file has been truncated, but you can view the full file.
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
[ | |
{ | |
"bot_public": false, | |
"bot_require_code_grant": true, | |
"cover_image": "4f0361f7957490d61da116ef6f5ae07e", | |
"description": "Cut-throat multiplayer running game that pits 4 players against each other, locally and/or online. Run, jump, swing around, and use devious weapons and pick-ups to knock opponents off-screen! One of the most competitive games you'll ever play.", | |
"developers": [ | |
{ | |
"id": "521816574047420417", | |
"name": "DoubleDutch Games" |
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
from typing import TypeVar, Generic, List | |
import json | |
T = TypeVar('T') | |
class Stack(Generic[T]): | |
def __init__(self) -> None: | |
self.__items: List[T] = [] |
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
cat ~/.bash_history | awk '!($0 in a) {a[$0];print}' > ~/.bash_history.tmp && mv -f ~/.bash_history.tmp ~/.bash_history |
I hereby claim:
- I am 1271 on github.
- I am 1271 (https://keybase.io/1271) on keybase.
- I have a public key ASDHibrs7uibozoY1hnPi-4iqjbUAKcCMNp1nZ9q_zq5MAo
To claim this, I am signing this object:
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
<?php | |
if (preg_match('%(?:youtube(?:-nocookie)?\.com/(?:[^/]+/.+/|(?:v|e(?:mbed)?)/|.*[?&]v=)|youtu\.be/)([^"&?/ ]{11})%i', $url, $match)) { | |
$video_id = $match[1]; | |
} | |
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
from argparse import ArgumentParser | |
from multiprocessing import cpu_count | |
from os import path, makedirs | |
from threading import Thread | |
from progressbar import ProgressBar | |
from requests import get | |
args = ArgumentParser() | |
args.add_argument_group('General') |
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 logging | |
import re | |
from argparse import ArgumentParser | |
from base64 import b64decode | |
from datetime import datetime | |
from multiprocessing import cpu_count | |
from os import makedirs | |
from os.path import basename, isdir, isfile, getsize, join | |
from sys import stderr | |
from threading import Thread |
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
language: php | |
php: | |
- '7.0' | |
- nightly | |
matrix: | |
include: | |
# Eloquent bridge | |
- php: '7.0' |
NewerOlder