View ddsk.cs
This file contains 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.Collections.Generic; | |
using System.Linq; | |
const int MaxAttempts = 100; | |
foreach (var s in GenerateDdsk().DoWhile(x => !x.LoveInjected).Take(MaxAttempts).Select(x => x.Ddsk)) | |
{ | |
Console.WriteLine(s); | |
} |
View sources.list
This file contains 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
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to | |
# newer versions of the distribution. | |
deb mirror+http://mirrors.ubuntu.com/mirrors.txt focal main restricted | |
# deb-src mirror+http://mirrors.ubuntu.com/mirrors.txt focal main restricted | |
## Major bug fix updates produced after the final release of the | |
## distribution. | |
deb mirror+http://mirrors.ubuntu.com/mirrors.txt focal-updates main restricted | |
# deb-src mirror+http://mirrors.ubuntu.com/mirrors.txt focal-updates main restricted |
View asciidoc-static.adoc
There are 19 static site generators that support AsciiDoc sourcing.
View Get-CommandParameter.ps1
This file contains 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 Get-CommandParameter { | |
param( | |
[Parameter(Mandatory, Position = 0, ValueFromPipeline)] | |
[string] $Name, | |
[ValidateNotNullOrEmpty()] | |
[string[]] $ParameterSetName = @(), | |
[switch] $IncludeCommonParameters) |
View AwsPortForwarding.ps1
This file contains 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 Start-AwsPortForwarding { | |
param( | |
[Parameter(Mandatory, Position = 0)] | |
[string] $TargetInstanceId, | |
[Parameter(Mandatory)] | |
[int] $RemotePort, | |
View JenkinsBuildTimeSummary.groovy
This file contains 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
Jenkins.get().allItems.findAll { | |
it instanceof hudson.model.Job<?, ?> | |
}.each { | |
def build = it.lastBuild | |
while (true) { | |
if (build == null) { break } | |
if (build.timestamp.get(Calendar.MONTH) <= Calendar.MARCH) { break } |
View 研修資料まとめ.md
エンジニア向け研修
- DMM.com(旧DMM.comラボ含む)
- DMM.comラボ16新卒エンジニア研修 - (2016/08/24)
- DMM.comの新卒技術研修がスタートしました! - (2019/04/25)
- GMOインターネット
- 「Web 基礎」という講義をしました - (2019/05/17)
- GMOペパボ
- 2013 年の新卒研修メニュー
- ペパボ新卒エンジニアの研修を開始している - (2013/05)
- 第二新卒研修をしていた - (2014/08)
View PowerShellGet.format.ps1xml
This file contains 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"?> | |
<?xml-model href="https://raw.githubusercontent.com/aetos382/Aerie.PowerShell.Schemas/master/PowerShellFormatDefinitions.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?> | |
<?xml-model href="https://raw.githubusercontent.com/aetos382/Aerie.PowerShell.Schemas/master/PowerShellFormatDefinitions.sch" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?> | |
<Configuration> | |
<ViewDefinitions> | |
<View> | |
<Name>PSRepositoryItemInfoTableView</Name> | |
<ViewSelectedBy> | |
<TypeName>Microsoft.PowerShell.Commands.PSRepositoryItemInfo</TypeName> | |
</ViewSelectedBy> |
View Remove-Aliases-For-PowerShell51.ps1
This file contains 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
$aliasesToRemove = @( | |
'ac', 'chdir', 'clc', 'clhy', 'cli', 'clp', 'clv', 'cnsn', 'cpi', 'cpp', | |
'curl', 'cvpa', 'dbp', 'dnsn', 'ebp', 'epal', 'epcsv', 'erase', 'etsn', | |
'exsn', 'fc', 'fhx', 'foreach', 'gal', 'gbp', 'gc', 'gcm', 'gcs', 'gdr', | |
'ghy', 'gi', 'gjb', 'gl', 'gmo', 'gp', 'gps', 'gpv', 'group', 'gsn', | |
'gsv', 'gu', 'gv', 'h', 'ihy', 'ii', 'ipal', 'ipcsv', 'ipmo', 'irm', | |
'iwr', 'measure', 'mi', 'mp', 'nal', 'ndr', 'ni', 'nmo', 'nsn', 'nv', | |
'oh', 'r', 'rbp', 'rcjb', 'rcsn', 'rdr', 'ri', 'rjb', 'rmo', 'rni', 'rnp', | |
'rp', 'rsn', 'rv', 'rvpa', 'sajb', 'sal', 'saps', 'sasv', 'sc', 'sbp', | |
'si', 'sl', 'sls', 'sp', 'spjb', 'spps', 'spsv', 'sv', 'type', 'wget', |
NewerOlder