Ubuntu 12.10 setup (rbenv/RVM, Janus, PostgreSQL)
- Some utilities:
sudo apt-get install vim tmux git curl
- Copy/paste from the command line:
/** | |
* converted stringify() to jQuery plugin. | |
* serializes a simple object to a JSON formatted string. | |
* Note: stringify() is different from jQuery.serialize() which URLEncodes form elements | |
* UPDATES: | |
* Added a fix to skip over Object.prototype members added by the prototype.js library | |
* USAGE: | |
* jQuery.ajax({ |
sudo apt-get install vim tmux git curl
# Then this in Exchange Management Shell | |
$Location = "\\server\pstexport" | |
New-Item -path $Location -name "migrate.txt" -type File -force | |
Add-Content "$Location\migrate.txt" "datasourceuser,destinationuser" | |
# Create a hash table of Exchange mailboxes | |
$mailboxes = @{} | |
Get-Mailbox | Select-Object name, alias | | |
ForEach-Object { $mailboxes.Add($_.name, $_.alias) } |
Any commands in this guide are to be run on the CloudKey over SSH.
Do this through the web interface, create a local user with username & password (not email address). It doesn't matter what you set the password to, you'll never use it.
There's no option to set user permissions through the web interface for local users. We need to find out the ID of the View Only group...
psql -p 5433 -U unifi-protect unifi-protect -c "SELECT id from groups WHERE name='View Only';"
#!/usr/bin/env python | |
# Google Keep "Takeout" to Markdown Converter | |
# This allows you to convert your Google Keep notes that are downloaded from | |
# Google's "Takeout" system. This works with Nextcloud's Notes system. | |
from datetime import datetime | |
import json | |
import os | |
import shutil |