dnf install alsa-firmware
shutdown -r now
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function formatBytes($size, $precision = 2) | |
{ | |
if($size== 0) { | |
return 0; | |
} | |
$base = log($size) / log(1024); | |
$suffixes = array('o', 'kb', 'Mb', 'Gb', 'Tb'); | |
return round(pow(1024, $base - floor($base)), $precision) . $suffixes[floor($base)]; |
xset m default
Source : https://fedoraproject.org/wiki/Bumblebee#For_free_or_open_source_solution
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
cat /etc/squid/squid.conf | egrep -v "(^#.*|^$)"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dt = datetime.datetime.strptime("2015-01-08T01:50:11.719671Z", "%Y-%m-%dT%H:%M:%S.%fZ") | |
dt.timestamp() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def test1(): | |
g = 'gg' | |
s = 'toto' + g | |
def test2(): | |
g = 'gg' | |
s = 'toto%s' % g | |
def test3(): | |
g = 'gg' |
OlderNewer