See Configuring NGINX to accept the PROXY Protocol - NGINX
upstream wsserver {
server 127.0.0.1:9000;
}
public class CheckBoxAdapter extends BaseAdapter { | |
@Override | |
public int getCount() { | |
return 0; | |
} | |
@Override | |
public Object getItem(int position) { | |
return null; | |
} |
var fs = require('fs'); | |
var url = require('url'); | |
var https = require('https'); | |
var exec = require('child_process').exec; | |
var simpleGit = require('simple-git')(); | |
var archiver = require('archiver'); | |
var token = '[Your GitHub OAuth Token]'; | |
var file_name = './deploy'; | |
var version = '122632'; |
public class UserTable { | |
public int user_pk { get; set; } | |
public int user_age { get; set; } | |
public string user_name { get; set; } | |
public Datetime user_birth { get; set; } | |
public UserGenderFlag user_gender { get; set; } | |
} | |
public enum UserGenderFlag { | |
Man, |
protected override void Initialize(RequestContext requestContext) | |
{ | |
base.Initialize(requestContext); | |
string domain = Dns.GetHostEntry(this.Request.UserHostName).HostName; | |
string[] segments = domain.Split('.'); | |
string subdomain = ""; | |
if(segments.Length >= 3) | |
{ | |
subdomain = segments[0]; |
See Configuring NGINX to accept the PROXY Protocol - NGINX
upstream wsserver {
server 127.0.0.1:9000;
}
using Amazon.CertificateManager | |
using Amazon.EC2 | |
using Amazon.ElasticLoadBalancingV2 | |
using Amazon.ElasticLoadBalancingV2.Model | |
using System.Net.Http | |
using System.Threading.Tasks | |
using System.Windows.Forms.DataVisualization.Charting | |
public class Program | |
{ |
begin { | |
$TargetPath = $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath(‘.\’) | |
iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1')) | |
choco install curl | |
$packages = @( ` | |
@{ Name = "webfarm.msi"; Url = "https://download.microsoft.com/download/F/E/2/FE2E2E07-22B5-4875-9A36-8B778D157F91/WebFarm2_x64.msi" }, ` | |
@{ Name = "rewrite.msi"; Url = "https://download.microsoft.com/download/6/7/D/67D80164-7DD0-48AF-86E3-DE7A182D6815/rewrite_2.0_rtw_x64.msi" }, ` | |
@{ Name = "arr.msi"; Url = "https://download.microsoft.com/download/E/9/8/E9849D6A-020E-47E4-9FD0-A023E99B54EB/requestRouter_amd64.msi" } | |
) |
class TestModel | |
{ | |
public int columnA; | |
public int columnB; | |
public int columnC; | |
public string columnD; | |
} | |
[HttpPost] | |
public JsonResult ModelLoad() |
# this is only for examination. | |
query = "SELECT * from information_schema.tables" | |
cursor.execute(query) | |
# why we must use those logic more. | |
columns = cursor.description | |
result = [] | |
for value in cursor.fetchall(): | |
tmp = {} |
# First of all, You must fetch your repository infomations for install latest package version. | |
brew update | |
brew install zsh |