This is a question that comes up quite often by windows users, so thought we would share how we normally do it. The question is
Can you run a PostgreSQL server on your windows desktop/server box without having to install anything?
The answer is
| #!/bin/bash | |
| # Author: Maxwel Leite | |
| # Website: http://needforbits.wordpress.com/ | |
| # Description: Script to install Microsoft Vista TrueType Fonts (TTF) aka Microsoft’s ClearType fonts on Ubuntu distros | |
| # Microsoft added a group of new "ClearType Fonts" to Windows with Windows Vista and Office 2007. | |
| # These fonts are named Constantia, Corbel, Calibri, Cambria (and Cambria Math), Candara, and Consolas. | |
| # Calibri became the default font on Microsoft Word 2007, and it’s still the default font on Word 2016 today. | |
| # Dependencies: wget, fontforge and cabextract | |
| # Note: Microsoft no longer provides the PowerPoint Viewer 2007 (v12.0.4518.1014) or any version anymore for download | |
| # Tested: Ubuntu Saucy/Trusty/Xenial/Bionic |
| { | |
| "require": { | |
| "sunra/php-simple-html-dom-parser": "1.5" | |
| } | |
| } |
| #!/bin/bash | |
| # init only | |
| CONNECT_PID="" | |
| RUNNING="" | |
| # Provide required parameters | |
| FORTICLIENT_PATH="/opt/forticlient-sslvpn/64bit/forticlientsslvpn_cli" | |
| VPN_HOST="<HOST:PORT>" | |
| VPN_USER="<USER_NAME>" |
| Step 1. Make a copy of the spreadsheet in an empty directory. Rename the extension to .zip | |
| Step 2. Extract the zip file. | |
| Step 3. In the extracted contents, goto the folder \xl\worksheets\ | |
| Step 4. There should be one xml file per sheet? I editing "sheet1.xml" with NotePad++. From nearly the very end of the file, remove the tag that starts with: | |
| <sheetProtection | |
| My entire tag was as follows: | |
| <sheetProtection algorithmName="SHA-512" hashValue="ALciNBSIqRcjDiFbCuyWoGk4iOcC/ZRKnEjwEVi1skb6G5JbHhp+QVZ9+rlPVbGILOS7lYiCvJmR4Q7IuSphXA==" saltValue="8OVKXrG0VacLOLVztUpEYw==" spinCount="100000" sheet="1" objects="1" scenarios="1" selectLockedCells="1"/> | |
| Step 5. Save the file. Open the ZIP file in 7zip, find the same file, drag and drop, save, exit, rename the file back to (xlsx) and open |
| Windows Registry Editor Version 5.00 | |
| [HKEY_CLASSES_ROOT\Directory\shell\cmdprompt] | |
| @="@shell32.dll,-8506" | |
| "Extended"="" | |
| "NoWorkingDirectory"="" | |
| [HKEY_CLASSES_ROOT\Directory\shell\cmdprompt\command] | |
| @="cmd.exe /s /k pushd \"%V\"" |
| javascript | |
| ES6ValidationInspection | |
| JSAccessibilityCheckInspection | |
| JSBitwiseOperatorUsageInspection | |
| JSCheckFunctionSignaturesInspection | |
| JSClosureCompilerSyntaxInspection | |
| JSCommentMatchesSignatureInspection | |
| JSComparisonWithNaNInspection | |
| JSConsecutiveCommasInArrayLiteralInspection |
| DROP TABLE IF EXISTS time_dimension; | |
| CREATE TABLE time_dimension ( | |
| id INTEGER PRIMARY KEY, -- year*10000+month*100+day | |
| db_date DATE NOT NULL, | |
| year INTEGER NOT NULL, | |
| month INTEGER NOT NULL, -- 1 to 12 | |
| day INTEGER NOT NULL, -- 1 to 31 | |
| quarter INTEGER NOT NULL, -- 1 to 4 | |
| week INTEGER NOT NULL, -- 1 to 52/53 | |
| day_name VARCHAR(9) NOT NULL, -- 'Monday', 'Tuesday'... |
| using System; | |
| using System.Runtime.InteropServices; | |
| using System.Windows.Forms; | |
| /// <summary> | |
| /// A Windows text box control with a cue banner. | |
| /// </summary> | |
| public class CueTextBox : TextBox | |
| { | |
| /// <summary> |