Skip to content

Instantly share code, notes, and snippets.

View guitarrapc's full-sized avatar
:octocat:

Ikiru Yoshizaki guitarrapc

:octocat:
View GitHub Profile
@l15n
l15n / git-branches-by-commit-date.sh
Created July 13, 2012 08:47 — forked from jasonrudolph/git-branches-by-commit-date.sh
List remote Git branches and the last commit's author and author date for each branch. Sort by most recent commit's author date.
# Credit http://stackoverflow.com/a/2514279
for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ai %ar by %an" $branch | head -n 1` \\t$branch; done | sort -r
@kenjiskywalker
kenjiskywalker / nginx_ssl_server_name.md
Last active February 18, 2024 21:11
nginxのserver_nameとSSLの設定についてのメモ
@altrive
altrive / PowerShellv4_DynamicKeyword.md
Last active August 3, 2023 02:28
Test code of PowerShell v4 Dynamic Keyword

Define DynamicKeyword

Define DynamicKeyword 'ExecTest'

Note: Don't copy&paste from following code. PowerShell SyntaxHighlighter remove some lines. Instead, use RAW view.

#Requires -Version 4.0
Set-StrictMode -Version Latest

#WindowsでPHP開発すると生きるのがつらいのを軽減する方法 Web PIと WebMatrix を使いましょう。ApacheはやめてIISにしましょう。

つらみが解決されるか?というと、そんなことはないでしょうね。 そのたびに、「××がやりたいだけなのにできない○○なんて糞」と大声で言えば、多量のノイズと少量の有益な情報が速やかに集まるので、それはそれでいいんじゃないのかと思います。ストレス解消にもなるし、DIS上等ですよね。

(こっちにも追記) こんな日本語ドキュメントがあるんだから、MSには金あるよねー。PHP on Windows ガイドライン

@soarez
soarez / ca.md
Last active May 3, 2024 00:04
How to setup your own CA with OpenSSL

How to setup your own CA with OpenSSL

For educational reasons I've decided to create my own CA. Here is what I learned.

First things first

Lets get some context first.

@sunnyone
sunnyone / UseLayoutRounding.psm1
Last active August 29, 2015 14:04
A script sharpens PowerShell ISE
# Install (simple way)
# Write this code to "%USERPROFILE%\Documents\WindowsPowerShell\Microsoft.PowerShellISE_profile.ps1"
# Install (module way)
# Place this script to "%USERPROFILE\Documents\WindowsPowerShell\Modules\UseLayoutRounding\UseLayoutRounding.psm1" and
# write "Import-Module UseLayoutRounding" to Microsoft.PowerShellISE_profile.ps1
Add-Type -TypeDefinition @"
using System;
using System.Collections.Generic;
using System.Reflection;
@Flafla2
Flafla2 / Perlin_Tiled.cs
Last active April 27, 2024 19:43
A slightly modified implementation of Ken Perlin's improved noise that allows for tiling the noise arbitrarily.
public class Perlin {
public int repeat;
public Perlin(int repeat = -1) {
this.repeat = repeat;
}
public double OctavePerlin(double x, double y, double z, int octaves, double persistence) {
double total = 0;
@taea
taea / how-to-esa.md
Last active March 4, 2022 00:42
esaのつかいかた(\( ⁰⊖⁰)/)

esa.io のつかいかた

Save as WIP Ship it! ボタンについて

esa-man.jpg

Save as WIP ボタン

  • 投稿画面、編集画面に Save as WIP というボタンがあります。これを押すと、「書き途中だけど保存して公開する」という意味になります。
  • WIP = Work in Progress (作業中)
  • Save as WIP で保存された記事は、一覧画面などの投稿タイトルに WIP と付いてグレーアウトした状態になります。
@jeremybeavon
jeremybeavon / PowershellLinqSupport.cs
Last active July 28, 2021 23:50
Powershell LINQ Support
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
public static class PowershellLinqSupport
{
/// <example>[PowershellLinqSupport]::Range(1, 4)</example>
public static PowershellLinqSupport<int> Range(int start, int count)
@voluntas
voluntas / webrtc.rst
Last active January 23, 2024 06:57
WebRTC の未来