https://developers.cloudflare.com/r2/platform/pricing/
up to 10,000,000 read operations + $0.36 per 1,000,000 operations
$3.60 free
up to 1,000,000 write operations + $4.50 per 1,000,000 operations
// | |
// ContentView.swift | |
// StylesApp | |
// | |
// Created by Damodar Namala on 30/08/22. | |
// | |
import SwiftUI | |
struct ContentView: View { |
https://developers.cloudflare.com/r2/platform/pricing/
up to 10,000,000 read operations + $0.36 per 1,000,000 operations
$3.60 free
up to 1,000,000 write operations + $4.50 per 1,000,000 operations
This is free and unencumbered software released into the public domain. | |
Anyone is free to copy, modify, publish, use, compile, sell, or | |
distribute this software, either in source code form or as a compiled | |
binary, for any purpose, commercial or non-commercial, and by any | |
means. | |
In jurisdictions that recognize copyright laws, the author or authors | |
of this software dedicate any and all copyright interest in the | |
software to the public domain. We make this dedication for the benefit |
import { | |
ActionContext, | |
ActionTree, | |
GetterTree, | |
MutationTree, | |
Module, | |
Store as VuexStore, | |
CommitOptions, | |
DispatchOptions, | |
} from 'vuex' |
import { | |
ActionContext, | |
ActionTree, | |
GetterTree, | |
MutationTree, | |
Module, | |
Store as VuexStore, | |
CommitOptions, | |
DispatchOptions, | |
} from 'vuex' |
Mute these words in your settings here: https://twitter.com/settings/muted_keywords | |
ActivityTweet | |
generic_activity_highlights | |
generic_activity_momentsbreaking | |
RankedOrganicTweet | |
suggest_activity | |
suggest_activity_feed | |
suggest_activity_highlights | |
suggest_activity_tweet |
/// <summary> | |
/// - Make sure you have a Grid GameObject (any GameObject with a Grid component attached to it) in the scene. | |
/// - Attach this script to the GameObject you wanna snap to the Grid. Then drag and drop the Grid | |
/// GameObject into the AttachedGrid field to create a reference to the Grid component attached to it. | |
/// - Enter Play Mode, and then every time you hit the Space key, this GameObject will move 1 unit | |
/// down along the Y axis, while remaining snapped to the Grid. | |
/// </summary> | |
using System.Collections; | |
using System.Collections.Generic; |
/* @flow */ | |
type Result<T> = { | |
result: boolean, | |
payload: T | |
} | |
type Conditional<T> = { | |
type: 'conditional', | |
exec(T): Result<T> |
@echo on | |
REM checked for Windows 10 | |
REM fork from https://gist.github.com/theultramage/cbdfdbb733d4a5b7d2669a6255b4b94b | |
REM you may want full list https://gist.github.com/raspi/203aef3694e34fefebf772c78c37ec2c | |
REM SET attrib=+ATTRIB_HIDE | |
SET attrib=-ATTRIB_HIDE | |
REM Hard disk burst ignore time | |
powercfg -attributes 0012ee47-9041-4b5d-9b77-535fba8b1442 80e3c60e-bb94-4ad8-bbe0-0d3195efc663 %attrib% |
https://gist.github.com/ljharb/58faf1cfcb4e6808f74aae4ef7944cff
While attempting to explain JavaScript's reduce
method on arrays, conceptually, I came up with the following - hopefully it's helpful; happy to tweak it if anyone has suggestions.
JavaScript Arrays have lots of built in methods on their prototype. Some of them mutate - ie, they change the underlying array in-place. Luckily, most of them do not - they instead return an entirely distinct array. Since arrays are conceptually a contiguous list of items, it helps code clarity and maintainability a lot to be able to operate on them in a "functional" way. (I'll also insist on referring to an array as a "list" - although in some languages, List
is a native data type, in JS and this post, I'm referring to the concept. Everywhere I use the word "list" you can assume I'm talking about a JS Array) This means, to perform a single operation on the list as a whole ("atomically"), and to return a new list - thus making it mu