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
import UIKit | |
import Alamofire | |
class ViewController: UIViewController { | |
@IBOutlet weak var viewLabel: UILabel! | |
@IBOutlet weak var sendBtn: UIButton! | |
@IBOutlet weak var inputTxt: UITextField! |
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
class ViewController: UIViewController { | |
@IBOutlet weak var viewLabel: UILabel! | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
// NotificationCenterを使用して、フォアグラウンドに移った時に指定のメソッドを実行する | |
NotificationCenter.default.addObserver(self, selector: #selector(ViewController.didForeground), name: NSNotification.Name.UIApplicationWillEnterForeground, object: nil) | |
} |
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
using System; | |
using System.Reflection; | |
using Prism.Unity; | |
using Alermer.Views; | |
using Prism.Mvvm; | |
using Xamarin.Forms; | |
namespace Alermer | |
{ | |
public partial class App : PrismApplication |
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
## EPELリポジトリの追加 | |
sudo yum -y install epel-release | |
## アクセス可能ホストの設定 | |
sudo cp /etc/hosts.allow /etc/hosts.allow_日付 | |
sudo vi /etc/hosts.allow | |
## 以下を追加 | |
sshd: 192.168.1. |
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
//Web サーバーが Listen する IP アドレス | |
var LISTEN_IP = '127.0.0.1'; | |
//Web サーバーが Listen する ポート | |
var LISTEN_PORT = 8080; | |
//ファイル名が指定されない場合に返す既定のファイル名 | |
var DEFAULT_FILE = "index.html"; | |
var http = require('http'), | |
fs = require('fs'); |
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
<?xml version='1.0' encoding='utf-8'?> | |
<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<settings pass="offlineServicing"> | |
<component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> | |
<ComputerName>nano-sv</ComputerName> | |
</component> | |
</settings> | |
<settings pass="oobeSystem"> |
NewerOlder