Skip to content

Instantly share code, notes, and snippets.

View mdeguzis's full-sized avatar

Michael T. DeGuzis mdeguzis

View GitHub Profile
@mdeguzis
mdeguzis / Install-Vbox-Ace-C720.md
Last active August 29, 2015 14:19
Installing-Virtualbox-on-Acer-C720
@mdeguzis
mdeguzis / Removing-a-submodule.md
Created April 27, 2015 17:28
Removing a sudmodule

Via the page Git Submodule Tutorial:

To remove a submodule you need to:

  1. Delete the relevant section from the .gitmodules file.
  2. Stage the .gitmodules changes git add .gitmodules
  3. Delete the relevant section from .git/config.
  4. Run git rm --cached path_to_submodule (no trailing slash).
  5. Run rm -rf .git/modules/path_to_submodule
  6. Commit git commit -m "Removed submodule "
@mdeguzis
mdeguzis / deb-repack.md
Last active August 29, 2015 14:20
Repacking Debian Packages
$ mkdir -p extract/DEBIAN
$ dpkg-deb -x package.deb extract/
$ dpkg-deb -e package.deb extract/DEBIAN
[...do something, e.g. edit the control file...]
$ mkdir build
$ dpkg-deb -b extract/ build/
  • -x extracts the package contents
@mdeguzis
mdeguzis / chrome-steamos.md
Created May 8, 2015 00:28
Chrome on SteamOS

Netflix / Google Chrome

Now that Valve has added updated dependencies to the Alchemist repos all you need to get Netflix working is to install Google Chrome. Google Chrome now has all the dependencies and is allowed by Netflix to watch using HTML5.

This tutorial will walk you through the steps of installing Google Chrome and, hence, get Netflix working. Make sure your keyboard is hooked up (for those who only use controllers), and be ready to use the Linux terminal. I always recommend before you run any command you make sure you have some idea what it will do, you can do this with man (command) in the terminal or with Google. Anyways lets get started.

Head to the desktop to get started.

Head to Applications -> Iceweasel to launch the built-in web browser
var upgradeManagerPrefilter;
if (!upgradeManagerPrefilter) {
// add prefilter on first run
$J.ajaxPrefilter(function() {
if (upgradeManagerPrefilter) {
upgradeManagerPrefilter.apply(this, arguments);
}
});
}
Module #0
Name: module-udev-detect
Argument:
Usage counter: n/a
Properties:
module.author = "Lennart Poettering"
module.description = "Detect available audio hardware and load matching drivers"
module.version = "5.0"
Module #1
@mdeguzis
mdeguzis / clients.md
Last active September 9, 2015 13:53 — forked from defunkt/clients.md
A list of Gist clients.

Gist Clients

Want to create a Gist from your editor, the command line, or the Services menu? Here's how.

Editor Support

@mdeguzis
mdeguzis / install-vmware-certs.sh
Last active September 20, 2015 16:51 — forked from tonejito/install-vmware-certs.sh
install-vmware-certs.sh - Fix VMware cert error by installing CA certificate into ssl capath
#!/bin/bash
# install certificate into CApath
# I use relative paths to keep compatibility with chroot'd environments
cd /etc/ssl/certs/
ln -vsf ../../../usr/lib/vmware-ovftool/certs/cacert.pem vmware.pem
# Regenerate openssl CA database
c_rehash > /dev/null
mikeyd@archboxmtd ~ $ sudo systemctl start smbd
Job for smbd.service failed because the control process exited with error code. See "systemctl status smbd.service" and "journalctl -xe" for details.
mikeyd@archboxmtd ~ $ sudo systemctl start nmbd
Job for nmbd.service failed because the control process exited with error code. See "systemctl status nmbd.service" and "journalctl -xe" for details.
mikeyd@archboxmtd ~ $ systemctl status smbd.service
● smbd.service - Samba SMB/CIFS server
Loaded: loaded (/usr/lib/systemd/system/smbd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2015-09-26 09:59:37 EDT; 25s ago
Process: 2119 ExecStart=/usr/bin/smbd -D (code=exited, status=1/FAILURE)
@mdeguzis
mdeguzis / strapwrap.sh
Created September 30, 2015 19:10 — forked from DazWorrall/strapwrap.sh
Little script to create a minimal ubuntu using debootstrap and bring it up to date
#!/bin/bash
set -e
DEFAULT_PACKAGES=ssh,language-pack-en-base
DEFAULT_COMPONENTS=main,universe
DEBOOTSTRAP=/usr/sbin/debootstrap
DEFAULT_MIRROR=http://archive.ubuntu.com/ubuntu
DEFAULT_VARIANT=minbase
MIRROR=${STRAP_MIRROR:-$DEFAULT_MIRROR}
ROOTFS=$1