Windows Service with Python 3.5 and pyinstaller
- Python 3.5.x
- Visual C++ Build Tools 2015
- PyInstaller 3.2
| import 'dart:convert'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:tree_view/tree_view.dart'; | |
| import 'dart:collection'; | |
| class Folder { | |
| String descricao; | |
| String id; | |
| Folder({this.descricao, this.id}); |
| from flask_cors import CORS | |
| socketio = SocketIO() | |
| app = Flask(__name__) | |
| CORS(app) | |
| # CONFIGURACAO | |
| socketio.init_app(app, ping_timeout=1800, binary=True, max_http_buffer_size=10000000000) | |
Windows Service with Python 3.5 and pyinstaller
| from __future__ import with_statement | |
| from alembic import context | |
| from sqlalchemy import engine_from_config, pool, MetaData, Table, ForeignKeyConstraint | |
| from logging.config import fileConfig | |
| # this is the Alembic Config object, which provides | |
| # access to the values within the .ini file in use. | |
| config = context.config | |
| # Interpret the config file for Python logging. |
| unit vkbdhelper; | |
| { | |
| Force focused control visible when Android/IOS Virtual Keyboard showed or hiden | |
| How to use: | |
| place vkdbhelper into your project uses section. No more code needed. | |
| == Known issues == : | |
| * after device rotation keyboard can change height without form notification. | |
| this can move focused control to wrong y-coord... |
| unit qdac_fmx_vkhelper; | |
| { | |
| Force focused control visible when Android Virtual Keyboard showed or hiden | |
| How to use: | |
| place qdac_fmx_vkhelper into your project uses section.No more code needed. | |
| Changes | |
| ======= | |
| 2017.3.27 |
| /* | |
| Hoje não deixaremos mais ninguém no vácuo no whatsapp | |
| Para utilizar: | |
| - Abra o web.whatsapp.com; | |
| - Abra o console e cole o código que está no gist; | |
| - Aguarde e verá uma mensagem sendo enviada a cada momento que alguém te enviar alguma mensagem. | |
| Confira também como ser chato no whatsapp: https://gist.github.com/mathloureiro/4c74d60f051ed59650cc76d1da0d32da | |
| e como ser chato no mensseger: https://gist.github.com/mathloureiro/d3f91d19cf148838217e42a0c6df5ed8 | |
| */ |
| #!/bin/sh | |
| # Allow locate commands | |
| # sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist | |
| # xcode command line - Select: "Get xcode" and go get a coffee (preferably far from your desk :) | |
| xcode-select --install | |
| # home-brew | |
| /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" |
| http://askubuntu.com/questions/708061/qualcomm-atheros-device-168c0042-rev-30-wi-fi-driver-installation | |
| Ubuntu 16.04 users should just need to | |
| wget http://mirrors.kernel.org/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.157.5_all.deb | |
| sudo dpkg -i linux-firmware_1.157.5_all.deb | |
| Reboot |
| #!/bin/bash | |
| #Criado por: Jadson Bonfim Ribeiro - 2017 | |
| #Contato: jadsonbr@outlook.com.br | |
| ### Verifica requisitos para deploy do Laravel 5.4 | |
| clear | |
| echo "$(tput setaf 3)Verificando requisitos do laravel 5.2$(tput sgr 0)" | |
| ################################################## | |
| # Requisitos PHP | |
| ################################################## | |
| echo |