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
USE [Test] | |
GO | |
/****** Object: Table [dbo].[Autorization] Script Date: 11.03.2020 12:22:55 ******/ | |
SET ANSI_NULLS ON | |
GO | |
SET QUOTED_IDENTIFIER ON | |
GO | |
CREATE TABLE [dbo].[Autorization]( | |
[ID] [int] IDENTITY(1,1) NOT NULL, | |
[Login] [varchar](50) NOT NULL, |
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 flask import Flask | |
from flask import request | |
from json import dumps | |
from flask import Response | |
app = Flask(__name__) | |
messages = dict() | |
message_id = 0 |
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 requests import get | |
from json import loads | |
def get_instagram_media(hashtag): | |
url = f'https://www.instagram.com/explore/tags/{hashtag}/?__a=1' | |
data = get(url).text | |
data = json.loads(data) | |
data = data['graphql']['hashtag']['edge_hashtag_to_top_posts']['edges'] | |
return [i['node']['thumbnail_src'] for i in data] |
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 requests import get | |
from lxml import html | |
from openpyxl.workbook import Workbook | |
from openpyxl.styles import Font | |
from re import findall | |
BASE_URL = 'https://kiportal.ru' | |
PAGE_START, PAGE_FINISH = 20, 21 | |
wb = Workbook() |
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 vk_api import api | |
vk = api(YOUR_ACCESS_TOKEN) | |
album = vk.get_photos_from_album(VK_ID, ALBUM_ID/saved/profile/wall, COUNT) | |
vk.save_photos(album, DIRECTORY) |
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 | |
from requests import get | |
from json import dumps | |
from json import loads | |
from cgi import FieldStorage | |
class InstagramHashtag: | |
def __init__(self, hashtag): | |
url = 'https://www.instagram.com/explore/tags/{0}/?'.format(hashtag) |
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
@echo off | |
set gamemode_name=%1 | |
set gamemode_directory=%cd% | |
set gamemode_complier_path=%gamemode_directory%\complier | |
set gamemode_path=%gamemode_directory%\gamemodes\%gamemode_name% | |
title I'll compile your gamemode :) | |
cd %gamemode_complier_path% | |
pawncc.exe %gamemode_path%.pwn -d2 -iinclude -o%gamemode_path%.amx -;+ |
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
#ifndef INI_HPP | |
#define INI_HPP | |
#include <map> | |
#include <regex> | |
#include <string> | |
#include <fstream> | |
#include <iostream> | |
class ini_document { |
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
#include "plugin.hpp" | |
/* | |
* Plugin functions | |
*/ | |
bool Plugin::Load(void **ppData) { | |
pAMXFunctions = ppData[PLUGIN_DATA_AMX_EXPORTS]; | |
sampgdk::Load(ppData); | |
sampgdk::logprintf(" Plugin %s v%s by %s has been loaded", |
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
{ | |
"bold_folder_labels": true, | |
"caret_extra_width": 2, | |
"caret_style": "smooth", | |
"color_scheme": "Packages/ayu/ayu-light.sublime-color-scheme", | |
"fade_fold_buttons": false, | |
"font_face": "Inconsolata", | |
"font_size": 10, | |
"highlight_line": true, | |
"highlight_modified_tabs": true, |
NewerOlder