Tiny wrapper component for React-Datepicker to stylistically fit with Chakra-UI 1.x.
<DatePicker selectedDate={myDate} onChange={(d) => console.log(d)} />
/* | |
* Available context bindings: | |
* COLUMNS List<DataColumn> | |
* ROWS Iterable<DataRow> | |
* OUT { append() } | |
* FORMATTER { format(row, col); formatValue(Object, col); getTypeName(Object, col); isStringLiteral(Object, col); } | |
* TRANSPOSED Boolean | |
* plus ALL_COLUMNS, TABLE, DIALECT | |
* | |
* where: |
Tiny wrapper component for React-Datepicker to stylistically fit with Chakra-UI 1.x.
<DatePicker selectedDate={myDate} onChange={(d) => console.log(d)} />
import { Dayjs, PluginFunc, ConfigType } from 'dayjs'; | |
declare const plugin: PluginFunc; | |
export = plugin; | |
declare module 'dayjs' { | |
/** Similar to date-fns/utcToZonedTime */ | |
function utcToZoned(config: ConfigType, timezone?: string): Dayjs; | |
/** Similar to date-fns/zonedTimeToUtc */ |
// This prints a list of buttons that on tap will fire a different type of haptic vibration | |
import SwiftUI | |
struct ContentView: View { | |
let generator = UINotificationFeedbackGenerator() | |
var body: some View { | |
VStack(alignment: .center, spacing: 30.0) { | |
Button(action: { |
# ~/.config/starship.toml | |
[battery] | |
full_symbol = "🔋" | |
charging_symbol = "🔌" | |
discharging_symbol = "⚡" | |
[[battery.display]] | |
threshold = 30 | |
style = "bold red" |
2020/5/31追記:
自分用のメモに書いていたつもりだったのですが、たくさんのスターを頂けてとても嬉しいです。
と同時に、書きかけで中途半端な状態のドキュメントをご覧いただくことになっており、大変心苦しく思っています。
このドキュメントを完成させるために、今後以下のような更新を予定しています。
2021/1/22追記:
import * as apigateway from '@aws-cdk/aws-apigateway'; | |
import * as lambda from '@aws-cdk/aws-lambda'; | |
import { Duration } from '@aws-cdk/core'; | |
import cdk = require('@aws-cdk/core'); | |
export class AppStack extends cdk.Stack { | |
constructor(scope: cdk.Construct, id: string, systemEnv: string, props?: cdk.StackProps) { | |
super(scope, id, props); | |
// The code that defines your stack goes here |
Postman | API Development Environment https://www.getpostman.com
Insomnia REST Client - https://insomnia.rest/
Features | Insomnia | Postman | Notes |
---|---|---|---|
Create and send HTTP requests | x | x | |
Authorization header helpers | x | x | Can create "Authorization" header for you for different authentication schemes: Basic, Digest, OAuth, Bearer Token, HAWK, AWS |
# create-react-app | |
> create-react-app --scripts-version=react-scripts-ts <your-project> | |
> cd <your-project> | |
# tslint, prettier | |
> yarn add --dev tslint prettier tslint-config-prettier tslint-config-airbnb tslint-plugin-prettier |
PX | REM | TW | |
---|---|---|---|
4 | 0.25 | 1 | |
8 | 0.5 | 2 | |
16 | 1 | 4 | |
32 | 2 | 8 | |
48 | 3 | 12 | |
64 | 4 | 16 | |
80 | 5 | 20 | |
96 | 6 | 24 | |
112 | 7 | 28 |