Test | Time (Microseconds) |
---|---|
ValueNotifier | 0.14619362615225495 |
StateNotifier | 0.6242255 |
Cubit | 1.2855485 |
StreamController | 1.3412715 |
macOS Mac Mini - 3.2 GHz 6-Core Intel Core i7, running under Flutter Release Mode
This file contains 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 bash | |
# checck if pidof exists | |
PIDOF="$(which pidof)" | |
# and if not - install it | |
(test "${PIDOF}" && test -f "${PIDOF}") || brew install pidof | |
# find app in default paths | |
CO_PWD=~/Applications/CrossOver.app/Contents/MacOS | |
test -d "${CO_PWD}" || CO_PWD=/Applications/CrossOver.app/Contents/MacOS |
이 글은 책 Learn You a Haskell for Great Good을 읽고 정리한 것입니다.
함수 foldl
의 모나드 버전은 foldM
이다. foldl
의 타입은 아래와 같다.
foldl :: (a -> b -> a) -> a -> [b] -> a
If you don't know what Wireguard is, well, you should. It's fast, easy to setup and highly configurable. We will configure Wireguard for multiple users with various restrictions using iptables.
This should fit most setups (not mine though 😉)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>method</key> | |
<string>ad-hoc</string> | |
<key>uploadBitcode</key> | |
<false/> | |
<key>uploadSymbols</key> | |
<true/> |
This file contains 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 'package:flutter/material.dart'; | |
class CustomPage extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
body: Container(), | |
floatingActionButton: FloatingActionButton( | |
onPressed: () { | |
showModalBottomSheet( |
This file contains 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 functions = require('firebase-functions'); | |
const path = require('path'); | |
const glob = require('glob'); | |
const ENDPOINT_FOLDER = './endpoints'; | |
const DO_NOT_DEPLOY = /^(admin|a|debug|d)$/; | |
const IGNORE = /^(ignore|i)$/; | |
const BREAK_ON_ERROR = true; | |
const is = { |
This file contains 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
diff --git a/gstreamer-send/main.go b/gstreamer-send/main.go | |
index 3a2ab8c..df5df2a 100644 | |
--- a/gstreamer-send/main.go | |
+++ b/gstreamer-send/main.go | |
@@ -27,8 +27,16 @@ func main() { | |
}, | |
} | |
+ m := webrtc.MediaEngine{} | |
+ s := webrtc.SettingEngine{} |
NewerOlder