This file contains hidden or 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
#!/usr/bin/env bash | |
# | |
echo '***' rm | |
rm -rf dwm-6.1 | |
rm -f dwm-6.1.tar.gz | |
rm -f *.diff | |
echo '***' wget | |
wget https://dl.suckless.org/dwm/dwm-6.1.tar.gz |
This file contains hidden or 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
--- fonts.conf 2017-09-25 10:10:04.000000000 +0200 | |
+++ fonts.conf_new 2018-03-01 00:00:00.000000000 +0100 | |
@@ -65,6 +65,15 @@ | |
</edit> | |
</match> | |
+ <match target="pattern"> | |
+ <test qual="any" name="family"> | |
+ <string>helvetica</string> | |
+ </test> |
This file contains hidden or 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
#!/usr/bin/perl | |
use Date::Parse; | |
use Time::Duration; | |
my $birth=str2time("1970-01-01 10:00"); | |
print "life day: ".int((time() - $birth)/60/60/24)."\n"; |
This file contains hidden or 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
# ~/.tmux.conf | |
# | |
TMUX_COLOUR_FG="colour232" | |
TMUX_COLOUR_BG="colour33" | |
TMUX_COLOUR_BOLD="colour252" | |
TMUX_COLOUR_DARK="colour0" | |
TMUX_COLOUR_NORMAL=$TMUX_COLOUR_BOLD | |
TMUX_COLOUR_ACTIVE=$TMUX_COLOUR_BG |
This file contains hidden or 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 | |
class InWords | |
{ | |
private static $words = array(); | |
protected static $numbers = ['zero', 'jeden', 'dwa', 'trzy', 'cztery', 'pięć', 'sześć', 'siedem', 'osiem', 'dziewięć']; | |
protected static $operands = ['+' => 'plus', '-' => 'minus', '*' => 'razy']; | |
public static function get($str) | |
{ |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
# | |
import sys | |
import os | |
import datetime | |
import json | |
import xbmc | |
reload(sys) | |
sys.setdefaultencoding('utf8') |
This file contains hidden or 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
# /etc/systemd/system/hibernate-after-suspend.service | |
[Unit] | |
Description=Hibernate after suspend | |
Documentation=https://bbs.archlinux.org/viewtopic.php?pid=1420279#p1420279 | |
Documentation=https://bbs.archlinux.org/viewtopic.php?pid=1574125#p1574125 | |
Documentation=https://wiki.archlinux.org/index.php/Power_management | |
Documentation=https://wiki.debian.org/SystemdSuspendSedation | |
Conflicts=hibernate.target hybrid-suspend.target | |
Before=suspend.target | |
StopWhenUnneeded=true |
This file contains hidden or 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 | |
header('Content-Type: text/plain; charset=utf-8'); | |
echo "Error 200: OK\n"; | |
?> |