Skip to content

Instantly share code, notes, and snippets.

View yoyosan's full-sized avatar
🏠
Working from home

Marius Palade yoyosan

🏠
Working from home
View GitHub Profile
Processor Information:
Vendor: GenuineIntel
CPU Family: 0x6
CPU Model: 0x3a
CPU Stepping: 0x9
CPU Type: 0x0
Speed: 3800 Mhz
4 logical processors
4 physical processors
HyperThreading: Unsupported
@yoyosan
yoyosan / gist:6049783
Last active December 20, 2015 01:29
My specs
Processor Information:
Vendor: GenuineIntel
CPU Family: 0x6
CPU Model: 0x3a
CPU Stepping: 0x9
CPU Type: 0x0
Speed: 3800 Mhz
4 logical processors
4 physical processors
HyperThreading: Unsupported
@yoyosan
yoyosan / gist:6199514
Created August 10, 2013 07:52
dota CPU and Disk IO during startup
====================================================================================================
Sat Aug 10 10:47:58 EEST 2013
====================================================================================================
--------------------------------------------------
Process info
--------------------------------------------------
UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
is all of the muscles, bones and organs. It contains vital elements, water and electrolytes (approximately 73%), mineral salts and proteins (27%).
Lean mass unites the body's engines, which consume energy.
<br/><br/><strong>Why control your lean mass?</strong><br/>
Lean mass is all of the muscles, bones and organs.<br/>
It contains vital elements, water and electrolytes (approximately 73%), and mineral salts and proteins (27%). Lean mass unites the body's engines,
which consume energy: it is therefore a good indicator of the potential to become thinner.<br/>
For example, a former athlete always loses weight easily (having the ability to use free fatty acids via muscles during exercise). Conversely certain
people with a normal weight can have a fat mass of more than 40% of their body weight; weight loss will therefore be difficult without practicing a
physical activity.<br/>
In fact, physical exercise develops your muscular mass, which increases the speed at which calories are burnt. Increasing your muscular m
@yoyosan
yoyosan / Realtek 8812AU.md
Last active October 25, 2017 19:35
Installing the Linux driver for ASUS AC-56 for Fedora 25 with kernel 4.11.

Manual compilation

Install

$ sudo su -
# TODO: You might need to install some debug packages for the kernel!
$ cd /tmp
$ git clone https://github.com/maurossi/rtl8812au
$ git checkout kernel-4.11
@yoyosan
yoyosan / CleanupGitStage.md
Created July 5, 2017 07:40
Clean up git stage after running composer update for a package/all packages.
rm -rf `git status -s | grep "??" | cut -d"?" -f3`
git checkout -- .
@yoyosan
yoyosan / xprintidleinstall.md
Last active October 23, 2023 21:43
Install xprintidle on Fedora 25+

In order to use Safeeyes with the Smart Pause plugin you need install xprintidle. This process wasn't that simple for me so I thought about writing it down:

cd /tmp
git clone https://github.com/lucianposton/xprintidle
cd xprintidle
sudo dnf install libX11-devel libXScrnSaver-devel
sudo ln -s /usr/lib64/libXss.so.1.0.0 /usr/lib64/libXss.so
./configure
@yoyosan
yoyosan / recover.md
Last active January 7, 2018 17:06
Recover after failed kernel upgrade on Ubuntu 16.04 and online.net box

Recovering after failed kernel upgrade(meltdownattack) on Ubuntu 16.04 on online.net box

What happened?

Recently, I've updated my Ubuntu 16.04 machine from online.net due to the meltdownattack.com.

But it didn't go so well 😢

The installation process yielded a couple of errors:

@yoyosan
yoyosan / remove_exception_typehint.patch
Last active December 28, 2018 14:34
Remove `Exception` type hint from laravel 4.2 Whoops lib, for PHP 7.1
diff --git a/vendor/filp/whoops/src/Whoops/Exception/Inspector.php b/vendor/filp/whoops/src/Whoops/Exception/Inspector.php
index 06aeec31b..c2873f2e5 100644
--- a/vendor/filp/whoops/src/Whoops/Exception/Inspector.php
+++ b/vendor/filp/whoops/src/Whoops/Exception/Inspector.php
@@ -28,7 +28,7 @@ class Inspector
/**
* @param Exception $exception The exception to inspect
*/
- public function __construct(Exception $exception)
+ public function __construct($exception)
@yoyosan
yoyosan / clementine-guide.md
Last active March 13, 2018 11:19
Clementine packages needed to play any audio files

Fedora

Install the following packages:

dnf install gstreamer1-plugins-bad-free gstreamer1-plugins-ugly-free gstreamer1-plugins-bad-nonfree