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 json | |
import subprocess | |
import re | |
import heapq | |
import sys | |
from datetime import datetime, timezone | |
from typing import Generator, Mapping | |
def convert_timestamp_ns_to_date(timestamp_ns: int) -> datetime: |
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
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 |
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/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. |
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
const wrapWithQuotes = (parts, ...values) => { | |
let result = parts[0]; | |
values.forEach((value, i) => { | |
result += `"${value}"` + parts[i + 1]; | |
}); | |
return result; | |
}; |
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
<?php | |
namespace App\Session; | |
class EncryptedStore extends \Illuminate\Session\EncryptedStore | |
{ | |
public function get($key, $default = null) | |
{ | |
$originalValue = parent::get($key, $default); |