Skip to content

Instantly share code, notes, and snippets.

View ubuntu 18.04 on HP Pavilion 15 cx0140tx
## Major Specs
- Intel® Core™ i5-8300H CPU
- Intel® UHD Graphics 630 (Coffeelake 3x8 GT2)
- Nvidia GTX 1050M
### Install
- Add `nomodeset` to kernel boot line, else the install will freeze randomly.
### First boot
1. Add kernel argument : `nomodeset`
@aspratyush
aspratyush / QDBusSignalSlotExample
Created Jul 9, 2015
QDBus-based dbus-signal receiving
View QDBusSignalSlotExample
/************* SERVER : INTERFACE CLASS **************/
#ifndef ICALCULATOR_H
#define ICALCULATOR_H
#include <QObject>
class ICalculator : public QObject
{
Q_OBJECT
@aspratyush
aspratyush / install-deps.sh
Last active Aug 29, 2015
Torch7 install for Fedora 22
View install-deps.sh
#!/usr/bin/env bash
######################################################################
# This script installs required dependencies for Torch7
######################################################################
install_openblas() {
# Get and build OpenBlas (Torch is much better with a decent Blas)
cd /tmp/
git clone https://github.com/xianyi/OpenBLAS.git -b master
You can’t perform that action at this time.