$ brew install clamav
$ cd /usr/local/etc/clamav
$ cp freshclam.conf.sample freshclam.conf
Open freshclam.conf and comment the "Example" line:
A lot of important government documents are created and saved in Microsoft Word (*.docx). But Microsoft Word is a proprietary format, and it's not really useful for presenting documents on the web. So, I wanted to find a way to convert a .docx file into markdown.
On a mac you can use homebrew by running the command brew install pandoc
.
$reg = @{ | |
Path = 'Registry::HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments' | |
Name = 'SaveZoneInformation' | |
PropertyType = 'DWORD' | |
Value = 1 | |
} | |
if (-not (Test-Path -Path $reg.Path)) { | |
New-Item $reg.Path | |
} |
const {app, BrowserWindow} = require('electron') | |
const path = require('path') | |
const url = require('url') | |
// Keep a global reference of the window object, if you don't, the window will | |
// be closed automatically when the JavaScript object is garbage collected. | |
let win | |
function createWindow () { | |
// Create the browser window. |
# modules | |
Import-Module ActiveDirectory | |
if((Get-PSSnapin 'Microsoft.SharePoint.PowerShell' -ErrorAction SilentlyContinue) -eq $null){Add-PSSnapin 'Microsoft.SharePoint.PowerShell'} | |
# new service account | |
$UserName = "SharePoint Service User Wiki" | |
$UserUPN = "[email protected]" | |
$UserSam = "sa-spwiki" | |
$UserPassword = "pass." |
# Replace: | |
# DATABASE | |
# NAMED | |
# APPLICATION NAME | |
# hostheadername | |
# DOMAIN\USER | |
# DOMAIN\SP_FARM_ACCOUNT | |
# PATHNAME | |
# SITE COLLECTION NAME | |
# DIRECTORYPORT |