In the name of God
This gist describes how to setup password protect web directories in Nginx docker containers.
To create the password file using the OpenSSL
utilities, run the following command in terminal:
sudo mkdir /etc/1password | |
echo vivaldi-bin | sudo tee /etc/1password/custom_allowed_browsers | |
sudo chown root:root /etc/1password/custom_allowed_browsers | |
sudo chmod 755 /etc/1password/custom_allowed_browsers |
!function(){window.WebComponents=window.WebComponents||{flags:{}};var a="webcomponents-lite.js",b=document.querySelector('script[src*="'+a+'"]'),c={};if(!c.noOpts){if(location.search.slice(1).split("&").forEach(function(a){var d,b=a.split("=");b[0]&&(d=b[0].match(/wc-(.+)/))&&(c[d[1]]=b[1]||!0)}),b)for(var e,d=0;e=b.attributes[d];d++)"src"!==e.name&&(c[e.name]=e.value||!0);if(c.log&&c.log.split){var f=c.log.split(",");c.log={},f.forEach(function(a){c.log[a]=!0})}else c.log={}}c.register&&(window.CustomElements=window.CustomElements||{flags:{}},window.CustomElements.flags.register=c.register),WebComponents.flags=c}(),function(a){"use strict";function f(a){return void 0!==d[a]}function g(){o.call(this),this._isInvalid=!0}function h(a){return""==a&&g.call(this),a.toLowerCase()}function i(a){var b=a.charCodeAt(0);return b>32&&b<127&&[34,35,60,62,63,96].indexOf(b)==-1?a:encodeURIComponent(a)}function j(a){var b=a.charCodeAt(0);return b>32&&b<127&&[34,35,60,62,96].indexOf(b)==-1?a:encodeURIComponent(a)}function n(a |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<!-- | |
Noto Mono + Color Emoji Font Configuration. | |
Currently the only Terminal Emulator I'm aware that supports colour fonts is Konsole. | |
Usage: | |
0. Ensure that the Noto fonts are installed on your machine. | |
1. Install this file to ~/.config/fontconfig/conf.d/99-noto-mono-color-emoji.conf |
def openfile_dialog(): | |
from PyQt4 import QtGui | |
app = QtGui.QApplication([dir]) | |
fname = QtGui.QFileDialog.getOpenFileName(None, "Select a file...", '.', filter="All files (*)") | |
return str(fname) |
dbfpy
: http://sourceforge.net/projects/dbfpy/files/latest/download?source=filessudo python setup.py install
To convert DBF file to CSV:
./dbf2csv database.dbf