Skip to content

Instantly share code, notes, and snippets.

View Tknott95's full-sized avatar
🍀

TKnott Tknott95

🍀
View GitHub Profile
@Tknott95
Tknott95 / gist:9c7d242b9081a9346d7f1c2c36062fb1
Created March 4, 2018 14:55
ys cust yaourt command - Arch Wine Utils For Almost 99.9% of Apps &germs& luLZboattt
$ys lib32-alsa-lib lib32-alsa-plugins lib32-libpulse lib32-alsa-oss lib32-openal wine_gecko wine-mono lib32-mpg123 lib32-lcms2 lib32-giflib lib32-libpng lib32-gnutls lib32-gst-plugins-base lib32-gst-plugins-good lib32-gst-plugins-bad lib32-gst-plugins-ugly ttf-lato wine-mono wine_gecko samba lib32-libxml2 xosd
$ys mesa lib32-mesa xf86-video-intel vulkan-intel libva-intel-driver libva-intel-driver-g45-h264 mpv-git ffmpeg-git libva-intel-driver-g45-h264 lib32-nvidia-utils nvidia-settings
@Tknott95
Tknott95 / gist:7de88196c971e385bd9adc60e5321485
Created March 10, 2018 06:04
Missing Optimus Linux Modules After all Wiki and Any Forum follow. Reference for myself as it exists on my desktop as well (diff brand but optimus)
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: aic94xx
@Tknott95
Tknott95 / gist:df90624f9e4ea15c6338676226208f30
Created March 10, 2018 08:20
Arch Linux File Opening Not in File Manager - Error Arch Linux Gnome
If Arch Linux Gnome and Or Linux is not opening inside the correct directory follow the steps below.
```
<b>Nautilus is used for gtk</b> yet an amazing File Manager (whatever it is called). Replace org.gnome.Nautilus.desktop with whatever you currently would like to use.
<small>FOLLOW STEPS BELOW</small>
```
# 1. Inside Terminal Open
```
~/.local/share/applications/mimeapps.list
@Tknott95
Tknott95 / gist:602236b54544cea544cdb0e5e2ee23b2
Created March 10, 2018 10:40
Cust Git Shell Funcs with argv[0]
alias ml="cd ~/Workspace/Python/MachineLearningReference/"
alias bp="source ~/.bash_profile"
# Functions @BashByTrev
function g() {
date_custom=$(date '+%d/%m/%Y %H:%M:%S');
commit_ending=" || @TK - $date_custom "
echo "Commit Ending: $commit_ending"
@Tknott95
Tknott95 / bash-cheatsheet.sh
Created March 11, 2018 07:59 — forked from LeCoupa/bash-cheatsheet.sh
Bash CheatSheet for UNIX Systems --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04
@Tknott95
Tknott95 / gist:da7fcad892145e44434108204e53a09f
Created March 11, 2018 22:19
Angular 2-5 [object Object] FIX
You need to essentially unmarshel the parsed JSON/stringify it with the
```
JSON.stringify() command
```
> EXAMPLE
```
JSON.stringify(data)
```
@Tknott95
Tknott95 / gist:19bf27024f5781169821bca4531af959
Created March 11, 2018 22:48
Arch Linux chromium w/ high end already setup
ys=`yaourt -S --noconfirm `
$ys chromium-vaapi pepper-flash chromium-widevine ttf-liberation
$ys
coreutils breeze gtk2 deepin-gtk-theme breeze-kde4 breeze-gtk gtk-theme-switch2 kde-gtk-config adapta-gtk-theme arc-gtk-theme qgnomeplatform gnome-themes-standard gtk3 kde-gtk-config kgtk adwaita-qt5 adwaita-qt4 qt5ct qt5-styleplugins
@Tknott95
Tknott95 / gist:6c71ded4933f78437848a83e5a33a122
Created March 13, 2018 09:40
If you run into trouble with CUDA not being available, run nvidia-modprobe first.
If you run into trouble with CUDA not being available, run nvidia-modprobe first.