Skip to content

Instantly share code, notes, and snippets.

View Bystroushaak's full-sized avatar
🦊
Rapid Offensive Unit

Bystroushaak Bystroushaak

🦊
Rapid Offensive Unit
View GitHub Profile
def indexes_by_values(s):
size = len(s[0]) # get matrix size
s = sum(s, []) # flattern the list
out = []
while max(s) is not None:
index = s.index(max(s))
s[index] = None
val = (index / size, index % size) if index > 0 else (0, 0)
#! /usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from sh import git
#= Functions & objects ========================================================
def parse_date(date):
#! /usr/bin/env python
# -*- coding: utf-8 -*-
#
# Interpreter version: python 2.7
#
#= Imports ====================================================================
import os
import sys
#Automatically Generated by clamav-base postinst
#To reconfigure clamd run #dpkg-reconfigure clamav-base
#Please read /usr/share/doc/clamav-base/README.Debian.gz for details
LocalSocket /var/run/clamav/clamd.ctl
FixStaleSocket true
LocalSocketGroup clamav
LocalSocketMode 666
# TemporaryDirectory is not set to its default /tmp here to make overriding
# the default with environment variables TMPDIR/TMP/TEMP possible
User clamav
H4sIAEehoVMAA81c63PbRpL/fP4r5qzbspSjqIdjJ+e6+0DrkaiiB0+U7M1e3aWGwJCcCAQYDECJ
+euvf90zA4Ck4jjZZNdb61jAoKen36/Rzs6LnR11UuQTO1UTmxk1KUpVzYw6yfRcDT6oVJt5kWPV
MDPaGVUanfKKhFak/YS+3X2zp+Y6r3WmxoYAGGVSW9l8SuusY7h9gvDixY66z5NiPjd5Ja+KRWWL
XFWFMrke0/ZZMZ3Sh7RcXRbTc2A0r11FcNVjaSteE1CsnSlVWec5dhI88d1ATeosUwtdzRRtUZqf
aluaFK9OzUTXWfVOpdYBVPpiJ+xyUM0XB3IkwgGovl+pVNbzbvRUKEQwsyJ5MCkjAqyw/75flDyo
RVlUJqmc0lNtc1cRrIAlb0Anyiq7IFCVnRundu1EPWqQpMBCpfOCYJWyuKcWTHcCkhSLlVCe+VWX
mokHpHoqmel8avh1ONJSlxan7BHEFJAJBt4LqdSjJQLt7wuwfT6asGMPpLprscdTyzU0wDk9myJN
8yJS8z5nQqyMAyGv9JOd13Pl7M+0xaRDTUD4oLOaXxw2O/EaO7cVFnxf1CRfKzBcvbp6pYjsr+av
mPxzM9XjVQUqHl2p/1JHc/x1+OXXb756q/jFHgHA+V99Jx8+yIcPNivCh9/hmwf+8PhL/1Vf3RXK
LUxiJ0J0YE+gbC4L1I8Qy7TIX1WM17xI7cSa0vXVxSSwgE4+wqGJlCLfxE5IFwlEUQn3dj3HbvEg
#! /usr/bin/env python
# -*- coding: utf-8 -*-
#
# Interpreter version: python 2.7
#
# Imports =====================================================================
# Functions & classes =========================================================
class KwargObj(object):
https://www.abclinuxu.cz/blog/show/342492#71
https://www.abclinuxu.cz/blog/show/341911#2
https://www.abclinuxu.cz/blog/show/341911#3
https://www.abclinuxu.cz/blog/show/341911#5
https://www.abclinuxu.cz/blog/show/341911#7
https://www.abclinuxu.cz/blog/show/341911#19
https://www.abclinuxu.cz/blog/show/341911#20
https://www.abclinuxu.cz/blog/show/341911#26
https://www.abclinuxu.cz/blog/show/341911#32
https://www.abclinuxu.cz/blog/show/341911#62
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(custom-safe-themes (quote ("645599a2aab022fd7777124515a3104a60ba64d2bafdd77a6e7703f8ae97250c" default)))
'(minimap-hide-scroll-bar t)
'(minimap-window-location 'right)
'(show-paren-mode t)
'(tool-bar-mode nil))
#! /usr/bin/env python
# -*- coding: utf-8 -*-
#
# Interpreter version: python 2.7
#
# Imports =====================================================================
from reddit_filter import filter_feed
from reddit_filter import banned_pattern
#! /usr/bin/env python
# -*- coding: utf-8 -*-
#
# Interpreter version: python 2.7
#
# Imports =====================================================================
from reddit_filter import filter_feed
from reddit_filter import banned_pattern