This file was generated automatically based on this two sources:
- /etc/nginx/mime.types
- http://www.garykessler.net/library/file_sigs.html
This is a JSON object by following structure:
[string ext] : {
signs: [sign]
import path from 'path' | |
import fs from 'fs' | |
const __dirname = path.resolve() | |
const kRuleFolder = [ | |
'lib', | |
] | |
const kMatchRule = /^\/\/ Copyright \(C\)[\s\S]*s\/>\./ |
import { onMounted, ref, watch, computed } from "vue" | |
import { | |
getSyncPendings, | |
getSyncFinisheds, | |
getUploadPendings, | |
getUploadFinisheds, | |
getDownloadPendings, | |
getDownloadeds, | |
} from "@/shared/api/photoalbum" |
This file was generated automatically based on this two sources:
This is a JSON object by following structure:
[string ext] : {
signs: [sign]
[ | |
{ | |
"name": "玖玖资源站", | |
"logo": "", | |
"desc": "", | |
"nsfw": true, | |
"api": { | |
"root": "http://99zywcj.com", | |
"path": "/inc/ck.php" | |
} |
[ | |
{ | |
"id": 1, | |
"key": "okzy", | |
"name": "OK 资源网", | |
"api": "http://cj.okzy.tv/inc/api.php", | |
"download": "http://cj.okzy.tv/inc/apidown.php" | |
}, | |
{ | |
"id": 2, |
null |
import 'package:flutter/material.dart'; | |
class FadeIndexedStack extends StatefulWidget { | |
final int index; | |
final List<Widget> children; | |
final Duration duration; | |
const FadeIndexedStack({ | |
Key key, | |
this.index, |
Here is a high level overview for what you need to do to get most of an Android environment setup and maintained.
Prerequisites (for Homebrew at a minimum, lots of other tools need these too):
xcode-select --install
will prompt up a dialog)Install Homebrew:
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
import Cocoa | |
import MediaPlayer | |
let bundle = CFBundleCreate(kCFAllocatorDefault, NSURL(fileURLWithPath: "/System/Library/PrivateFrameworks/MediaRemote.framework")) | |
let MRMediaRemoteRegisterForNowPlayingNotificationsPointer = CFBundleGetFunctionPointerForName( | |
bundle, "MRMediaRemoteRegisterForNowPlayingNotifications" as CFString | |
) | |
typealias MRMediaRemoteRegisterForNowPlayingNotificationsFunction = @convention(c) (DispatchQueue) -> Void | |
let MRMediaRemoteRegisterForNowPlayingNotifications = unsafeBitCast(MRMediaRemoteRegisterForNowPlayingNotificationsPointer, to: MRMediaRemoteRegisterForNowPlayingNotificationsFunction.self) |
CREATE USER 'DB_USERNAME'@'localhost' IDENTIFIED BY 'DB_PASSWORD'; | |
GRANT USAGE ON * . * TO 'DB_USERNAME'@'localhost' IDENTIFIED BY 'DB_PASSWORD' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ; | |
CREATE DATABASE IF NOT EXISTS `DB_USERNAME` ; | |
GRANT ALL PRIVILEGES ON `DB_USERNAME` . * TO 'DB_USERNAME'@'localhost'; | |
#For connection from everywhere | |
GRANT USAGE ON * . * TO 'DB_USERNAME'@'%' IDENTIFIED BY 'DB_PASSWORD' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 | |
GRANT ALL PRIVILEGES ON `DB_USERNAME` . * TO 'DB_USERNAME'@'%'; |