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
# Last Modified: Sat May 2 15:06:08 2015 | |
#include <tunables/global> | |
/usr/bin/skype { | |
#include <abstractions/audio> | |
#include <abstractions/base> | |
#include <abstractions/dbus> | |
#include <abstractions/fonts> | |
#include <abstractions/kde> | |
#include <abstractions/nameservice> |
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
sudo apt-get install build-essential libssl-dev libffi-dev python-dev | |
sudo -H pip install --upgrade pyOpenSSL pycrypto MarkupSafe oauthlib PyYAML Jinja2 | |
sudo -H pip install --upgrade ansible |
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
COLUMN TABLE_NAME FORMAT A32 | |
COLUMN OBJECT_NAME FORMAT A32 | |
COLUMN OWNER FORMAT A10 | |
SELECT | |
owner, | |
table_name, | |
TRUNC(sum(bytes)/1024/1024) Meg, | |
ROUND( ratio_to_report( sum(bytes) ) over () * 100) Percent | |
FROM |
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
#!/usr/bin/env python | |
"""Simple HTTP Server With Upload. | |
This module builds on BaseHTTPServer by implementing the standard GET | |
and HEAD requests in a fairly straightforward manner. | |
""" |
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
select classs_name, | |
E'import lombok.Data;\n\n' || | |
E'@Data\npublic class ' || classs_name || E' {\n' || string_agg(field_string, '') || E'}\n' | |
from ( | |
select classs_name, | |
' private ' || type || ' ' || lower(substring(field_name, 1, 1)) || substring(field_name, 2) || | |
E';\n' | |
as field_string | |
from (select replace(initcap(table_name), '_', '') as classs_name, | |
case |
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
# To extract the audio stream without re-encoding: | |
ffmpeg -i input-video.avi -vn -acodec copy output-audio.aac |