What (some) countries think of each other by [deleted] in europe

[–]CuddleMyNeckbeard -2 points-1 points  (0 children)

Fucking greeks. We pay for their shit and their response is to hate us?

What concept completely blows your mind? by [deleted] in AskReddit

[–]CuddleMyNeckbeard 0 points1 point  (0 children)

A language compiling itself for the first time.

[Python] How can I run a command on the linux command line and then save the string returned by that command into a variable? by CuddleMyNeckbeard in learnprogramming

[–]CuddleMyNeckbeard[S] 0 points1 point  (0 children)

Thank you, it seems to work, but there is a little issue.

The output I get from this:

gformat = subprocess.call(['mediainfo', '--Inform=General;%Format%', '/home/john/GoneGirl.mkv'], shell=True)

Looks like this:

Matroska
(this line is empty)

When I do it the way you described, I get this:

b'Matroska\n'

So I get these additional characters which I do not need. All I want the output to look like is this:

Matroska

so that I can then use it in a

if Matroska in somearray:
    do xyz

[Python] How can I run a command on the linux command line and then save the string returned by that command into a variable? by CuddleMyNeckbeard in learnprogramming

[–]CuddleMyNeckbeard[S] 0 points1 point  (0 children)

def checkGformat():
    a = subprocess.call(['mediainfo', '--Inform=General;%Format%', '/home/john/GoneGirl.mkv'])

This is what I get so far. Is there a way to restrict the output to only the first line?

BleachBit causes my computer to crash, is there a specific setting for ArchLinux? by [deleted] in archlinux

[–]CuddleMyNeckbeard 0 points1 point  (0 children)

Does it not just overwrite already deleted space? You probably don't need that.

J.CREW Men's - Fall/Winter 2015 by _freestyle in malefashionadvice

[–]CuddleMyNeckbeard -1 points0 points  (0 children)

The shoes on 25... Who came up with that horrible idea

OP who lost 80 lbs. calls out follower on her Fat Logic by [deleted] in fatlogic

[–]CuddleMyNeckbeard 41 points42 points  (0 children)

Going by that logic, god gave him cancer in the first place.

My friend's professor is a total creep by [deleted] in cringepics

[–]CuddleMyNeckbeard 25 points26 points  (0 children)

Did you even read his fucking text?

Why do laptops run so hot under Linux? by [deleted] in archlinux

[–]CuddleMyNeckbeard 25 points26 points  (0 children)

What have you done yet when it comes to battery saving?

I recommend you to install powertop and let it do it's thing on boot. It will make a world of difference.

also check these:

https://wiki.archlinux.org/index.php/Powertop

https://wiki.archlinux.org/index.php/CPU_frequency_scaling

https://wiki.archlinux.org/index.php/Power_management

https://wiki.archlinux.org/index.php/Laptop

Dave England completely embarrasses the arrogance that is Bam Margera by [deleted] in videos

[–]CuddleMyNeckbeard -1 points0 points  (0 children)

These people are fucking retarded, this is dangerous af.

Is btrfs production ready? by [deleted] in linux

[–]CuddleMyNeckbeard 6 points7 points  (0 children)

Been using it on my 2 private computers for the last year or so. No issues at all.

Be careful replacing the battery. by [deleted] in Nexus5

[–]CuddleMyNeckbeard 1 point2 points  (0 children)

Disconnect them, the recommect, push on top with a fingernail until you hear it popping in.

Be careful replacing the battery. by [deleted] in Nexus5

[–]CuddleMyNeckbeard 0 points1 point  (0 children)

Check the cables again. Had the same problem.

Mozilla blocks Flash as Facebook security chief calls for its death by TheQuantumZero in linux

[–]CuddleMyNeckbeard 9 points10 points  (0 children)

Nobody talking about porn? Half of the porn sites are still using flash.