acceptImport
activate
addAttribute
addExternalContentForFileAttr
addItemObserver
addListObserver
addOpaqueData
ancestorCollections
ancestors
Discover gists
import * as Http from "@effect/platform/HttpClient" | |
import { Schema } from "@effect/schema" | |
import { Array, Config, Context, Data, Effect, Layer, flow } from "effect" | |
import { Inngest as Inngest_ } from "inngest" | |
class InngestRun extends Schema.Class<InngestRun>("InngestRun")({ | |
run_id: Schema.String, | |
status: Schema.Literal("Running", "Completed", "Failed", "Cancelled"), | |
}) { | |
static decodeArray = Http.response.schemaBodyJsonScoped( |
; | |
; Inspiration / Code Jacked from the following resources: | |
; https://www.reddit.com/r/windowsporn/comments/x6299x/a_small_effect_on_window_switching/ | |
; https://superuser.com/questions/1190658/fine-tune-this-red-border-around-active-window-ahk-script/1191059#1191059?newreg=d3acdcdab8714e76a5efeca9996e792f | |
; https://www.autohotkey.com/boards/viewtopic.php?f=6&t=110505 | |
; https://discord.com/channels/898554690126630914/898556726108901386/1053662963585781760 # Komorebi Discord | |
; | |
#NoEnv | |
#SingleInstance, Force |
use a cubic function to replace the linear window growth to improve performance in high BDP network, also achieved RTT fairness.
tcp-cubic is succssor of tcp-bic, tcp-bic use binary search to find the avialble bandwidth when congestion happens, and MAY enter an lieaner increasing state (Additive Increase)if it dropped too low, if it passed the maximum window, it goes into max probing state and will do the reverse and grow slowly initially and switch to additive increase if it can't find new maximum window nearby.
I’ve tried multiple solutions to browse SqlCipher
Databases and the only one that seemed to work properly was [DB Sqlite Browser](DB Browser for SQLite (sqlitebrowser.org)) with easy GUI to get into the db. but … the overall experience of that application didn’t really satisfy me!
I knew DBeaver from long time ago, and i wondered if i can use it with SQLCipher, but it was surprisingly a shock that it doesn’t work directly, but with a couple of hours of researching and trying different methods i finally came up with a way to configure it Out-of-the box to make it work!
The reason I wrote this gist was to help others who have the same issue as it seems there is no guide to show how to do so!
By using ReturnType
we don't have to manually write type for Context
See also gist for SolidJS https://gist.github.com/JLarky/a46055f673a2cb021db1a34449e3be07
And original tweet https://twitter.com/JLarky/status/1554152932425117697
package main | |
import ( | |
"fmt" | |
"log" | |
"net/http" | |
"github.com/gorilla/context" | |
"github.com/gorilla/mux" | |
) |
- Download the fastboot ROM suitable for your device from the MIUI site and extract the downloaded archive [edit: MIUI page is dead. Use Xiaomi Firmware Updater]
- Download and extract the Android SDK Platform Tools
- Make sure
adb
andfastboot
(components of platform-tools) are in your