$ brew install clamav
$ cd /usr/local/etc/clamav
$ cp freshclam.conf.sample freshclam.confOpen freshclam.conf and comment the "Example" line:
| # Please be very careful while using this script, as the os.remove(file_path) command will delete the file permanently. | |
| # Make sure you have a backup of your iTunes library before running this script. | |
| # Also, this script will only prompt the user for deleting the duplicate files in the album that contains duplicate files. | |
| import os | |
| import hashlib | |
| itunes_library = "/path/to/iTunes/Library" | |
| # Create a dictionary to store file hashes |
| for run in {0001..0999}; do curl "https://inspirobot.me/api?generate=true" | xargs curl -o inspirobot-${run}.jpg; done |
| # $profile to find path i.e. NuGet_profile.ps1 | |
| $opt = (Get-Host).PrivateData | |
| $opt.WarningBackgroundColor = "Orange" | |
| $opt.WarningForegroundColor = "White" | |
| $opt.ErrorBackgroundColor = "Red" | |
| $opt.ErrorForegroundColor = "White" |
Updated 10 February 2015 (added link to Monster Traits and Actions)
This is the third in my series of conversion documents for D&D 5th Edition. (You can find the one for Next here and the one for 3.5/3E/Pathfinder here.) I created this document by comparing the 5E versions of monsters from the Monster Manual with their 2E counterparts. I also referred to two sources for converting monsters from 2E to 3E: Wizards’ official
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. |