Skip to content

Instantly share code, notes, and snippets.

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...
@jadsonbr
jadsonbr / env.py
Created August 2, 2018 16:42 — forked from nickretallack/env.py
How to run multi-tenant migrations in alembic.
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.
@jadsonbr
jadsonbr / README.md
Created August 13, 2019 20:34 — forked from guillaumevincent/README.md
Windows Service with Python 3.5 and pyinstaller
@jadsonbr
jadsonbr / file_upload.py
Created December 4, 2019 16:43
Envio de arquivos com Flask e socket.io
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)
@jadsonbr
jadsonbr / tree_page.dart
Created January 9, 2020 02:34
Flutter TreeView
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});