Skip to content

Instantly share code, notes, and snippets.

View brettsmason's full-sized avatar

Brett Mason brettsmason

View GitHub Profile
@ryleu
ryleu / linuxoverwatch.md
Last active May 31, 2023 07:44
OW 2 on Linux

This guide is completely irrelevant! You no longer need to follow anything here—doing so may actually harm performance rather than helping it. Please tell whoever linked you here that they need to maintain their own guide, if they want to help people set up newer versions of DXVK / etc.

@IlanVivanco
IlanVivanco / devilbox.sh
Last active September 3, 2021 13:53
Utils function for managing Devilbox's virtual hosts
dvb-create-host() {
# Vars
BASE_DIR="~/www/$1/htdocs"
DB_NAME="$1_db"
DB_HOST="mysql"
DB_USER="root"
DB_PASS=""
WP_URL="$1.local"
WP_USER="ilan"
@lukaskleinschmidt
lukaskleinschmidt / app.scss
Last active September 11, 2023 14:50
Utility class generator like tailwindcss but in pure Sass.
@use 'sass:map';
@use 'variants' as * with (
$breakpoints: (
'small': 640px,
'medium': 768px,
'large': 1024px,
'wide': 1280px,
)
);
@TheFeloniousMonk
TheFeloniousMonk / sym-woo-extensions.php
Last active July 6, 2019 18:21
WooCommerce - Display a list of variable products priced by a single or several variant states (attributes)
<?php
/**
* Plugin Name: SYM Woo Extensions
* Plugin URI: https://symphonyagency.com
* Description: A set of utilities for use with WooCommerce
* Version: 1.0.0
* Author: Chris Jenkins
* Author URI: http://symphonyagency.com
* License: GPL3
* Text Domain: sym-woo
@m-e-h
m-e-h / .zshrc
Last active October 22, 2022 19:15
Linux(Ubuntu) Fresh Install
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:/usr/local/bin:$PATH
export ZSH="/home/marty/.oh-my-zsh"
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(status custom_meh dir vcs)
POWERLEVEL9K_PROMPT_ON_NEWLINE=true
POWERLEVEL9K_RPROMPT_ON_NEWLINE=true
POWERLEVEL9K_PROMPT_ADD_NEWLINE=true
POWERLEVEL9K_CUSTOM_MEH="echo '\uf11a' meh"
@noelbundick
noelbundick / LICENSE
Last active May 24, 2024 09:10
Exclude WSL installations from Windows Defender realtime protection
MIT License
Copyright (c) 2018 Noel Bundick
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@DanyHenriquez
DanyHenriquez / bulma-sass-scss.rb
Created August 18, 2017 10:49
Convert bulma from sass to scss
#!/usr/bin/env ruby
require 'tmpdir'
require 'fileutils'
dir = Dir.tmpdir()
if File.directory?("#{dir}/bulma")
FileUtils.remove_dir("#{dir}/bulma")
end
@valeryan
valeryan / WindowsSetup.md
Last active May 4, 2021 09:25
Local WSL Setup

Deprecated in favor of Valet Wiki Page

I set up the wiki page for the valet-wsl project and moved the install guide there. This way it can have user contributions. Please have all disscussions or issues under the valet-wsl project so I can be aware of it. Please go to Valet Wsl Installation Guide

@mauri870
mauri870 / manjaro-avell-g1513.md
Last active March 2, 2022 02:23
Installation of Manjaro 17 and nvidia/bumblebee drivers on Avell G1513

After a weekend of research, stress and pain I finally figure out how to install manjaro 17 and configure the nvidia/bumblebee drivers on my avell laptop

Here's my notebook specs:

$ inxi -MGCNA

Machine:   Device: laptop System: Avell High Performance product: 1513
           Mobo: N/A model: N/A v: 0.1 UEFI: American Megatrends v: N.1.02 date: 09/28/2016
Battery    BAT0: charge: 44.0 Wh 100.0% condition: 44.0/44.0 Wh (100%)
@Jiab77
Jiab77 / nvidia-elementaryos-loki.md
Last active June 27, 2024 21:10
nVidia drivers installation on ElementaryOS - Loki (ubuntu 16.04 based distrib)

nVidia drivers installation on ElementaryOS - Loki

ElementaryOS - Loki is an amazing ubuntu based distribution, I've just felt in love on it BUT they've removed what's required to install easily the nVidia Proprietary drivers. So here is the reason of this gist, to store the install instructions in one place inside a crystal clear documentation.

Check your device

Open your favorite terminal application then type sudo ubuntu-drivers devices, you should get something like this: