View math.md

Math

オイラーの公式 : $ e^{i\theta}=\cos\theta+i\sin\theta $

計算量 : $ O(1) < O(\log n) < O(n) > O(n \log n) < O(n^2) < O(n^3) < O(n^100) $ \ ------越えられない壁 ------ $ O(2^n), O(n!) $

$ O(1) < O(\log n) < O(n) > O(n \log n) < O(n^2) < O(n^3) < O(n^100) $ \\ 
------越えられない壁 ------ \\
$ O(2^n), O(n!) $
View update-golang.md

How to update the Go version

System: Debian/Ubuntu/Fedora. Might work for others as well.

1. Uninstall the exisiting version

As mentioned here, to update a go version you will first need to uninstall the original version.

To uninstall, delete the /usr/local/go directory by:

View nginx_ssl_server_name.md
View main.yml
---
# This playbook install docker
- name: Check kernel version.
fail: msg="Kernel {{ ansible_kernel }} is not supported."
when: "ansible_kernel is version_compare('3.10', '<')"
tags: docker
- name: apt-get install packages
apt: pkg={{ item }} state=present update_cache=yes
View Main.cs
void Main()
{
var sources = new[]
{
"<at>cibot</at><strong>すとろんぐ</strong>",
"<at>cibot</at><strong>すとろんぐ</strong>ほげもげ",
"ほげもげ<at>cibot</at><strong>すとろんぐ</strong>ほげもげ",
"<at>cibot</at> こんにちは\n",
"<at>cibot</at> <img alt=\"404 エラー - 見つかりません\" src=\"https://as-api.asm.skype.com/v1/objects/0-ea-d5-f9a6e7404b54cf7e36924f8e684d3e36/views/imgo\" id=\"x_0-ea-d5-f9a6e7404b54cf7e36924f8e684d3e36\" itemscope=\"\" itemtype=\"http://schema.skype.com/AMSImage\" style=\"width:375px; height:250px\">\n",
"<at>cibot</at>&nbsp;\n",
View ReplacePackageAppxManifest.ps1
$env:UWPOutputPath = "./UWP"
$env:BUILD_BUILDID = 0
$env:EnableSideload = "true"
$enableSideload = [bool]::Parse($env:EnableSideload)
$manifestVersionRegex = " Version=""\d+\.\d+\.\d+\.\d+"""
$versionRegex = "\d+\.\d+\.\d+\.\d+"
$manifestFiles = Get-ChildItem -LiteralPath $env:UWPOutputPath -Recurse -Filter "Package.appxmanifest"
foreach ($file in $manifestFiles){
View RegisterSumoSource.ps1
$user ="Input UserName"
$credential = Get-SumoCredential -User $user -force
$Collectors = Get-SumoApiCollectors -Credential $credential
$sets = @(
("LogName","LogPath","Desctiption"),
("LogName","LogPath","Desctiption")
)
View SumoUsage.ps1
$user ="Input UserName"
$credential = Get-SumoCredential -User $user -force
# Obtain Collectors
if (($collectors.Length -ne $null) -and ($(Read-Host "Do you want to get new collectors? (y/n)") -eq "y"))
{
Write-Verbose "Calling Sumo API to get current Collectors"
$Collectors = Get-SumoApiCollectors -Credential $credential
View Get-SumoApiCollectors.ps1
NAME
Get-SumoApiCollectors
SYNTAX
Get-SumoApiCollectors [[-CollectorIds] <string[]>] [[-CollectorUri] <string>] [[-RootUri] <string>] [-Credential] <pscredential> [<CommonParameters>]
PARAMETERS
-CollectorIds <string[]>
View Get-SumoCredential.ps1
NAME
Get-SumoCredential
SYNTAX
Get-SumoCredential [[-save] <string>] [-User] <string> [-force] [<CommonParameters>]
PARAMETERS
-User <string>