Skip to content

Instantly share code, notes, and snippets.

View Brainiarc7's full-sized avatar

Dennis E. Mungai Brainiarc7

View GitHub Profile
@Brainiarc7
Brainiarc7 / 01-installing-linux-on-eurocom-q6.md
Last active May 9, 2020 15:28
Installing Ubuntu 18.04LTS on the Eurocom Q6, among other tweaks.

Installing Linux on the Eurocom Q6:

For starters,

If you are dual booting, install Windows first, and partition from there with a tool such as Minitool. You'll only need two partitions, one for root and optionally, a small one for swap (say, 8GB). Partition them as appropriate, and when done, reboot into the UEFI menu and ensure that:

(a). Secure boot is disabled (otherwise you won't be able to load up proprietary drivers needed for the Nvidia GPU).

(b). Confirm that you're booting in UEFI mode ONLY. This is the default. CSM should remain disabled. Here's why.

@Brainiarc7
Brainiarc7 / tune-clevo-laptop-linux-settings.md
Last active January 19, 2020 01:33
Clevo P751DM2-G tuning for Ubuntu 16.04LTS+

Persistent configuration file entries for the Clevo P751DM2-G Linux environment:

Kernel options:

cat /proc/cmdline

BOOT_IMAGE=/boot/vmlinuz-4.16.12 root=UUID=fd81e4e1-0053-4f9b-bcd7-9cb9b5a5db16 ro nvidia-drm.modeset=1 elevator=deadline drm.debug=0xe psmouse.synaptics_intertouch=1 acpi_enforce_resources=lax iommu=pt intel_iommu=on acpi_osi=! acpi_osi=Windows 2009 quiet splash vt.handoff=7
diff --git a/SynoBuildConf/abiconfig b/SynoBuildConf/abiconfig
new file mode 100644
index 0000000000..70e02a72b5
--- /dev/null
+++ b/SynoBuildConf/abiconfig
@@ -0,0 +1,4 @@
+{
+ "skip_including": ["d3d11va.h", "dxva2.h", "qsv.h", "vda.h", "vdpau.h", "xvmc.h"],
+ "defines": "#define __STDC_CONSTANT_MACROS"
+}
@Brainiarc7
Brainiarc7 / gist:84f84fa1e581217561b8e5cc23b5ef2e
Created April 15, 2018 03:27 — forked from bobbyd3/gist:10022440
Netgear R7000 and DD-WRT
@Brainiarc7
Brainiarc7 / facebook-contact-info-summary.rb
Created March 25, 2018 18:36 — forked from dylanmckay/facebook-contact-info-summary.rb
A Ruby script for collecting phone record statistics from a Facebook user data dump
#! /usr/bin/env ruby
# NOTE: Requires Ruby 2.1 or greater.
# This script can be used to parse and dump the information from
# the 'html/contact_info.htm' file in a Facebook user data ZIP download.
#
# It prints all cell phone call + SMS message + MMS records, plus a summary of each.
#
# It also dumps all of the records into CSV files inside a 'CSV' folder, that is created
@Brainiarc7
Brainiarc7 / LetsEncrypt_HTTPS_plex.MD
Created March 21, 2018 01:50 — forked from churro-s/LetsEncrypt_HTTPS_plex.MD
Setup Let's Encrypt certificate for use with Plex Media Server on Ubuntu
@Brainiarc7
Brainiarc7 / clevo-p75xdm2-g-linux-install.md
Last active December 1, 2022 21:02
How to set up Ubuntu 18.04LTS on the Clevo P751/2DM2-G DTRs and workarounds to issues you may face.

Running Linux on the Clevo P750/1DM2-G DTR

Hello, brethren.

This post will detail how to successfully run Linux on the aforementioned notebook, with common traps and exceptions explained.

An overview:

This is an Intel Skylake-based laptop (upgradeable to a Kabylake-grade Desktop processor) with a desktop-class Pascal GPU, the GTX 1070. Switchable graphics (Optimus) is absent, which eliminates a significant burden of running Linux on this machine.

@Brainiarc7
Brainiarc7 / manjaro-avell-g1513.md
Created February 26, 2018 04:05 — forked from mauri870/manjaro-avell-g1513.md
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%)
@Brainiarc7
Brainiarc7 / linux-clevo-n850hk1.md
Created February 26, 2018 04:04 — forked from DiogoMCampos/linux-clevo-n850hk1.md
Installing Linux on a Clevo N850HK1

Since buying the Clevo N850HK1, installing linux distributions has always been difficult. After some experimentation, I settled for Ubuntu 17.10 and this is how I installed it.

Here's my notebook specs:

Machine:   Device: laptop System: Notebook product: N85_N87 HJ HJ1 HK1 serial: N/A
           Mobo: Notebook model: N85_N87 HJ HJ1 HK1 serial: N/A
           UEFI: American Megatrends v: 1.05.13 date: 05/08/2017
CPU:       Quad core Intel Core i7-7700HQ (-HT-MCP-) cache: 6144 KB
@Brainiarc7
Brainiarc7 / backlit.sh
Created February 26, 2018 04:04 — forked from tondrej/backlit.sh
Clevo backlit keyboard
#!/bin/bash
BLACK=000
BLUE=001
RED=010
MAGENTA=011
GREEN=100
AQUA=101
YELLOW=110
WHITE=111