Skip to content

Instantly share code, notes, and snippets.

@higedice
higedice / Chrome.psm1
Last active May 28, 2024 21:28
A Module for PowerShell. This Adds chrome, google, bing and duckduckgo commands.
<#
This is a Module for PowerShell.
This Adds chrome, google, bing and duckduckgo commands.
Usage:
chrome <URLs>
OR
google <search words>
OR
bing <search words>
OR
@higedice
higedice / .gvimrc
Last active July 24, 2019 03:22
My .gvimrc GVIM config file.
colors koehler
set guioptions+=T
set showtabline=2
let s:menutop = 'ユーザー'
if has('win32')
let s:menutop .= '(&U)'
endif
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
int main()
{
char path[1024];
printf("getenv(\"PWD\"): %s\n", getenv("PWD")); // " /home/me"
printf("cd /\n");
@higedice
higedice / PS1.sh
Last active January 30, 2017 02:06
PS1
# from .bashrc
# BASH prompt
# "01/28T18:01 @HigesMacBookAir:~ $ "
PS1="\[\e[0;34m\]\D{%m/%dT%k:%M} @\h:\[\e[1;34m\]\W \[\e[0m\]\$ "
@higedice
higedice / .vimrc
Last active June 28, 2018 13:28
My .vimrc VIM config file.
set encoding=utf-8
scriptencoding utf-8
" statusline - help.txt[-][RO][HELP] 1C,1/221L 1% @20:00 [utf-8][unix][help]
set statusline=%F%m%r%h%w\ %3vC,%l/%LL\ %p%%
set statusline+=%=\ " \<space>
function FormatTime(t)
if a:t == -1
@higedice
higedice / MakeYahooAuctionAffiliateLink_Bookmarklet.js
Last active August 29, 2015 14:02
A Bookmarklet make with affiliate link from opening Yahoo! Auction (Japan) page.
@higedice
higedice / printNewFiles.vbs
Created January 9, 2013 06:24
Prints NEW, DELETED and CHAGED files in a directory. Works on Windows WSH.
'
' Prints NEW, DELETED and CHAGED files in a directory.
'
' This script does not work with directorys have name include SPACE charactors.
'
' by HigeDice http://d.hatena.ne.jp/higedice/
'
Option Explicit