Skip to content

Instantly share code, notes, and snippets.

View alisianoi's full-sized avatar
🔂

Alexander Lisianoi alisianoi

🔂
View GitHub Profile
@alisianoi
alisianoi / Xorg.8.log
Created August 30, 2013 07:54
Xorg.8.log
[ 1643.510]
X.Org X Server 1.14.2
Release Date: 2013-06-25
[ 1643.510] X Protocol Version 11, Revision 0
[ 1643.510] Build Operating System: Linux 3.9.7-1-ARCH x86_64
[ 1643.510] Current Operating System: Linux tardis 3.10.9-1-ARCH #1 SMP PREEMPT Wed Aug 21 13:49:35 CEST 2013 x86_64
[ 1643.510] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=/dev/mapper/vg_tardis-lvol0 rw quiet
[ 1643.510] Build Date: 01 July 2013 10:48:42AM
[ 1643.510]
[ 1643.510] Current version of pixman: 0.30.2
@alisianoi
alisianoi / bumblebee.conf
Created August 30, 2013 07:57
The only line different from original bumblebee.conf is Driver=nouveau
# Configuration file for Bumblebee. Values should **not** be put between quotes
## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
@alisianoi
alisianoi / kernel ring buffer
Created August 30, 2013 08:26
dmesg report
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.10.9-1-ARCH (tobias@T-POWA-LX) (gcc version 4.8.1 20130725 (prerelease) (GCC) ) #1 SMP PREEMPT Wed Aug 21 13:49:35 CEST 2013
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=/dev/mapper/vg_tardis-lvol0 rw quiet
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009d7ff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009d800-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001fffffff] usable
@alisianoi
alisianoi / kernel log
Created August 30, 2013 10:21
second kernel log (nouveau blacklisted)
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.10.9-1-ARCH (tobias@T-POWA-LX) (gcc version 4.8.1 20130725 (prerelease) (GCC) ) #1 SMP PREEMPT Wed Aug 21 13:49:35 CEST 2013
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=/dev/mapper/vg_tardis-lvol0 rw quiet
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009d7ff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009d800-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001fffffff] usable
@alisianoi
alisianoi / Xorg 8 log
Created September 19, 2013 10:55
functoning bumblebee Xorg.8.log
[ 195.121]
X.Org X Server 1.14.3
Release Date: 2013-09-12
[ 195.121] X Protocol Version 11, Revision 0
[ 195.121] Build Operating System: Linux 3.11.0-1-ARCH x86_64
[ 195.121] Current Operating System: Linux tardis 3.11.1-1-ARCH #1 SMP PREEMPT Sat Sep 14 19:30:21 CEST 2013 x86_64
[ 195.121] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=/dev/mapper/vg_tardis-lvol0 rw quiet
[ 195.121] Build Date: 13 September 2013 01:28:59PM
[ 195.121]
[ 195.121] Current version of pixman: 0.30.2
@alisianoi
alisianoi / kernel log
Created September 19, 2013 10:58
kernel log, bumblebeed works fine
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.11.1-1-ARCH (tobias@T-POWA-LX) (gcc version 4.8.1 20130725 (prerelease) (GCC) ) #1 SMP PREEMPT Sat Sep 14 19:30:21 CEST 2013
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=/dev/mapper/vg_tardis-lvol0 rw quiet
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009d7ff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009d800-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001fffffff] usable
@alisianoi
alisianoi / test.py
Last active August 29, 2015 14:00
Problem with super(), multiple inheritance and method overloading
import sys
import logging
from logging import Logger
from html.parser import HTMLParser
class LoggerAdapter():
def __init__(self, name, level, **kwds):
self.logger = Logger(name, level)
super().__init__(**kwds)
The best test of an argument is the argument’s ability to convince someone with
an opposing viewpoint.
Write a response in which you discuss the extent to which you agree or disagree with
the statement and explain your reasoning for the position you take. In developing and
supporting your position, you should consider ways in which the statement might or
might not hold true and explain how these considerations shape your position.
=====================================================================================
{
"metadata": {
"name": "",
"signature": "sha256:7750b2eb7b054fc6cbeb21c873cd20c8b6eb7792f87694edf5fa4cba146c20ab"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
@alisianoi
alisianoi / gist:ff8a27901cae376519a0
Created March 12, 2015 21:49
My dependencies when installing `pygmp`
$ pip show networkx numpy scipy cython sphinx pandas pip nose
---
Name: networkx
Version: 1.9.1
Location: /usr/lib/python3.4/site-packages
Requires: decorator
---
Name: numpy
Version: 1.9.2
Location: /home/all3fox/Code/pgmpy/vipgmpy/lib/python3.4/site-packages/numpy-1.9.2-py3.4-linux-x86_64.egg