同样的问题http://stackoverflow.com/questions/10862256/how-to-make-facebook-comment-box-width-100
我尝试了所有的答案,但它不再起作用了.看起来Facebook改变了一些东西.
xmllint
使用http://somesite.xml可以正常工作
但它不适用于https://somesite.xml
xmllint https://somesite.xml
warning: failed to load external entity "https://somesite.xml"
Run Code Online (Sandbox Code Playgroud) 如何删除中的单词INSERT mode
?我通常使用CTRL + W从光标删除到前一个单词的开头.是否有一条捷径可以做同样但方向相反的方向?
我用fzf(模糊查找器)找到了git示例,它们确实很好用.喜欢:
# fbr - checkout git branch
fbr() {
local branches branch
branches=$(git branch -vv) &&
branch=$(echo "$branches" | fzf +m) &&
git checkout $(echo "$branch" | awk '{print $1}' | sed "s/.* //")
}
# fbr - checkout git branch (including remote branches)
fbr() {
local branches branch
branches=$(git branch --all | grep -v HEAD) &&
branch=$(echo "$branches" |
fzf-tmux -d $(( 2 + $(wc -l <<< "$branches") )) +m) &&
git checkout $(echo "$branch" …
Run Code Online (Sandbox Code Playgroud) 我有一个创建文章的ID,我也可以通过GET方法获得文章的状态:
{article_id}?access_token={access_token}
Run Code Online (Sandbox Code Playgroud)
我收到如下回复:
{
"id": {article_id},
"status": "SUCCESS"
}
Run Code Online (Sandbox Code Playgroud)
但是当我尝试使用相同的参数删除DELETE方法的文章时,我得到了这样的响应:
{
"error": {
"message": "(#240) Requires a valid user to be specified (either via the session or via the API parameter for specifying the user.",
"type": "OAuthException",
"code": 240,
"fbtrace_id": "GsXXXXBjq"
}
}
Run Code Online (Sandbox Code Playgroud)
一切都是根据文档完成的.
我正在使用v2.6
图形版本whit这个权限:
publish_pages, pages_manage_instant_articles, manage_pages
Run Code Online (Sandbox Code Playgroud)
我使用的页面令牌没有过期,我是通过@ Simon.Ponder的回答得到的.
我有应用程序和页面的唯一一个管理员用户.
怎么解决?
例如,我有一些文字:
'y' to substitute this match
'l' to substitute this match and then quit ("last")
'n' to skip this match
<Esc> to quit substituting
'a' to substitute this and all remaining matches {not in Vi}
'q' to quit substituting {not in Vi}
Run Code Online (Sandbox Code Playgroud)
通过:%s/substitute/sub/gc
我可以交互式搜索/替换.如果我按'n'进入下一个匹配的模式,我怎么能撤消'n'?或向后搜索?
在通常的搜索模式中,/search_word
我们可以跳过"n","N"是否有类似的替代 - :%s/substitute/sub/gc
?
我的数据看起来像这样:
??,vowel
??,note, remarks, NB
???,,fundamental form, basic form, basic pattern, basic model, basic type, prototype
??,,the defensive, passive attitude, passivity, passiveness, the passive, passive voice, ukemi (the art of falling safely)
???,passive voice, passive form
??,negation, denial, repudiation, NOT operation
???,irregularity, unsteadiness, disorderly
Run Code Online (Sandbox Code Playgroud)
如何替换除每行之外的每个事件?
,
除了第一次出现在每一行之外,我想更换,
每一行.
结果:
??,vowel
??,noteREPLACED remarksREPLACED NB
???,REPLACEDfundamental formREPLACED basic formREPLACED basic patternREPLACED basic modelREPLACED basic typeREPLACED prototype
??,REPLACEDthe defensiveREPLACED passive attitudeREPLACED passivityREPLACED passivenessREPLACED the passiveREPLACED passive voiceREPLACED ukemi (the art of falling …
Run Code Online (Sandbox Code Playgroud) 我通过以下方式上传文件夹/文件:
aws s3 cp files s3://my_bucket/
aws s3 cp folder s3://my_bucket/ --recursive
Run Code Online (Sandbox Code Playgroud)
有没有办法返回/回滚到以前的版本?
像 git revert 或类似的东西?
更新:这里是我上传了 4 次的测试文件。
如何进入以前的版本(使其成为“最新版本”)
例如使这个“Jan 17, 2018 12:48:13”或“Jan 17, 2018 12:24:30”成为“最新版本”而不是在gui中而是通过使用命令行?
通过命令将其部署到服务器后:
bin/dep deploy
Run Code Online (Sandbox Code Playgroud)
在“ releases
”文件夹我有一个名为文件夹喜欢1
,2
,3
,...
我如何将其更改为时间戳,所以在部署命令之后,我将得到类似这样的信息,20160425120500
而不是1
bin/dep --version
Deployer 6.0.5
Run Code Online (Sandbox Code Playgroud) 我正在使用laradock
并且可以在浏览器中访问该页面,http://localhost:8088/api/getakicks/get
没有任何问题。
但是当我尝试在控制器中访问它时,我收到此错误:
GuzzleHttp \ Exception \ ConnectException cURL错误7:无法连接到本地主机端口8088:连接被拒绝
我使用的代码:
$client = new \GuzzleHttp\Client();
// Set various headers on a request
$client->request('GET', 'http://localhost:8088/api/getakicks/get');
Run Code Online (Sandbox Code Playgroud)