Ctrl + Alt + Space
Discover gists
The package that linked you here is now pure ESM. It cannot be require()
'd from CommonJS.
This means you have the following choices:
- Use ESM yourself. (preferred)
Useimport foo from 'foo'
instead ofconst foo = require('foo')
to import the package. You also need to put"type": "module"
in your package.json and more. Follow the below guide. - If the package is used in an async context, you could use
await import(…)
from CommonJS instead ofrequire(…)
. - Stay on the existing version of the package until you can move to ESM.
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
[versions] | |
accompanist = "0.29.2-rc" | |
androidGradlePlugin = "7.4.2" | |
androidxComposeBom = "2023.01.00" | |
androidxComposeCompiler = "1.4.6" | |
androidxCore = "1.10.0-rc01" | |
androidMaterial = "1.9.0-alpha02" | |
androidxAppCompat = "1.7.0-alpha02" | |
androidxActivity = "1.7.1" | |
markdownDependency = "0.3.2" |
Author:李 理
部分代码来源于网络,所有原创文章采用知识共享署名-非商业性使用 4.0 国际许可协议进行许可。可以自由的转载和修改,但请务必注明文章来源并且不可用于商业目的。
##Windows users:
- Download wamp: http://www.wampserver.com/en/
- Download and extract cmder mini: https://github.com/cmderdev/cmder/releases/download/v1.1.4.1/cmder_mini.zip
- Update windows environment variable path to point to your php install folder (inside wamp installation dir) (here is how you can do this http://stackoverflow.com/questions/17727436/how-to-properly-set-php-environment-variable-to-run-commands-in-git-bash)
cmder will be refered as console
##Mac Os, Ubuntu and windows users continue here:
- Create a database locally named
homestead
utf8_general_ci
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
export function parse(lisp: string) { | |
const lexer = /"[^"]*"|\(|\)|[^\s()]+/g; | |
const ts = lisp.match(lexer)!; | |
let i = 0 | |
const rec = () => { | |
let prg: any = undefined | |
while (i < ts.length) { | |
if (ts[i] === '(') { | |
if (!prg) { |
(https://github.com/sandino/Markdown-Cheatsheet) (перевод, оригинал)
Поиграть с разметкой Markdown можно на демо-странице.
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
https://github.com/nuvious/pam-duress | |
A Pluggable Authentication Module (PAM) which allows the establishment of alternate passwords that can be used to perform actions to clear sensitive data, notify IT/Security staff, close off sensitive network connections, etc if a user is coerced into giving a threat actor a password. | |
https://github.com/uber/pam-ussh | |
uber's ssh certificate pam module | |
https://github.com/Yubico/yubico-pam | |
Yubico Pluggable Authentication Module (PAM) | |
https://github.com/hamzasood/pam_touchid |
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
#!/usr/bin/env python3 | |
from decimal import Decimal | |
import re | |
import yaml | |
from yaml.composer import Composer | |
from yaml.constructor import SafeConstructor | |
from yaml.parser import Parser | |
from yaml.reader import Reader | |
from yaml.resolver import BaseResolver, Resolver as DefaultResolver |
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
#!/usr/bin/env bash | |
0x0() { | |
case "${1}" in | |
"s") | |
shift | |
local url=`curl --silent -F"shorten=${1}" https://0x0.st | sed 's/\n//'` | |
echo -n "${url}" | |
;; | |
"u") |
NewerOlder