Skip to content

Instantly share code, notes, and snippets.

View thiagorb's full-sized avatar
👋

Thiago Romão Barcala thiagorb

👋
  • Düsseldorf, Germany
View GitHub Profile
Launching lib\main.dart on SM T590 in debug mode...
√ Built build\app\outputs\flutter-apk\app-debug.apk.
Connecting to VM Service at ws://127.0.0.1:61073/mK8AqvTgGzk=/ws
D/ViewRootImpl@8a37188[MainActivity](10218): stopped(false) old=true
D/SurfaceView(10218): windowStopped(false) true io.flutter.embedding.android.FlutterSurfaceView{f915ce V.E...... ........ 0,0-1440,846} of ViewRootImpl@8a37188[MainActivity]
D/SurfaceView(10218): onWindowVisibilityChanged(0) true io.flutter.embedding.android.FlutterSurfaceView{f915ce V.E...... ........ 0,0-1440,846} of ViewRootImpl@8a37188[MainActivity]
D/ViewRootImpl@8a37188[MainActivity](10218): Relayout returned: old=(0,0,1440,900) new=(0,0,1440,900) req=(1440,900)0 dur=16 res=0x40001 s={true 3802572800} ch=false
D/ViewRootImpl@8a37188[MainActivity](10218): stopped(false) old=false
D/ViewRootImpl@8a37188[MainActivity](10218): Relayout returned: old=(0,0,1440,900) new=(0,0,1440,900) req=(1440,900)0 dur=13 res=0x40001 s={true 3802572800} ch=false
D/ViewRootImpl@8a37188[Mai
#!/usr/bin/env python3
# Simple TCP proxy server
#
# This script can be used to route traffic from one host to another.
#
# Example:
# proxy.py 127.0.0.1 8080 example.org 80
#
# Running the command above will start a TCP server listening on 127.0.0.1:8080.
@thiagorb
thiagorb / tagged_template_strings.js
Created December 19, 2018 16:14
Tagged template strings example
const wrapWithQuotes = (parts, ...values) => {
let result = parts[0];
values.forEach((value, i) => {
result += `"${value}"` + parts[i + 1];
});
return result;
};
@thiagorb
thiagorb / EncryptedStore.php
Last active December 13, 2020 20:10
Extend session store in Laravel
<?php
namespace App\Session;
class EncryptedStore extends \Illuminate\Session\EncryptedStore
{
public function get($key, $default = null)
{
$originalValue = parent::get($key, $default);