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
| [CmdletBinding()] | |
| param ( | |
| [Parameter( | |
| Mandatory = $true, | |
| Position = 0)] | |
| [int] | |
| $ParallelCount, | |
| [Parameter( | |
| Mandatory = $true, |
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
| [CmdletBinding()] | |
| param ( | |
| [Parameter(Mandatory = $true)] | |
| [ValidateNotNullOrEmpty()] | |
| [psobject] | |
| # SQL Serverのインスタンス | |
| $ServerInstance, | |
| [Parameter(Mandatory = $true)] | |
| [string] |
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
| function Sort-Naturally { | |
| [CmdletBinding()] | |
| param ( | |
| [Parameter( | |
| ValueFromPipeline = $true)] | |
| [object] | |
| $InputObject, | |
| [Parameter( | |
| Position = 0)] |
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 static java.nio.file.StandardCopyOption.REPLACE_EXISTING; | |
| import static java.nio.file.StandardOpenOption.CREATE; | |
| import static java.nio.file.StandardOpenOption.CREATE_NEW; | |
| import static java.nio.file.StandardOpenOption.TRUNCATE_EXISTING; | |
| import static java.nio.file.StandardOpenOption.WRITE; | |
| import java.io.File; | |
| import java.io.IOException; | |
| import java.io.InputStream; | |
| import java.io.OutputStream; |
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
| # beep音を無効化 | |
| Set-PSReadlineOption -BellStyle None | |
| function TextEncodingsArgumentCompleter { | |
| [OutputType([System.Management.Automation.CompletionResult])] | |
| param( | |
| [string] $CommandName, | |
| [string] $ParameterName, | |
| [string] $WordToComplete, | |
| [System.Management.Automation.Language.CommandAst] $CommandAst, |
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
| *://udemy.benesse.co.jp/* | |
| *://www.udemy.com/* | |
| *://www.sejuku.net/* | |
| *://www.pasonatech.co.jp/* | |
| *://tech-camp.in/* | |
| *://career.levtech.jp/* | |
| *://techacademy.jp/* |
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 java.nio.ByteBuffer; | |
| import java.nio.file.Files; | |
| import java.nio.file.Paths; | |
| import java.nio.file.StandardOpenOption; | |
| public class CountLines { | |
| private static final int MAX_BUFFER_SIZE = 1024 * 1024; | |
| public static void main(String[] args) throws Exception { | |
| if (args.length < 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
| [OutputType("System.Array")] | |
| [CmdletBinding()] | |
| param ( | |
| [Parameter(Mandatory, ValueFromPipeline)] | |
| [psobject]$InputObject, | |
| [Parameter(Mandatory, Position = 0)] | |
| [int]$Size, | |
| [Parameter()] |
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
| # Requires -Version 7.1 | |
| [CmdletBinding()] | |
| param ( | |
| [Parameter(Mandatory)] | |
| [string] | |
| $SrcDir, | |
| [Parameter(Mandatory)] | |
| [string] |
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
| // Angular Flex-Layout の代替 | |
| [fxLayout] { | |
| box-sizing: border-box; | |
| display: flex; | |
| } | |
| [fxLayout^='row'] { | |
| flex-direction: row; | |
| } |