- 通过
pip install pandora-chatgpt
安装依赖。 - 保存以下代码到
auto_pool_token.py
文件。 - 同目录新建文件
credentials.txt
一行一个账号密码。 - 账号和密码之间用
,
分隔,不需要额外的引号。 - 如果需要修改代理,
unique_name
等,自行修改再运行。 - 运行这个
auto_pool_token.py
。 - 你会看到运行进度,运行完成可看到
pool token
。 - 运行中间结果分别保存在同目录
tokens.txt
和share_tokens.txt
中。
prettier-eslint |
eslint-plugin-prettier |
eslint-config-prettier |
|
---|---|---|---|
它是什么 | 导出单个功能的JavaScript模块. | 一个 ESLint 插件. | 一个 ESLint 配置. |
它干了什么 | 用 prettier 处理代码(字符串),然后运行 eslint --fix . 输出仍然是字符串. |
插件通常包含 ESLint 将检查的其他规则。 此插件在内部使用 Prettier,并且当您的代码与 Prettier 的预期输出不同时,它将抛出 ESLint 错误。. | 此配置关闭了可能与 Prettier 冲突的与格式相关的规则,从而让你可以将 Prettier 与其他 ESLint 配置一起使用,如 eslint-config-airbnb . |
如何使用 | 要么写代码实现,要么通过 prettier-eslint-cli 用命令行实现. |
配置 .eslintrc . |
配置 .eslintrc . |
最终输出是否符合 Prettier 规范? | 取决于你的 ESLint 配置 | 是 | 是 |
是否需要单独运行 prettier 命令? |
否 | 否 | 是 |
是否还需要其他工具? | 否 | 你可能需要使用 eslint-config-prettier 来关闭有冲突的规则. |
否 |
This is the content from the original Phaser cheatsheet, the site of which went down. I'm editing outdated information as I come across it.
Reference: http://docs.phaser.io/Phaser.Game.html#Game
var game = new Phaser.Game(width, height, renderer, "parent");
//All parameters are optional but you usually want to set width and height
//Remember that the game object inherits many properties and methods!
This file contains hidden or 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
原帖地址: http://topic.csdn.net/u/20110113/19/b0d5d506-4307-428b-a61d-7974aa66a2da.html | |
首先要说明的是:这里介绍的方法都是大部分是本人“悟”出来的,所以网上难有流传! | |
好方法不能自己私藏,否则就白忙乎这几天了,分享给有需要的朋友们。如果有转载,敬请注明来自*CSDN老邓*作品。 | |
呵呵,给自己打广告,实在是无耻之极,权当无聊之时打字之用。 | |
欢迎流传,为最优秀的分布式版本管理系统Git做宣传!! | |
步骤: | |
1. 下载:http://loaden.googlecode.com/files/gitconfig.7z | |
2. 解压到:<MsysGit安装目录>/cmd/,例如:D:\Program Files\Git\cmd |
This file contains hidden or 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
{ | |
"vars": { | |
"@gray-base": "#000", | |
"@gray-darker": "lighten(@gray-base, 13.5%)", | |
"@gray-dark": "lighten(@gray-base, 20%)", | |
"@gray": "lighten(@gray-base, 33.5%)", | |
"@gray-light": "lighten(@gray-base, 46.7%)", | |
"@gray-lighter": "lighten(@gray-base, 93.5%)", | |
"@brand-primary": "darken(#428bca, 6.5%)", | |
"@brand-success": "#5cb85c", |
This file contains hidden or 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
{ | |
"vars": { | |
"@gray-base": "#000", | |
"@gray-darker": "lighten(@gray-base, 13.5%)", | |
"@gray-dark": "lighten(@gray-base, 20%)", | |
"@gray": "lighten(@gray-base, 33.5%)", | |
"@gray-light": "lighten(@gray-base, 46.7%)", | |
"@gray-lighter": "lighten(@gray-base, 93.5%)", | |
"@brand-primary": "darken(#428bca, 6.5%)", | |
"@brand-success": "#5cb85c", |
This file contains hidden or 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
// from https://github.com/benfrain/rwd/blob/master/ch3/example_03-02/main.js | |
// This debounce function (via: https://remysharp.com/2010/07/21/throttling-function-calls) merely stops functioned firing too often on repetitive events (such as resize/scroll) | |
function debounce(fn, delay) { | |
var timer = null; | |
return function () { | |
var context = this, args = arguments; | |
clearTimeout(timer); | |
timer = setTimeout(function () { | |
fn.apply(context, args); |