I am just curious whether there is an easter egg - inside joke, hidden message (image) or secret feature - that you have found in Sitecore in various versions.
Are there any?
Easter egg -> https://en.wikipedia.org/wiki/Easter_egg_(media)
I am just curious whether there is an easter egg - inside joke, hidden message (image) or secret feature - that you have found in Sitecore in various versions.
Are there any?
Easter egg -> https://en.wikipedia.org/wiki/Easter_egg_(media)
I have previously found 2 secret CLI commands in Sitecore JSS:
elephant-in-the-room:
> jss elephant-in-the-room
JSS CLI is running in global mode because it was not installed in the local node_modules folder.
_.-- ,.--.
.' .' /
| @ |'..--------._
/ \._/ '.
/ .-.- \
( / \ \
\\ '. | #
\\ \ -. /
:\ | )._____.' \
" | / \ | \ )
| |./' :__ \.-'
'--'
Won't someone please address me?
whats-the-password:
> jss whats-the-password
JSS CLI is running in global mode because it was not installed in the local node_modules folder.
Why it's b, of course.
Maybe not an easter egg, but MainUtil
class contains some "useful" methods like:
/// <summary>Returns false.</summary>
/// <returns></returns>
public static bool False()
{
return false;
}
/// <summary>
/// Returns <c>true</c>.
/// </summary>
/// <returns></returns>
public static bool True()
{
return true;
}
/// <summary>Determines whether the specified string is empty.</summary>
/// <param name="s">The s.</param>
/// <returns>
/// <c>true</c> if the specified string is empty; otherwise, <c>false</c>.
/// </returns>
public static bool IsEmpty(string s)
{
if (s != null)
return s.Length == 0;
return true;
}
/// <summary>No-op</summary>
public static void Nop(params object[] obj)
{
}
/// <summary>Touch</summary>
public static void Touch(params object[] obj)
{
}
/// <summary>
/// Method to call when doing silent catches. Causes the Resharper warning to disappear.
/// </summary>
public static void SilentCatch()
{
}
I was running some shell scripts to import data onto my website in Sitecore PowerShell ISE. And I found these.