- From 10.11 or 10.12 systems, format an external hard drive with at least 500gb with "Mac Os Extended Journaled".
- Download High Sierra Beta and install it in the external hard drive.
- When the system reboots and finishes installation, it will boot from the external HD.
Go to Preferences and change
Startup Disk
to be main HD. - Reboot and press
Option
key when the computer makes a beep and select external HD to boot from it. - Once booted again into external HD, format main HD to be APFS.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// parse text to link-ify links, #hashtags, and @mentions | |
// input plain old text, get out the formatted text and info | |
// used by dankest.website and the dank platform https://github.com/cylesoft/dank | |
function parse_text($text) { | |
$home_url = 'https://dankest.website/'; | |
$link_regex = '/\b(https?:\/\/)?(\S+)\.(\S+)\b/i'; | |
$hashtag_regex = '/\#([^\s\#]+)/i'; | |
$mention_regex = '/\@(\S+)/i'; | |
$t = strip_tags($text); | |
$links_found = preg_match_all($link_regex, $t, $link_matches); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ Page Language="C#" AutoEventWireup="true" %> | |
<%@ Import Namespace="Sitecore.Jobs" %> | |
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head id="Head1" runat="server"> | |
<title>Running Sitecore Background Jobs</title> | |
<meta http-equiv="refresh" content="3" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ Page Language="C#" %> | |
<%@ Import Namespace="System.Diagnostics" %> | |
<%@ Import Namespace="System.Net" %> | |
<%@ Import Namespace="Sitecore.ContentSearch" %> | |
<%@ Import Namespace="Sitecore.Data" %> | |
<%@ Import Namespace="Sitecore.Data.Items" %> | |
<script runat="server"> | |
#region Configure actual checks here | |
ChecksSet ChecksRun { get; set; } | |
string[] Tags { get; set; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Lists the set reminders of all content elements. | |
.NOTES | |
Manuel Fischer | |
#> | |
function Get-AllItemsWithReminders { | |
Get-ChildItem -Path $homeFolder -Recurse | IsReminderSet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Quake 3 | |
// config for iMac 2.4 GHz Core 2 Duo | |
// custom aspect ratio for 1680x1050 wide-screen | |
// | |
seta r_mode "-1" | |
seta r_fullscreen "1" | |
seta r_customheight "1050" | |
seta r_customwidth "1680" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Based on http://fearby.com/article/update-openssl-on-a-digital-ocean-vm/ | |
$ sudo apt-get update | |
$ sudo apt-get dist-upgrade | |
$ wget ftp://ftp.openssl.org/source/openssl-1.0.2h.tar.gz | |
$ tar -xvzf openssl-1.0.2h.tar.gz | |
$ cd openssl-1.0.2h | |
$ ./config --prefix=/usr/ | |
$ make depend |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd /Applications/MAMP/Library/bin/ | |
$ ./mysql --host=localhost -uroot -proot target_database < ~/Desktop/database_name-dump.sql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'More information & instructions: | |
'https://swissmacuser.ch/microsoft-word-mail-merge-into-single-documents/ | |
Option Explicit | |
Sub MailMergeSaveEachRecordToFile() | |
' | |
' Save each single Mail Merge Record into a seperate Document | |
' | |
Dim rec, lastRecord As Integer | |
Dim docNameField, strDocName, savePath As String |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using System.Linq; | |
using Sitecore.Configuration; | |
using Sitecore.Data.Managers; | |
using Sitecore.Diagnostics; | |
using Sitecore.Globalization; | |
using Sitecore.Pipelines.HttpRequest; | |
using Sitecore.Web; | |
using Sitecore.Sites; |
OlderNewer