Skip to content

Instantly share code, notes, and snippets.

View 01-10's full-sized avatar

Konstantin Kostov 01-10

  • Moscow
View GitHub Profile
@01-10
01-10 / gist:e362ca4aa788366df24f6353ba2467f2
Created November 14, 2018 20:44
Change all Unicode characters to plain
sed -e 'y/āáǎàâçēéěèīíǐìōóǒòūúǔùǖǘǚǜüûĀÁǍÀĒÉĚÈĪÍǏÌŌÓǑÒŪÚǓÙǕǗǙǛÜ/aaaaaceeeeiiiioooouuuuuuuuuuAAAAEEEEIIIIOOOOUUUUUUUUU/' file1.txt > file2.csv
@01-10
01-10 / phpv.bash
Created November 6, 2018 14:14
# Change PHP version rapidly when using Homebrew (MacOSX)
#!/bin/bash
# Use:
# $ phpv
# > Will return current global php version, and ALL php versions symlinked
#
# $ phpv {version}
# > Will "brew unlink" all versions, and "brew link php{version}"
# View README file for more info
@01-10
01-10 / happy_git_on_osx.md
Last active April 6, 2017 09:34 — forked from trey/happy_git_on_osx.md
Creating a Happy Git Environment on OS X

Creating a Happy Git Environment on OS X

Step 1: Install Git

brew install git bash-completion

Configure things:

git config --global user.name "Your Name"

git config --global user.email "[email protected]"