yum update
apt apgrade
yum list updated
apt list --upgradable
SystemNavigationManager.GetForCurrentView().AppViewBackButtonVisibility = AppViewBackButtonVisibility.Visible; ;
SystemNavigationManager.GetForCurrentView().BackRequested += (s, a) =>
{
if (Frame.CanGoBack)
{
Frame.GoBack();
a.Handled = true;
}
};
resolveを受けるまで待機する非同期処理って感じね
new Promiseではresolveかrejectを返す
resolveを受けると次のthenへ
rejectを受けるとcatchへ
Promise.resolve()
.then(function() {
return new Promise(function(resolve, reject) {
setTimeout(function() {
require 'spec_helper'
describe package('git') do
it { should be_installed }
end
describe package('httpd') do
it { should be_installed }
-- vim: ts=4 sw=4 noet ai cindent syntax=lua | |
--[[ | |
Conky, a system monitor, based on torsmo | |
Any original torsmo code is licensed under the BSD license | |
All code written since the fork of torsmo is licensed under the GPL | |
Please see COPYING for details |