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) |
// ==UserScript== | |
// @name Stay signed in to MS | |
// @description Automatically click "yes" on the Microsoft "stay signed in" page that keeps appearing. | |
// @downloadURL https://gist.github.com/emlyn/2f0c9702bd83fe7d232ed58626c90ac7/raw/ms_ssi.js | |
// @updateURL https://gist.github.com/emlyn/2f0c9702bd83fe7d232ed58626c90ac7/raw/ms_ssi.js | |
// @namespace https://gist.github.com/emlyn/ | |
// @version 0.6 | |
// @author Emlyn Corrin | |
// @match https://login.microsoftonline.com/* | |
// @match https://login.live.com/* |
const sleep = (delay) => new Promise((resolve) => setTimeout(resolve, delay)) | |
const repeatedGreetings = async () => { | |
await sleep(1000) | |
console.log("First") | |
await sleep(1000) | |
console.log("Second") | |
await sleep(1000) | |
console.log("Third") | |
} |
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) |
javascript: q = location.href; | |
q = q.replace(/[?&]utm_[^&]*/g, ""); | |
q = q.replace(/[?&]mc_[^&]*/g, ""); | |
q = q.replace(/[?&]src=[^&]*/g, ""); | |
q = q.replace(/[?&]ref=[^&]*/g, ""); | |
desc = ""; | |
if (document.getElementsByName("description").length > 0) { | |
desc = document.getElementsByName("description")[0].getAttribute("content") | |
"\n\n" | |
} else if (document.getElementsByName("Description").length > 0) { |
Slack doesn't provide an easy way to extract custom emoji from a team. (Especially teams with thousands of custom emoji) This Gist walks you through a relatively simple approach to get your emoji out.
If you're an admin of your own team, you can get the list of emoji directly using this API: https://api.slack.com/methods/emoji.list. Once you have it, skip to Step 3
HOWEVER! This gist is intended for people who don't have admin access, nor access tokens for using that list.
Follow along...
package ForkProve::SourceHandler; | |
use strict; | |
use parent qw(TAP::Parser::SourceHandler); | |
use Capture::Tiny qw(capture_stdout); | |
use File::Spec; | |
use TAP::Parser::IteratorFactory; | |
TAP::Parser::IteratorFactory->register_handler(__PACKAGE__); | |
sub can_handle { |
#!/usr/bin/env perl | |
use Mojolicious::Lite; | |
any '/upload' => sub { | |
my $self = shift; | |
# Check file size | |
return $self->render(text => 'File is too big.', status => 200) | |
if $self->req->is_limit_exceeded; |