I hereby claim:
- I am hardenchant on github.
- I am lysovgv (https://keybase.io/lysovgv) on keybase.
- I have a public key whose fingerprint is F490 71D6 1E6C 0642 BE36 6863 7201 CA5E 85E2 AA57
To claim this, I am signing this object:
// auto_wide_queue.cpp: auto expanding queue | |
#include <iostream> | |
using namespace std; | |
template <class T> | |
class queue //auto expanding queue | |
{ | |
class node //class which store array and pointer to next |
I hereby claim:
To claim this, I am signing this object:
import requests | |
import xlsxwriter | |
import json | |
start_date = "2000-03-01" | |
end_date = "2019-03-02" | |
link = f"https://iss.moex.com/iss/history/engines/stock/markets/shares/boardgroups/57/securities/SBER.jsonp?lang=ru&from=2000-03-01&till=2019-03-02&iss.json=extended&iss.meta=off&sort_order=TRADEDATE&sort_order_desc=desc&start=" | |
resp = requests.get(link + "0") |
#!/bin/bash | |
# MacOS EnhancedDiscord installer with plugins and config for 1080p 60fps streams | |
# DISCLAIMER! | |
# Using EnhancedDiscord, or any other client mod, is against Discord's Terms of Service. | |
# Use it at your own risk. It's very unlikely any action will be taken against you, | |
# but we take no responsibility if anything happens. | |
# Usage: | |
# copy script into folder where you want store your EnhancedDiscord and plugins |
# Before that, you must expand disk in vSphere
# /dev/sda - disk to expand
fdisk /dev/sda
n
p
[enter]
[enter]
[enter]
w
import random | |
from datetime import datetime, timedelta | |
import graphviz | |
def generate_sample_data(): | |
clients = [i for i in range(100)] | |
events = [f'page{i}' for i in range(20)] | |
now = datetime.now() |
#!/bin/zsh | |
# source: https://gist.github.com/dreness/2de62e01d2053f9440eb | |
# Set repo's user.email to a default or alternate value based on remote domain. | |
# Because the in-flight commit info has already been set, if an email address | |
# change is needed, this commit is aborted. Retry the commit to use the new address. | |
# | |
# To automatically install custom hooks to new repos: | |
# 1) Add something like the following to ~/.gitconfig: | |
# [init] | |
# templatedir = ~/.git/templates |
#!/usr/bin/python | |
import json | |
import logging | |
import logging.handlers | |
import os | |
import signal | |
import sys | |
import dbus | |
import dbus.mainloop.glib |
import logging | |
import os | |
# pip install pyobjc | |
from AppKit import NSDate, NSDistributedNotificationCenter, NSObject, NSRunLoop | |
logging.basicConfig( | |
level=logging.INFO, | |
format="[%(asctime)s] %(levelname)s [%(funcName)s:%(lineno)d] %(message)s" | |
) |