- Необходимо скачать с официального сайта последнюю версию питона, сделать это можно здесь 1.1. Обращаю внимание, что скачивать нужно именно с сайта, а не с Microsoft Store. В случае, если питон установлен из Microsoft Store ничего работать не будет
- Во время установки на первом экране необходимо нажать галочку "Add Python to PATH", это очень важно!

- После успешной установки откройте консоль (сделать это можно нажав
Win+X, выбрав в менюТерминал Windows) - Выполните команду
pip install toncli-win - Скачайте скомпилированные бинарные файлы TON (сделать это можно здесь, обращаю внимание, что для скачивание необходимо авторизоваться на GitHub)  chl on chl.checkuid = ch.checkuid limit 10; | |
| INFO : Compiling command(queryId=hadoop_20190428185334_b3e15ce0-71d2-4b24-89dc-7fbc475b0208): EXPLAIN select ch.basesum from check ch full join (select baseprice, checkuid from checkline limit 10) chl on chl.checkuid = ch.checkuid limit 10 | |
| INFO : Concurrency mode is disabled, not creating a lock manager | |
| INFO : Semantic Analysis Completed (retrial = false) | |
| INFO : Returning Hive schema: Schema(fieldSchemas:[FieldSchema(name:Explain, type:string, comment:null)], properties:null) | |
| INFO : Completed compiling command(queryId=hadoop_20190428185334_b3e15ce0-71d2-4b24-89dc-7fbc475b0208); Time taken: 0.219 seconds | |
| INFO : Concurrency mode is disabled, not creating a lock manager | |
| INFO : Executing command(queryId=hadoop_20190428185334_b3e15ce0-71d2-4b24-89dc-7fbc475b0208): EXPLAIN select ch.basesum from check ch full join (select b |
This file contains hidden or 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
| 0: jdbc:hive2://localhost:10000/default> EXPLAIN select ch.basesum, chl.baseprice from check ch full join (select baseprice, checkuid from checkline limit 10) chl on chl.checkuid = ch.checkuid limit 10; | |
| INFO : Compiling command(queryId=hadoop_20190429141949_636504bd-fc56-451c-9406-7a2640327d42): EXPLAIN select ch.basesum, chl.baseprice from check ch full join (select baseprice, checkuid from checkline limit 10) chl on chl.checkuid = ch.checkuid limit 10 | |
| INFO : Concurrency mode is disabled, not creating a lock manager | |
| INFO : Semantic Analysis Completed (retrial = false) | |
| INFO : Returning Hive schema: Schema(fieldSchemas:[FieldSchema(name:Explain, type:string, comment:null)], properties:null) | |
| INFO : Completed compiling command(queryId=hadoop_20190429141949_636504bd-fc56-451c-9406-7a2640327d42); Time taken: 0.51 seconds | |
| INFO : Concurrency mode is disabled, not creating a lock manager | |
| INFO : Executing command(queryId=hadoop_20190429141949_636504bd-fc56-451c-9406-7a2640327d42): EXPLAIN select ch.basesum, chl |
This file contains hidden or 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 React from 'react'; | |
| import './App.css'; | |
| class B extends React.Component { | |
| constructor(props) { | |
| super(props); | |
| this.state = {}; | |
| this.state.b = this.props.lolkek | |
| } |
This file contains hidden or 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, request, jsonify | |
| def cors(f): | |
| def fix_cors(*args, **kwargs): | |
| if request.method == 'OPTIONS': | |
| response = jsonify('') | |
| response.headers.add('Access-Control-Allow-Origin',request.headers['Origin'] if 'Origin' in request.headers else '*') | |
| response.headers.add('Access-Control-Allow-Headers', request.headers['Access-Control-Request-Headers'] if 'Access-Control-Request-Headers' in request.headers else '') | |
| response.headers.add('Access-Control-Allow-Methods', 'POST, GET, OPTIONS') | |
| response.headers.add('Access-Control-Max-Age', '86400') |
This file contains hidden or 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
| #!/bin/bash | |
| # Fixes the puppeteer not being able to spawn an instance on their AWS linux instance. | |
| # Install ATK from CentOS 7 | |
| sudo yum install cups-libs dbus-glib libXrandr libXcursor libXinerama cairo cairo-gobject pango | |
| sudo rpm -ivh --nodeps http://mirror.centos.org/centos/7/os/x86_64/Packages/atk-2.28.1-2.el7.x86_64.rpm | |
| sudo rpm -ivh --nodeps http://mirror.centos.org/centos/7/os/x86_64/Packages/at-spi2-atk-2.26.2-1.el7.x86_64.rpm | |
| sudo rpm -ivh --nodeps http://mirror.centos.org/centos/7/os/x86_64/Packages/at-spi2-core-2.28.0-1.el7.x86_64.rpm |
This file contains hidden or 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/fift -s | |
| "TonUtil.fif" include | |
| "Asm.fif" include | |
| // If you dont know about stack-base languages | |
| // Please read something before read comments and trying to understand what is going on here :) | |
| 5 :$1..n // parse arguments | |
| $1 parse-workchain-id =: wc // set workchain id from command line argument | |
| $2 parse-int =: subwallet-id // set subwallet id |
This file contains hidden or 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
| // Get anycast depth / rewrite_pfx or return 0 | |
| // ( S -- x y S ) | |
| { | |
| // maybe | |
| 1 u@+ swap 0 > | |
| { | |
| // anycast_info$_ depth:(#<= 30) { depth >= 1 } | |
| // rewrite_pfx:(bits depth) = Anycast; | |
| 30 u@+ swap // get depth |