Skip to content

Instantly share code, notes, and snippets.

View andreystarkov's full-sized avatar
:electron:
<3

Andrei Starcow andreystarkov

:electron:
<3
View GitHub Profile
@andreystarkov
andreystarkov / perfectelementary.bash
Created December 19, 2015 16:10
HowTo Install the perfect Elementary-OS
#Download Elementary OS from here:
#http://sourceforge.net/projects/elementaryos/files/stable/
#First you update your system
sudo apt-get update && sudo apt-get dist-upgrade
#Install Google Chrome
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
img:hover {
-webkit-filter: grayscale(0%);
-webkit-transition: .5s ease-in-out;
-moz-filter: grayscale(0%);
-moz-transition: .5s ease-in-out;
-o-filter: grayscale(0%);
-o-transition: .5s ease-in-out;
}
img {
@AnanthaRajuC
AnanthaRajuC / Bootstrap Modal and popover with Velocity.js animation.markdown
Created July 6, 2015 16:53
Bootstrap Modal and popover with Velocity.js animation
#Download Elementary OS from here:
#http://sourceforge.net/projects/elementaryos/files/stable/
#First you update your system
sudo apt-get update && sudo apt-get dist-upgrade
# Second install an extra tools to download packages
sudo add-apt-repository ppa:apt-fast/stable
sudo apt-get update
sudo apt-get install apt-fast
@rip-the-jacker
rip-the-jacker / create-usb-bootkey.sh
Created October 25, 2013 16:39
To create a bootable usb key from an Ubuntu Live iso.
To create a bootable usb key from an ubuntu live CD
# sudo dd if=</path/to/file.iso> of=/dev/sdb bs=1M
sudo dd if=/home/me/Downloads/ubuntu-13.10.iso of=/dev/sdb bs=1M
{
"auto_complete": false,
"caret_style": "phase",
"close_windows_when_empty": false,
"color_scheme": "Packages/Tomorrow Color Schemes/Tomorrow-Night.tmTheme",
"draw_white_space": "all",
"find_selected_text": true,
"fold_buttons": false,
"folder_exclude_patterns":
[
@QuingKhaos
QuingKhaos / git_svn_bash_prompt.sh
Last active April 26, 2018 09:52 — forked from woods/git_svn_bash_prompt.sh
Set color bash prompt according to git/svn branch, and return status of last command. Now with better readable colors, much cooler shell prompt and xterm title override.
#!/bin/bash
#
# DESCRIPTION:
#
# Set the bash prompt according to:
# * the branch/status of the current git repository
# * the branch of the current subversion repository
# * the return value of the previous command
#
# USAGE:
@bkono
bkono / config.fish
Last active March 24, 2019 00:42
Initial setup for fish
if not functions -q fisher
set -q XDG_CONFIG_HOME; or set XDG_CONFIG_HOME ~/.config
curl https://git.io/fisher --create-dirs -sLo $XDG_CONFIG_HOME/fish/functions/fisher.fish
fish -c fisher
end
set --export EDITOR nvim
set --export VISUAL nvim
# general exports & pathing
@bxt
bxt / .bashrc
Last active April 4, 2019 16:08
some stuff for .bashrc
# .bashrc commands by bxt
# color promt:
PS1="\@ \[\033[0;35m\]\u@\\h\[\033[0m\]:\w> "
# actually I sometimes use this one (shorter, 24h clock)
PS1=" \t \[\033[0;35m\]:\w>\[\033[0m\] "
# Change shell apps language to english:
export LANG=C
@vchengsong
vchengsong / eos-faucet
Created October 22, 2018 02:58
eos testnet faucet
package main
import(
"github.com/gin-gonic/gin"
//"net/http"
"github.com/eoscanada/eos-go"
token "github.com/eoscanada/eos-go/token"
"time"
)