我正在尝试更新我的PHP(目前v:5.3.3到最新稳定的PHP版本),但它不是在玩球而且它说没有什么可以更新的.
任何帮助都会有用.
继续说:
没有标记为更新的包
我正在尝试在我的离子应用程序中实现disqus提交.我知道我必须在域上托管它,我认为我已经正确配置了它.任何援助都将受到欢迎
这是我的app.js中离子应用程序的代码
$scope.showComments = function () {
$scope.currentView = "comments";
//loadComments(params["shortname"], params["url"], params["title"], params["identifier"]);
//
var disqus_title = "Venue 1";
var disqus_identifier = '/venue/' + $stateParams.id;
var disqus_url = 'liverpool.li/venue/' + $stateParams.id;
var url = "http://liverpool.li/app/disqus.html?";
$scope.url = url + "shortname=liverpoolli&url=" + encodeURIComponent(disqus_url) +
"&title=" + encodeURIComponent(disqus_title) + "&identifier=" + encodeURIComponent(disqus_identifier);
$scope.url = $sce.trustAsResourceUrl($scope.url);
};
$scope.$on("$destroy", function () {
if ($scope.lastScriptElm && $scope.lastScriptElm.parentNode) {
$scope.lastScriptElm.parentNode.removeChild($scope.lastScriptElm);
$scope.lastScriptElm = null;
}
});
Run Code Online (Sandbox Code Playgroud)
它指向的页面(disqus.html)位于我的域中
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> …Run Code Online (Sandbox Code Playgroud) 我在iOS 9测试版上运行我的离子应用程序,它运行正常 - 但是当我单击按钮将我带到下一个视图时,它将随机转到新视图,然后将我带回到上一个视图.有时,当我单击标题中的后退按钮时,它将转到上一个视图,然后再转发.
它在最新稳定版的iOS和Android上运行良好.
这是其他人在iOS 9 Beta中遇到过的吗?有修复吗?
我刚刚学习Python,我正在尝试让一个窗口全屏显示,我已经实现了,但我现在想去掉顶部的标题栏。它目前看起来如下图所示,但我希望它也能覆盖顶部的 Mac 顶部工具栏(如启动屏幕)。
from tkinter import *
root = Tk()
root.attributes('-fullscreen', True)
root.attributes('-topmost', True)
root.overrideredirect(True)
def quitApp():
# mlabel = Label (root, text = 'Close').pack()
root.destroy()
# placing the button on my window
button = Button(text = 'QUIT', command = quitApp).pack()
Run Code Online (Sandbox Code Playgroud) ionic ×2
centos6 ×1
cordova ×1
disqus ×1
fullscreen ×1
javascript ×1
macos ×1
php ×1
python ×1
python-2.7 ×1
tkinter ×1
yum ×1