Skip to content

Instantly share code, notes, and snippets.

View artynet's full-sized avatar

Arturo Rinaldi artynet

View GitHub Profile
From 070b07f0d41c8a1481a7e40ad5869868aad8c680 Mon Sep 17 00:00:00 2001
From: MilhouseVH <[email protected]>
Date: Mon, 27 Nov 2017 20:38:14 +0000
Subject: [PATCH 1/2] kernel 4.15 fix
---
kernel/nvidia-modeset/nvidia-modeset-linux.c | 8 +++-----
kernel/nvidia-uvm/uvm8_va_block.c | 2 ++
kernel/nvidia/nv.c | 10 ++++------
3 files changed, 9 insertions(+), 11 deletions(-)
@artynet
artynet / eq.preset
Created December 9, 2017 21:51 — forked from kra3/eq.preset
Audacious presets: ~/.config/audacious/eq.preset
[Presets]
Preset0=Classical
Preset1=Club
Preset2=Dance
Preset3=Flat
Preset4=Live
Preset5=Laptop Speakers/Headphone
Preset6=Rock
Preset7=Pop
@artynet
artynet / virtualbox-modules-5.1.28-udp.patch
Created November 14, 2017 11:16 — forked from ObserverHerb/virtualbox-modules-5.1.28-udp.patch
virtualbox-modules-5.1.28 SKB_GSO_UDP patch for Gentoo
diff --git a/work/vboxnetflt/linux/VBoxNetFlt-linux.c b/work/vboxnetflt/linux/VBoxNetFlt-linux.c
index f824654..b61d82c 100644
--- work/vboxnetflt/linux/VBoxNetFlt-linux.c
+++ work/vboxnetflt/linux/VBoxNetFlt-linux.c
@@ -126,6 +126,10 @@ typedef struct VBOXNETFLTNOTIFIER *PVBOXNETFLTNOTIFIER;
# endif
#endif
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0)
+#define SKB_GSO_UDP 0
@artynet
artynet / removeOffice2011.sh
Created August 1, 2017 22:01 — forked from RobFreiburger/removeOffice2011.sh
Office 2011 for Mac Uninstaller
#!/bin/sh
# Credit to http://www.officeformachelp.com/office/install/remove-office/
osascript -e 'tell application "Remote Desktop Connection" to quit'
osascript -e 'tell application "Microsoft Document Connection" to quit'
osascript -e 'tell application "Microsoft Messenger" to quit'
osascript -e 'tell application "Microsoft Communicator" to quit'
osascript -e 'tell application "Microsoft Outlook" to quit'
osascript -e 'tell application "Microsoft Excel" to quit'
@artynet
artynet / .bashrc
Created March 18, 2017 22:41 — forked from marioBonales/.bashrc
Default .bashrc for ubuntu
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# don't put duplicate lines in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
HISTCONTROL=ignoredups:ignorespace
@artynet
artynet / uninstall_office_2016.sh
Created February 6, 2017 12:57 — forked from pirafrank/uninstall_office_2016.sh
Uninstall Office 2016 from OS X completely
#!/bin/bash
if [[ $EUID -ne 0 ]]; then
echo -e "
ROOT PRIVILEDGES NEEDED!
You have to run this script as root.
Aborting...
"
exit 1
else
@artynet
artynet / build-openocd.sh
Created May 22, 2016 13:15 — forked from cjmeyer/build-openocd.sh
Bash: Build OpenOCD with JLink support
#! /usr/bin/sh
#
# Build script to cross-compile OpenOCD with MinGW on Mint Linux (FTDI, JLINK, TI-ICDI, OSBDM).
#
# 7zip
# curl
# git
# MinGW-W64
# libtool
# Automake
@artynet
artynet / fix_wget_ca.sh
Created May 21, 2016 00:52 — forked from chetan/fix_wget_ca.sh
How to fix wget certificate issues
wget --no-check-certificate https://raw.github.com/bagder/curl/master/lib/mk-ca-bundle.pl
perl mk-ca-bundle.pl && rm certdata.txt
mkdir -p ~/.ssl/ && mv ca-bundle.crt mk-ca-bundle.pl ~/.ssl
echo "ca_certificate = ~/.ssl/ca-bundle.crt" >> ~/.wgetrc
@artynet
artynet / mingw-w64-3.10-osx10.9.sh
Created April 13, 2016 12:17 — forked from Drakulix/mingw-w64-3.10-osx10.9.sh
Script to install a Mingw-w64 Cross-Compiler Suite on Mac OS X 10.9
#!/bin/sh
# dependencies
echo "Installing dependencies via Homebrew (http://brew.sh)"
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
brew update
brew install gcc48
@artynet
artynet / cyrillic2latin_file_renamer.py
Created March 21, 2016 21:37 — forked from ramanqul/cyrillic2latin_file_renamer.py
Cyrillic to Latin File Changer
#!/usr/bin/python
# -*- coding: utf-8 -*-
from os import walk, rename, unlink, mkdir, remove
from os.path import isdir, exists
from sys import argv, exit, getfilesystemencoding
from shutil import copyfile
import shutil
conversion = {