/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
import { ajax, AjaxConfig, AjaxResponse } from 'rxjs/ajax'; | |
import { from, Observable, of, OperatorFunction, switchMap } from 'rxjs'; | |
export type BeforeInterceptors = (config: AjaxConfig) => Promise<AjaxConfig> | AjaxConfig | Observable<AjaxConfig>; | |
export type AfterInterceptors<T extends any = any> = (response: AjaxResponse<T>) => Observable<AjaxResponse<T>> | AjaxResponse<T> | Promise<AjaxResponse<T>>; | |
const BEFORE_INTERCEPTORS: BeforeInterceptors[] = []; | |
const AFTER_INTERCEPTORS: AfterInterceptors[] = []; | |
interface ConfigInterceptor { |
# fly.toml file generated for still-snowflake-6351 on 2023-03-30T09:53:40+08:00 | |
kill_signal = "SIGINT" | |
kill_timeout = 5 | |
primary_region = "sin" | |
processes = [] | |
[build] | |
image = "bayedev/opencatd" |
*://bleepcoder.com/* | |
*://githubja.com/* | |
*://*.gitmemory.com/* | |
*://giters.com/* | |
*://githubmemory.com/* | |
*://code-examples.net/* | |
*://kotaeta.com/* | |
*://code.i-harness.com/* | |
*://living-sun.com/* | |
*://tutorialmore.com/* |
🎉 Merged PR #50 in sinchang/vstar | |
🎉 Merged PR #49 in sinchang/vstar | |
❗️ Closed issue #1 in kujitegemea/language-colors | |
❗️ Opened issue #1 in kujitegemea/language-colors | |
❌ Closed PR #1 in sinchang/wiki |
'use strict' | |
/** | |
* https://github.com/Rokid/NextForum/blob/master/server.js | |
*/ | |
const fs = require('fs') | |
const path = require('path') | |
const https = require('https') | |
const app = require('express')() | |
const targetHost = process.env.API_URL |
/* | |
* Taken from http://stackoverflow.com/questions/5867534/how-to-save-canvas-data-to-file/5971674#5971674 | |
*/ | |
var fs = require('fs'); | |
// string generated by canvas.toDataURL() | |
var img = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABUAAAAFdCAYAAADCAcdtAAAgAElEQVR4XuydB5hdVbn+37XLKdNnkkx6D4SEFKog0ptSVQSuwLVfBJWr+FesINxLUUQpylVAiiDSe6/SBJEaTCCBhPQ+M5l+2i7r/7zrzJoMYYZkMJNMMt++z9xzcuacXX5rz/D4m/f7PhXHsYZsQkAIbBUCSqlNPq5GDOgYqpBBy+N/Rcv9FyCZjJHxfJQErfDDJLROQ8NB7GagnQLcOAGtgOWqGjPPuR1x7VRoz4Wr2xGqFCK48IufAMBzcTb5fOSNQmBbJ6B68wO4rV+snL8QEAJCQAgIASEgBISAEBACQmAAE1AiQAfw6sulb3UCvfEvIkC3+nLJCWxnBESAbmcLKpcjBISAEBACQkAICAEhIASEgBDogYAIULk1hMBWJCACdCvCl0MPeAIiQAf8LSAAhIAQEAJCQAgIASEgBISAEBggBESADpCFlsvsnwREgPbPdZGzGhgERIAOjHWWqxQCQkAICAEhIASEgBAQAkJACIgAlXtACGxFAiJAtyJ8OfSAJyACdMDfAgJACAgBISAEhIAQEAJCQAgIgQFCQAToAFloucz+SUAEaP9cFzmrgUFABOjAWGe5SiEgBISAEBACQkAICAEhIASEgAhQuQeEwFYkIAJ0K8KXQw94AiJAB/wtIACEgBAQAkJACAgBISAEhIAQGCAERIAOkIWWy+yfBESA9s91kbMaGAREgA6MdZarFAJCQAgIASEgBISAEBACQkAIiACVe0AIbEUCIkC3Inw59IAnIAJ0wN8 |
[ | |
{ | |
"id": "atlassian.atlascode", | |
"name": "atlascode", | |
"publisher": "atlassian", | |
"version": "2.8.3" | |
}, | |
{ | |
"id": "be5invis.vscode-custom-css", | |
"name": "vscode-custom-css", |
https://github.com/djvirgen/virgen-acl Simple and elegant, create your own checks. No middleware?
https://github.com/OptimalBits/node_acl Use as middleware, create your own roles and access. Great choice.
https://github.com/tschaub/authorized Similar to connect roles... but a bit more robust? you can create roles and action, and associate many roles with that action
<section id="wrapper"> | |
<div class="videoContainer"> | |
<video id="myVideo" controls preload="auto" poster="http://simplypx.com/images/vp_poster.jpg" width="380" > | |
<source src="http://simplypx.com/images/Prometheus.mp4" type="video/mp4" /> | |
<p>Your browser does not support the video tag.</p> | |
</video> | |
<div class="caption">Prometheus</div> | |
<div class="control"> | |
<div class="btmControl"> |