Skip to content

Instantly share code, notes, and snippets.

View Borales's full-sized avatar
🇺🇦

Oleksandr Bordun Borales

🇺🇦
View GitHub Profile
@Borales
Borales / Borales - Solarized.itermcolors
Created September 6, 2018 20:36
iTerm2 - Solarized Dark
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.25332435965538025</real>

Keybase proof

I hereby claim:

  • I am borales on github.
  • I am borales (https://keybase.io/borales) on keybase.
  • I have a public key ASAllhoN1ATj-GkHB7Uj8oet4FN4qCV6geuiIHOWdbxV4Qo

To claim this, I am signing this object:

@Borales
Borales / .bash_profile
Created April 21, 2016 21:52
Docker-machine and Git branch in the bash prompt
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ on \"\1\" branch/'
}
__docker_machine_ps1 () {
local format=${1:- [%s]}
if test ${DOCKER_MACHINE_NAME}; then
local status
if test ${DOCKER_MACHINE_PS1_SHOWSTATUS:-false} = true; then
status=$(docker-machine status ${DOCKER_MACHINE_NAME})
package com.example.components;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.text.Html;
import android.view.View;
@Borales
Borales / phpstorm64.vmoptions
Created December 25, 2012 18:23
Сглаживание шрифтов phpStorm в Ubuntu. Ставим OpenJDK. Редактируем файл /bin/phpstorm64.vmoptions (или phpstorm.vmoptions), добавив эти строчки:
-Dsun.java2d.xrender=true
-Dswing.aatext=true
-Dawt.useSystemAAFontSettings=lcd