Skip to content

Instantly share code, notes, and snippets.

View geniusrim's full-sized avatar
🎯
Focusing

Lim geniusrim

🎯
Focusing
View GitHub Profile
@geniusrim
geniusrim / _readme.md
Created June 28, 2016 01:55 — forked from shime/_readme.md
installation script for tmux 1.9a

Having trouble installing the latest stable version of tmux?

I know, official package for your OS/distro is outdated and you just want the newest version of tmux.

Well, this script should save you some time with that.

Prerequisities

  • gcc
@khamer
khamer / php.vim
Created March 16, 2016 20:20
.vim/indent/php.vim
" THIS IS MODIFIED, and IN PROGRESS. I'll make it more official when I'm ready.
"
" Vim indent file
" Language: Php
" Authors: Miles Lott <milos@groupwhere.org>, Johannes Zellner <johannes@zellner.org>, Pim Snel <pim@lingewoud.nl>
" URL: http://www.vim.org/scripts/script.php?script_id=604
" URL: http://lingewoud.nl/downloads.php
" Last Change: 23 feb 2004
" Version: 0.3
" Notes: This is a combination of the PHP indent file of Miles Lott with
@nrollr
nrollr / MySQL.md
Last active October 28, 2020 02:53
Install MySQL on El Capitan using Homebrew

Install MySQL on OS X El Capitan

Normally the installation of MySQL can be achieved with a single command, which executes a script provided by MacMiniVault : bash <(curl -Ls http://git.io/eUx7rg)

However, at the time of writing the script is not compatible with OS X El Capitan (10.11)

Install MySQL using Homebrew

An alternative to the aforementioned installation script is installing MySQL using Homebrew. This gist assumes you already have Homebrew installed, if not first read the article "Homebrew and El Capitan"

Make sure Homebrew has the latest formulae, so run brew update first

@matarillo
matarillo / Program.cs
Last active May 28, 2018 09:56
C# におけるDateTime型/TimeStamp型の変換方法のまとめ @ Gist
using System;
class Program
{
static void Main()
{
// 1: 文字列のローカル日付を取得
var localDate1 = DateTime.Now;
Console.WriteLine(localDate1.ToString("yyyy-MM-dd HH:mm:ss"));
@shime
shime / _readme.md
Last active November 8, 2020 08:54 — forked from ryin/tmux_local_install.sh
installation script for tmux 1.9a

Having trouble installing the latest stable version of tmux?

I know, official package for your OS/distro is outdated and you just want the newest version of tmux.

Well, this script should save you some time with that.

Prerequisities

  • gcc
@ryin
ryin / tmux_local_install.sh
Last active April 23, 2024 01:06
bash script for installing tmux without root access
#!/bin/bash
# Script for installing tmux on systems where you don't have root access.
# tmux will be installed in $HOME/local/bin.
# It's assumed that wget and a C/C++ compiler are installed.
# exit on error
set -e
TMUX_VERSION=1.8
@nazgob
nazgob / ctags.setup
Created January 6, 2012 13:44
ctags setup on mac
# you have ctags but it does not work...
$ ctags -R --exclude=.git --exclude=log *
ctags: illegal option -- R
usage: ctags [-BFadtuwvx] [-f tagsfile] file ...
#you need to get new ctags, i recommend homebrew but anything will work
$ brew install ctags
#alias ctags if you used homebrew
$ alias ctags="`brew --prefix`/bin/ctags"