Skip to content

Instantly share code, notes, and snippets.

View imyxh's full-sized avatar
🏳️‍⚧️

imyxh

🏳️‍⚧️
View GitHub Profile
# Beware! This file is rewritten by htop when settings are changed in the interface.
# The parser is also very primitive, and not human-friendly.
fields=0 48 17 18 49 2 46 47 1
sort_key=46
sort_direction=1
hide_threads=0
hide_kernel_threads=1
hide_userland_threads=0
shadow_other_users=0
show_thread_names=0
# Maintainer: Iru Cai <mytbk920423@gmail.com>
# Maintainer: Alexander Hunziker <alex.hunziker@gmail.com>
# Contributor: Alessio Biancalana <dottorblaster@gmail.com>
# Edited by Ian Huang to install alongside gimp stable
pkgname=gimp-git
epoch=1
pkgver=2.10.2.601.g0ff95b66b7
pkgrel=1
RUN_SCRIPT_PATH=$HOME/gimp-git/run
post_install() {
cat > $RUN_SCRIPT_PATH <<-EOF
#!/bin/sh
# update as necessary
DIR_VERSION=2.99
EOF
cat >> $RUN_SCRIPT_PATH <<-'EOF'
#!/bin/sh
# pushes all dotfiles and scripts to gist
# uses https://github.com/defunkt/gist
#TODO: add parameters 'n stuff
# check if gist is installed
if ! type "gist" > /dev/null; then
echo "Gist isn't installed! https://github.com/defunkt/gist"
exit 1
" load defaults
source /usr/share/vim/vimfiles/archlinux.vim
:filetype plugin on
:syntax on
" Set block cursor on start.
autocmd VimEnter * silent !echo -ne "\e[2 q"
" Set IBeam shape in insert mode, underline shape in replace mode and block shape after exiting insert mode.
#!/bin/sh -
# Clear SSD's Blender temp folder.
# Could be done by following https://wiki.archlinux.org/index.php/Systemd/User#Temporary_files,
# but that wouldn't work with trash support.
trashdir="/home/imyxh/.local/share/Trash/files"
for i in /mnt/ssd/blender/temp/*
do
mkdir -p $trashdir/blender-temp;
mv "$i" $trashdir/blender-temp;
#!/bin/bash
#
# This file echoes a bunch of color codes to the
# terminal to demonstrate what's available. Each
# line is the color code of one forground color,
# out of 17 (default + 16 escapes), followed by a
# test use of that color on all nine background
# colors (default + 8 escapes).
#
# ls
alias ls='ls --color=auto'
alias l.='ls -d .* --color=auto'
alias lla='ls -alF --group-directories-first --color=always'
alias ll='ls -l --group-directories-first --color=always'
alias la='ls -A --group-directories-first --color=always'
alias l='ls -CF --group-directories-first --color=always'
alias llg='ls -alF --group-directories-first --color=always|grep'
alias llm='ls -alF --group-directories-first --color=always|more'
alias lll='ls -alF --group-directories-first --color=always|more'
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=/home/imyxh/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="imyxh"
@imyxh
imyxh / csgo-glxinfo.txt
Created February 23, 2018 05:17
glxinfo for csgo issue
user@host:~$ glxinfo
name of display: :0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
GLX_ARB_create_context, GLX_ARB_create_context_profile,
GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample,
GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile,