nix-env -i -f ./default.nix
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 time | |
import keyring | |
import keyring.errors | |
from getpass import getpass | |
import json | |
import boto3 | |
class LazyS3Client: | |
def __init__(self): |
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
{ config, lib, pkgs, ... }: | |
let | |
libCrypto = with pkgs; stdenv.mkDerivation rec { | |
name = "${pname}-${version}"; | |
pname = "minecraft-bedrock-server-libcrypto"; | |
version = "1.16-201.02"; | |
src = fetchurl { | |
url = "https://minecraft.azureedge.net/bin-linux/bedrock-server-1.16.201.02.zip"; |
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
# Parse a yarn.lock file using pure Nix | |
# yarn.lock v1 files are basically YAML with support for having multiple keys for a single value in a map and without array support. | |
# Inspired by https://github.com/yarnpkg/yarn/blob/158d96dce95313d9a00218302631cd263877d164/src/lockfile/parse.js | |
with builtins; | |
let | |
# Add index to a list of elements | |
enumerate = list: genList (i: ({ inherit i; e = elemAt list i; })) (length list); | |
mkToken = type: value: { inherit type value; }; | |
parseLockfile = str: let |
I hereby claim:
- I am olebedev on github.
- I am ole6edev (https://keybase.io/ole6edev) on keybase.
- I have a public key ASBG9e39P1XIcu91VeAIBbpqHDf-ZTAlmwPz9XC8YG6GTgo
To claim this, I am signing this object:
See also:
Service | Type | Storage | Limitations |
---|---|---|---|
Amazon DynamoDB | 25 GB | ||
Amazon RDS | |||
Azure SQL Database | MS SQL Server | ||
👉 Clever Cloud | PostgreSQL, MySQL, MongoDB, Redis | 256 MB (PostgreSQL) | Max 5 connections (PostgreSQL) |
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
{ fetchurl, fetchgit }: | |
self: | |
super: | |
let | |
registries = { | |
yarn = n: | |
v: | |
"https://registry.yarnpkg.com/${n}/-/${n}-${v}.tgz"; | |
npm = n: | |
v: |
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
'use strict'; | |
Object.defineProperty(exports, '__esModule', { value: true }); | |
const handler = async (event, context) => { | |
return { | |
ok: true, | |
event, | |
context, | |
}; |
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
.apikey |
NewerOlder