Skip to content

Instantly share code, notes, and snippets.

@JunichiMuto
JunichiMuto / ExcelSearch.html
Last active October 25, 2016 07:01
Excel検索ツール
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<script language="JScript">
/**
Excel検索ツール
auther:J.Muto
リポジトリを作りました!!!
@BenNeise
BenNeise / Get-PCOIPStatsViaWMI.ps1
Created February 3, 2014 15:27
Powershell function to get PCOIP statistics gatherered via WMI from the target machine
Function Get-PCOIPStatsViaWMI {
<#
.Synopsis
Returns PCOIP statistics via WMI
.Description
This function displays PCOIP statistics gatherered via WMI from the
target machine
.Example

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

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

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

@kozy4324
kozy4324 / bundler_memo.md
Last active May 25, 2022 01:59
Bundlerめも

bundler

install

Gemfile(or Gemfile.lock)の記述に従って依存gemをシステムにインストール.

$ bundle install
@taichi
taichi / install_gitblit.md
Last active December 13, 2015 23:49
gitblit を ubuntu12.04.01 LTS にインストールした。(2013/02)

gitblit を ubuntu12.04.01 LTS にインストールした。(2013/02)

gitblit は、Javaのみで実装されたGitサーバプロセスです。

タスクトラッカやプルリクエストの様な機能はありません。
フェデレーションというリポジトリを自動的にコピーする為の高水準な機能や、
リポジトリへのアクセス権限を柔軟に設定出来る機能があります。
リポジトリへのアクセス権限設定をLDAPと上手く連携する事も出来ます。

@jimfdavies
jimfdavies / test-vsphere.rb
Last active September 28, 2018 14:06
Quick example for Fog VSphere provider. Lists VMs in a given folder in a given DC.
#!/usr/bin/env ruby
require 'rubygems'
require 'pp'
require 'fog'
require 'highline/import'
def get_password(prompt="Enter password:")
ask(prompt) {|q| q.echo = false}
end
@mydoghasworms
mydoghasworms / json_util.abap
Last active February 19, 2023 14:46
ABAP Utility class for mapping JSON to ABAP data and vice versa - Rather use https://gist.github.com/mydoghasworms/4888a832e28491c3fe47
* Rather use https://gist.github.com/mydoghasworms/4888a832e28491c3fe47
* The alternative is a better parser although it is not an emmitter)
*----------------------------------------------------------------------*
* CLASS json_util DEFINITION
*----------------------------------------------------------------------*
class json_util definition.
public section.
class-methods:
data_to_json importing data type any
returning value(json) type string,
@tily
tily / scaling_isomorphic_javascript_code.ja.markdown
Last active May 1, 2023 09:03
サバクラ両方で動く JavaScript の大規模開発を行うために

サバクラ両方で動く JavaScript の大規模開発を行うために

原文:Scaling Isomorphic Javascript Code (This is just for study, please contact me at tily05 atmark gmail.com if any problem.)

考えてみれば Model-View-Controller とか MVC ってよく聞くよね。実際どんなものか知ってる? 抽象的に言うなら「オブジェクト情報の保持されるグラフィック・システム (つまり、ラスターではないグラフィック。ゲームとか) 上に構築された、表示系を中心としたアプリケーションにおいて、主要な機能どうしの関わりをうまく分離すること」とでも言おうか。もう少し深く考えを押し進めてみれば、これは当然、他のさまざまなアプリケーションにもあてはまる言葉 (bucket term ?) だ。

過去に多くの開発コミュニティが MVC による解決案を提供し、それによってよくあるユースケースにうまく対処し、地位を築くことができた。例をあげるなら、Ruby や Python コミュニティは Rails や Django を作り、MVC アーキテクチャを実現した。

@uasi
uasi / vim.rb
Created November 30, 2010 16:46
Vim formula for Homebrew (EDIT: recent versions of official Homebrew distribution includes one)
require 'formula'
class Vim < Formula
homepage 'http://www.vim.org/'
url 'ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2'
head 'https://vim.googlecode.com/hg/'
sha256 '5c5d5d6e07f1bbc49b6fe3906ff8a7e39b049928b68195b38e3e3d347100221d'
version '7.3.682'
def features; %w(tiny small normal big huge) end
add_header_proc do
if /\A(?:latest|day|month|nyear)\z/ =~ @mode
array = []
date = nil
@conf.cgi.params.each do |k, v|
date = v.join if v.join =~ /(\d\d\d\d){1,2}/
array << "#{k}=#{v.join}"
end
if date
params = "#{date}.html"