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
brew install gnupg | |
curl -sSL https://get.rvm.io | bash | |
rvm list known | |
rvm install ruby-3.3.0 --with-openssl-dir=$(brew --prefix openssl) | |
rvm alias create default 3.3.0 | |
## gem install cocoapods |
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 'package:intl/date_symbol_data_local.dart'; | |
import 'package:intl/intl.dart'; | |
test('formats', () async { | |
final time = DateTime(2022, 1, 1, 13, 12); | |
for (final locale in DateFormat.allLocalesWithSymbols()) { | |
final format = DateFormat.jm(locale); | |
final formattedTime = format.format(time); | |
print('$locale: $formattedTime'); |
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 'dart:async'; | |
void main() { | |
final broadcaster = StateBroadcaster(); | |
} | |
class StateBroadcaster { | |
final _sinkMap = <Type, StreamController<dynamic>>{}; | |
void notify<T>(T value) { |
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
export const debouncer = ( | |
func: (...args: unknown[]) => unknown, | |
params: { [key: string]: unknown }, | |
debounceMilliseconds: number, | |
debounceId: string, | |
): unknown => { | |
const lastExecuteTimeFromString: string = window.localStorage.getItem(debounceId) | |
const lastExecuteTime = _.parseInt(lastExecuteTimeFromString) | |
const currentTime = new Date().getTime() |
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
# Author. Hwanseok Kang, [email protected] | |
FROM node:14.15.1-alpine3.12 AS build | |
RUN apk update && apk add curl bash | |
RUN curl -sfL https://gobinaries.com/tj/node-prune | bash -s -- -b /usr/local/bin | |
COPY package*.json /build/ | |
WORKDIR /build |
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
π Morning 88 commits βββββββββββββββββββββ 22.5% | |
π Daytime 154 commits βββββββββββββββββββββ 39.4% | |
π Evening 93 commits βββββββββββββββββββββ 23.8% | |
π Night 56 commits βββββββββββββββββββββ 14.3% |