Skip to content

Instantly share code, notes, and snippets.

View xypnox's full-sized avatar
:shipit:
Things and stuff.

xypnox xypnox

:shipit:
Things and stuff.
View GitHub Profile
@xypnox
xypnox / spacegray.vim
Last active May 8, 2018 11:39
A better vim Colorscheme
" SpaceGray.vim -- Vim colorscheme.
" Maintainer: Aditya Vikram Singh (github.com/xypnox)
" Version: 1.0
" A colorscheme modeled after the spacegray theme for Atom and Sublime.
" This colorscheme is 256color and up only.
" Setup {{{1
hi clear
if exists('syntax_on')
@xypnox
xypnox / linux-notes.md
Last active May 8, 2018 12:28
My notes for linux ;)

Important steps After fresh installation

NOTICE The following notes work with any Ubuntu based distro with apt package manager. Warning : Use Any commands given below at your own caution. I will not be responsible for anything you break burn destroy or annihilate using these commands

Upgrade your Dist to latest updates Install ubuntu-restricted-extras. Many Applications (Lollypop Included) Don't Work without it.

@xypnox
xypnox / colors
Last active June 6, 2018 09:18
A few colors I love
// Adapta
#29353B
#222D32
#1B2326
#00BCD4
// Arc
#404552
#383C4A
#2F343F
@xypnox
xypnox / config
Created October 11, 2018 16:59
i3 config file
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
@xypnox
xypnox / i3blocks.conf
Created October 11, 2018 17:01
i3blocks config file
# i3blocks config file
#
# Please see man i3blocks for a complete reference!
# The man page is also hosted at http://vivien.github.io/i3blocks
#
# List of valid properties:
#
# align
# color
# command
@xypnox
xypnox / grub
Created March 3, 2019 15:27
Grubfile
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg. For full documentation of the options in this
# file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_rev_override=5 nouveau.runpm=0"
@xypnox
xypnox / logs.txt
Created March 4, 2019 10:21
Vagrant error log
Collecting PyYAML
Downloading https://files.pythonhosted.org/packages/9e/a3/1d13970c3f36777c583f136c136f804d70f500168edc1edea6daa7200769/PyYAML-3.13.tar.gz (270kB)
Building wheels for collected packages: PyYAML
Building wheel for PyYAML (setup.py): started
Building wheel for PyYAML (setup.py): finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/ad/da/0c/74eb680767247273e2cf2723482cb9c924fe70af57c334513f
Successfully built PyYAML
Installing collected packages: PyYAML
Found existing installation: PyYAML 3.12
Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
@xypnox
xypnox / error
Created March 4, 2019 10:25
Bash output after running vagrant provision
xypnox-xps in ~/Projects/Submitty ⟩
(15:48:48) ⟨master → origin ✓⟩ ⟩ vagrant provision
==> ubuntu-18.04: Configuring proxy for Apt...
==> ubuntu-18.04: Configuring proxy for Docker...
/opt/vagrant/embedded/gems/2.0.3/gems/net-scp-1.2.1/lib/net/scp.rb:365:in `block (3 levels) in start_command': SCP did not finish successfully (1): scp: /etc/docker/config.json: Permission denied (Net::SCP::Error)
from /opt/vagrant/embedded/gems/2.0.3/gems/net-ssh-4.2.0/lib/net/ssh/connection/channel.rb:607:in `do_close'
from /opt/vagrant/embedded/gems/2.0.3/gems/net-ssh-4.2.0/lib/net/ssh/connection/session.rb:573:in `channel_closed'
from /opt/vagrant/embedded/gems/2.0.3/gems/net-ssh-4.2.0/lib/net/ssh/connection/session.rb:684:in `channel_close'
from /opt/vagrant/embedded/gems/2.0.3/gems/net-ssh-4.2.0/lib/net/ssh/connection/session.rb:549:in `dispatch_incoming_packets'
from /opt/vagrant/embedded/gems/2.0.3/gems/net-ssh-4.2.0/lib/net/ssh/connection/session.rb:246:in `ev_preprocess'
@xypnox
xypnox / vagrant.log
Created March 4, 2019 11:06
Vagrant Logs after successful completeion of vagrant up
# this script must be run by root or sudo
if [[ "$UID" -ne "0" ]] ; then
echo "ERROR: This script must be run by root or sudo"
exit 1
fi
#################################################################
# CONSTANTS
#################
@xypnox
xypnox / bash
Created March 4, 2019 13:55
Output of vagrant provisison
xypnox-xps in ~/Submitty ⟩
(19:21:35) ⟨master → origin ✓⟩ ⟩ vagrant provision
==> ubuntu-18.04: Configuring proxy for Apt...
==> ubuntu-18.04: Configuring proxy for Docker...
/opt/vagrant/embedded/gems/2.0.3/gems/net-scp-1.2.1/lib/net/scp.rb:365:in `block (3 levels) in start_command': SCP did not finish successfully (1): scp: /etc/docker/config.json: Permission denied (Net::SCP::Error)
from /opt/vagrant/embedded/gems/2.0.3/gems/net-ssh-4.2.0/lib/net/ssh/connection/channel.rb:607:in `do_close'
from /opt/vagrant/embedded/gems/2.0.3/gems/net-ssh-4.2.0/lib/net/ssh/connection/session.rb:573:in `channel_closed'
from /opt/vagrant/embedded/gems/2.0.3/gems/net-ssh-4.2.0/lib/net/ssh/connection/session.rb:684:in `channel_close'
from /opt/vagrant/embedded/gems/2.0.3/gems/net-ssh-4.2.0/lib/net/ssh/connection/session.rb:549:in `dispatch_incoming_packets'
from /opt/vagrant/embedded/gems/2.0.3/gems/net-ssh-4.2.0/lib/net/ssh/connection/session.rb:246:in `ev_preprocess'