<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Randall Kent</title>
	<atom:link href="http://randallkent.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://randallkent.com/</link>
	<description>Thoughts &#38; Findings</description>
	<lastBuildDate>Sat, 22 Oct 2022 19:39:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>
	<item>
		<title>How to Build an amd64 AND arm64 Docker image on a M1 Mac</title>
		<link>https://randallkent.com/2021/12/31/how-to-build-an-amd64-and-arm64-docker-image-on-a-m1-mac/</link>
					<comments>https://randallkent.com/2021/12/31/how-to-build-an-amd64-and-arm64-docker-image-on-a-m1-mac/#respond</comments>
		
		<dc:creator><![CDATA[Randall Kent]]></dc:creator>
		<pubDate>Fri, 31 Dec 2021 15:42:30 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[docker]]></category>
		<category><![CDATA[m1]]></category>
		<guid isPermaLink="false">https://randallkent.com/?p=544</guid>

					<description><![CDATA[<p>TLDR: Create a new builder instancedocker buildx create --use Build for multiple platforms, tag, and push to Dockerhub docker buildx build --platform linux/amd64,linux/arm64 --push -t &#60;tag_to_push&#62; . The backstory A while ago I was playing around with a nifty Open Source project called speed-camera which uses Python and OpenCV to track the speed of objects. [&#8230;]</p>
<p>The post <a href="https://randallkent.com/2021/12/31/how-to-build-an-amd64-and-arm64-docker-image-on-a-m1-mac/">How to Build an amd64 AND arm64 Docker image on a M1 Mac</a> appeared first on <a href="https://randallkent.com">Randall Kent</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading"><strong>TLDR</strong>:</h2>



<ol><li>Create a new builder instance</br><code>docker buildx create --use</code></li><li>Build for multiple platforms, tag, and push to Dockerhub </br><code>docker buildx build --platform linux/amd64,linux/arm64 --push -t &lt;tag_to_push&gt; .</code></li></ol>



<h2 class="wp-block-heading">The backstory</h2>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">A while ago I was playing around with a nifty Open Source project called <a href="https://github.com/pageauc/speed-camera">speed-camera</a> which uses Python and OpenCV to track the speed of objects.</p>



<p class="wp-block-paragraph">To make it easier to deploy, I created a docker Image for version 10.22 of the project, pushed it to dockerhub, and submitted a PR to let others benefit from it as well.</p>



<p class="wp-block-paragraph">Fast forward and the maintainer of speed hub is now @ version 11.22 but my docker image is still sporting 10.22. He asked me to update the image&#8230; Sure! No problem!</p>



<p class="wp-block-paragraph">So I pulled the repo to my machine bumped the version, created/tagged/pushed the new image to dockerhub. A day later, <a href="https://github.com/pageauc/speed-camera/pull/108#issuecomment-1003391396">someone mentioned</a> that it was built for arm64 and not amd64. Whoops! I recently got a new M1 Mac sporting that shinny and amazingly performant Apple Silicon and this didn&#8217;t cross my mind as this was the first docker image I&#8217;d pushed with my new Mac.</p>



<p class="wp-block-paragraph">So like any normal person, I headed over to Google which led me to a <a href="https://blog.jaimyn.dev/how-to-build-multi-architecture-docker-images-on-an-m1-mac/">blog post by Jaimyn</a> that gave me the commands needed to build the docker image for multiple platforms, linux/amd64 and linux/arm64 in my case. </p>



<p class="wp-block-paragraph">Something worth noting, <code>buildx</code> is no longer and &#8220;Experimental Feature&#8221; so you can drive right into creating the new builder instance with <code>docker buildx create --use</code></p>
<p>The post <a href="https://randallkent.com/2021/12/31/how-to-build-an-amd64-and-arm64-docker-image-on-a-m1-mac/">How to Build an amd64 AND arm64 Docker image on a M1 Mac</a> appeared first on <a href="https://randallkent.com">Randall Kent</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://randallkent.com/2021/12/31/how-to-build-an-amd64-and-arm64-docker-image-on-a-m1-mac/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Stop Xerox Product Registration from Launching Automatically</title>
		<link>https://randallkent.com/2019/03/02/stop-xerox-product-registration-from-launching-automatically/</link>
					<comments>https://randallkent.com/2019/03/02/stop-xerox-product-registration-from-launching-automatically/#comments</comments>
		
		<dc:creator><![CDATA[Randall Kent]]></dc:creator>
		<pubDate>Sat, 02 Mar 2019 21:32:02 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://randallkent.com/?p=532</guid>

					<description><![CDATA[<p>To use the fancy Xerox AltaLink C8055 Multifunction/All-in-one printer at my office, I installed the drivers from Xerox&#8217;s support site and was on my way! A few days later, I got an obnoxious &#8220;Xerox Product Registration&#8221; popup entitled &#8220;Xerox PowerENGAGE Registration&#8221; prompting to register the product, which doesn&#8217;t even belong to me. There weren&#8217;t any [&#8230;]</p>
<p>The post <a href="https://randallkent.com/2019/03/02/stop-xerox-product-registration-from-launching-automatically/">Stop Xerox Product Registration from Launching Automatically</a> appeared first on <a href="https://randallkent.com">Randall Kent</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">To use the fancy Xerox AltaLink C8055 Multifunction/All-in-one printer at my office, I installed the <a href="https://www.support.xerox.com/support/altalink-c8000-series/downloads/enus.html">drivers from Xerox&#8217;s support site</a> and was on my way!</p>



<p class="wp-block-paragraph">A few days later, I got an obnoxious &#8220;Xerox Product Registration&#8221; popup entitled &#8220;Xerox PowerENGAGE Registration&#8221; prompting to register the product, which doesn&#8217;t even belong to me. </p>



<figure class="wp-block-image"><img fetchpriority="high" decoding="async" width="687" height="691" src="https://cdn.randallkent.com/wp-content/uploads/2019/03/Screenshot-2019-03-02-16.02.40.png" alt="Screenshot of Xerox PowerENGAGE Registration: Xerox Product Registration" class="wp-image-533" srcset="https://cdn.randallkent.com/wp-content/uploads/2019/03/Screenshot-2019-03-02-16.02.40.png 687w, https://cdn.randallkent.com/wp-content/uploads/2019/03/Screenshot-2019-03-02-16.02.40-150x150.png 150w, https://cdn.randallkent.com/wp-content/uploads/2019/03/Screenshot-2019-03-02-16.02.40-298x300.png 298w" sizes="(max-width: 687px) 100vw, 687px" /></figure>



<p class="wp-block-paragraph">There weren&#8217;t any preferences and I didn&#8217;t see this application anywhere in System Preferences, so I started to dig deeper into how I could remove this parasite from my machine.</p>



<p class="wp-block-paragraph">I came across an article, <a href="https://www.makeuseof.com/tag/hidden-launchdaemons-launchagents-mac/">How to Catch and Remove Hidden LaunchDaemons and LaunchAgents on Mac</a>, which walked me through how to search for where this application was coming from. Sure enough, in,<code>~/Library/LaunchAgents</code> I discovered two files:</p>



<ul class="wp-block-list"><li><code>com.aviatainc.powerengage.helper.XRTK.plist</code></li><li><code>com.aviatainc.powerengage.XRTK.plist</code></li></ul>



<p class="wp-block-paragraph">After deleting these two files and the installed Xerox Applications list below, I haven&#8217;t seen the popup again! <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f389.png" alt="🎉" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>



<ul class="wp-block-list"><li><code>~/Applications/Xerox PowerENGAGE</code></li><li><code>~/Applications/XeroxPEInstallationCompanion</code></li></ul>
<p>The post <a href="https://randallkent.com/2019/03/02/stop-xerox-product-registration-from-launching-automatically/">Stop Xerox Product Registration from Launching Automatically</a> appeared first on <a href="https://randallkent.com">Randall Kent</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://randallkent.com/2019/03/02/stop-xerox-product-registration-from-launching-automatically/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Retiring: This instance is scheduled for retirement after xx/xx/xxxx</title>
		<link>https://randallkent.com/2015/01/09/retiring-instance-scheduled-retirement/</link>
					<comments>https://randallkent.com/2015/01/09/retiring-instance-scheduled-retirement/#comments</comments>
		
		<dc:creator><![CDATA[Randall Kent]]></dc:creator>
		<pubDate>Fri, 09 Jan 2015 19:37:31 +0000</pubDate>
				<category><![CDATA[Amazon EC2]]></category>
		<guid isPermaLink="false">https://randallkent.com/?p=491</guid>

					<description><![CDATA[<p>&#160; Quick resolution: Stop &#38; Start the instance For those interested in the whole story &#8230; We had an instance go down and upon logging into the AWS EC2 Management Console, we were confronted with this scarry message Naturally, we clicked &#8220;Troubleshoot&#8221; The Resolution seemed simple enough &#8211; Just Stop &#38; Start the instance; however, stopping the instance [&#8230;]</p>
<p>The post <a href="https://randallkent.com/2015/01/09/retiring-instance-scheduled-retirement/">Retiring: This instance is scheduled for retirement after xx/xx/xxxx</a> appeared first on <a href="https://randallkent.com">Randall Kent</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>&nbsp;</p>
<p><strong>Quick resolution</strong>: Stop &amp; Start the instance</p>
<p>For those interested in the whole story &#8230;</p>
<p>We had an instance go down and upon logging into the <a href="https://console.aws.amazon.com/ec2" target="_blank" rel="noopener">AWS EC2 Management Console</a>, we were confronted with this scarry message</p>
<p><img decoding="async" class="aligncenter wp-image-492" src="https://cdn.randallkent.com/wp-content/uploads/2015/01/Ms13nHPFwg4RNo7cotbwN5NCSd7jxAETXt48GPQnKf0.png" alt="Ms13nHPFwg4RNo7cotbwN5NCSd7jxAETXt48GPQnKf0" width="600" height="81" srcset="https://cdn.randallkent.com/wp-content/uploads/2015/01/Ms13nHPFwg4RNo7cotbwN5NCSd7jxAETXt48GPQnKf0.png 722w, https://cdn.randallkent.com/wp-content/uploads/2015/01/Ms13nHPFwg4RNo7cotbwN5NCSd7jxAETXt48GPQnKf0-300x40.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p>Naturally, we clicked &#8220;Troubleshoot&#8221;</p>
<p><img decoding="async" class="aligncenter wp-image-493" src="https://cdn.randallkent.com/wp-content/uploads/2015/01/Screenshot-2015-01-09-11.52.05.png" alt="Screenshot 2015-01-09 11.52.05" width="600" height="457" srcset="https://cdn.randallkent.com/wp-content/uploads/2015/01/Screenshot-2015-01-09-11.52.05.png 712w, https://cdn.randallkent.com/wp-content/uploads/2015/01/Screenshot-2015-01-09-11.52.05-300x228.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p>The Resolution seemed simple enough &#8211; Just <strong>Stop</strong> &amp; <strong>Start</strong> the instance; however, stopping the instance didn&#8217;t seem to work &#8211; It just hung at and instance state of &#8220;Stopping&#8221;</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-494" src="https://cdn.randallkent.com/wp-content/uploads/2015/01/Screenshot-2015-01-09-12.02.57.png" alt="Screenshot 2015-01-09 12.02.57" width="116" height="67" /></p>
<p>After waiting what seemed an eternity (~45 minute), the instance finally stopped, at which time we were able to start it back up &#8211; effectively clearing the issue of the instance being unreachable as well as its retirement.</p>
<p>The post <a href="https://randallkent.com/2015/01/09/retiring-instance-scheduled-retirement/">Retiring: This instance is scheduled for retirement after xx/xx/xxxx</a> appeared first on <a href="https://randallkent.com">Randall Kent</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://randallkent.com/2015/01/09/retiring-instance-scheduled-retirement/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Update Bandwidth Limit via Command Line</title>
		<link>https://randallkent.com/2013/04/26/update-bandwidth-limit-via-command-line/</link>
					<comments>https://randallkent.com/2013/04/26/update-bandwidth-limit-via-command-line/#respond</comments>
		
		<dc:creator><![CDATA[Randall Kent]]></dc:creator>
		<pubDate>Fri, 26 Apr 2013 21:30:22 +0000</pubDate>
				<category><![CDATA[cPanel]]></category>
		<guid isPermaLink="false">https://randallkent.com/?p=427</guid>

					<description><![CDATA[<p>If you&#8217;ve ever wanted to update the bandwidth limit via command-line, without needing to login to WHM, this post is for you! I was surprise with how simple this was. Manually edit line beginning with &#8220;BWLIMIT=&#8221; in /var/cpanel/users/ Get your modification recognized by running the script below /scripts/updateuserdomains There is no step 3!</p>
<p>The post <a href="https://randallkent.com/2013/04/26/update-bandwidth-limit-via-command-line/">Update Bandwidth Limit via Command Line</a> appeared first on <a href="https://randallkent.com">Randall Kent</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If you&#8217;ve ever wanted to update the bandwidth limit via command-line, without needing to login to WHM, this post is for you! I was surprise with how simple this was.</p>
<ol>
<li>Manually edit line beginning with &#8220;BWLIMIT=&#8221; in <code>/var/cpanel/users/<username here></code></li>
<li>Get your modification recognized by running the script below
<pre lang="bash">/scripts/updateuserdomains</pre>
</li>
<li>There is no step 3!</li>
</ol>
<p>The post <a href="https://randallkent.com/2013/04/26/update-bandwidth-limit-via-command-line/">Update Bandwidth Limit via Command Line</a> appeared first on <a href="https://randallkent.com">Randall Kent</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://randallkent.com/2013/04/26/update-bandwidth-limit-via-command-line/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>WHMCS &#8211; &#8220;Invalid Token&#8221; Error &#8211; Resolved!</title>
		<link>https://randallkent.com/2013/03/07/whmcs-invalid-token-error-resolved/</link>
					<comments>https://randallkent.com/2013/03/07/whmcs-invalid-token-error-resolved/#comments</comments>
		
		<dc:creator><![CDATA[Randall Kent]]></dc:creator>
		<pubDate>Thu, 07 Mar 2013 23:07:30 +0000</pubDate>
				<category><![CDATA[WHMCS]]></category>
		<guid isPermaLink="false">https://randallkent.com/?p=428</guid>

					<description><![CDATA[<p>For the impatient, simply upgrade to at least WHMCS 5.2.2! Per WHMCS support&#8230; In the latest version of WHMCS we introduced a new session handling class which includes a random session name per install. We also updated the standard WHMCS verify image to use this new class and not call session start itself. Full back-story [&#8230;]</p>
<p>The post <a href="https://randallkent.com/2013/03/07/whmcs-invalid-token-error-resolved/">WHMCS &#8211; &#8220;Invalid Token&#8221; Error &#8211; Resolved!</a> appeared first on <a href="https://randallkent.com">Randall Kent</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2>For the impatient, simply upgrade to at least WHMCS 5.2.2!</h2>
<p>Per WHMCS support&#8230;</p>
<blockquote><p>In the latest version of WHMCS we introduced a new session handling class which includes a random session name per install. We also updated the standard WHMCS verify image to use this new class and not call session start itself.</p></blockquote>
<p>Full back-story and resolution for those not running version 5.2.2, are unable to do the upgrade, or perhaps experienced trouble with this fix.</p>
<h2>For the impatient, simply add this line to the end of your <code>configuration.php</code> file.</h2>
<pre lang="php">session_name("WHMCS");</pre>
<h2>For those interested in the full story &#8230;</h2>
<p>Since right around the time we installed WHMCS version 5.1.2 in July 2012, we had been receiving an &#8220;Invalid Token&#8221; error periodically, yet quite regularly, when submitting a form on WHMCS (support ticket reply, invoice, etc.).</p>
<p>We opened a ticket with WHMCS support in August explaining the issue, hoping for that a response that would quickly resolve the issue. Unfortunately, that didn&#8217;t happen <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f641.png" alt="🙁" class="wp-smiley" style="height: 1em; max-height: 1em;" /> The support team kept saying the error was due to the PHP session expiring and that it was essentially an issue with the hosting provider. With session.gc_maxlifetime set to 24 minutes we were surprised to see the Session ID change after only a few minutes.</p>
<p>In March 2013, our team finally tracked down the cause of this issue &#8230;</p>
<p>WHMCS by default uses the PHPSESSID cookie to track its session. If there are any other PHP applications on the domain which use the same cookie, it can cause a conflict which in WHMCS results in an &#8220;Invalid Token&#8221; error. It took us a while to track this down as the other apps on the domain gracefully recovered from the shared cookie.</p>
<p>To resolve the issue, we added the line of code below to our <code>configuration.php</code> file.</p>
<pre lang="php">session_name("WHMCS");</pre>
<p>Now the session cookie is called WHMCS and does not conflict with the other PHP applications on the domain.</p>
<p>Did this help you? Show some love with a comment!</p>
<p>The post <a href="https://randallkent.com/2013/03/07/whmcs-invalid-token-error-resolved/">WHMCS &#8211; &#8220;Invalid Token&#8221; Error &#8211; Resolved!</a> appeared first on <a href="https://randallkent.com">Randall Kent</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://randallkent.com/2013/03/07/whmcs-invalid-token-error-resolved/feed/</wfw:commentRss>
			<slash:comments>20</slash:comments>
		
		
			</item>
		<item>
		<title>Configure Office365 Passwords to Not Expire</title>
		<link>https://randallkent.com/2012/11/23/configure-office365-passwords-to-not-expire/</link>
					<comments>https://randallkent.com/2012/11/23/configure-office365-passwords-to-not-expire/#respond</comments>
		
		<dc:creator><![CDATA[Randall Kent]]></dc:creator>
		<pubDate>Fri, 23 Nov 2012 18:31:21 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Office365]]></category>
		<guid isPermaLink="false">https://randallkent.com/?p=373</guid>

					<description><![CDATA[<p>**UPDATED 11/13/2013 to reflect usage of Windows Azure Active Directory Module for Windows PowerShell. Download &#38; install the Microsoft Online Services Sign-In Assistant for IT Professionals BETA Download &#38; install the Windows Azure Active Directory Module for Windows PowerShell (32-Bit &#124; 64-Bit) Launch PowerShell and ensure we have loaded the Office365 Module Import-Module msonline Connect to Office365 using Administrative Credentials [&#8230;]</p>
<p>The post <a href="https://randallkent.com/2012/11/23/configure-office365-passwords-to-not-expire/">Configure Office365 Passwords to Not Expire</a> appeared first on <a href="https://randallkent.com">Randall Kent</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>**UPDATED 11/13/2013 to reflect usage of Windows Azure Active Directory Module for Windows PowerShell.</p>
<ol>
<li style="padding-bottom: 10px;">Download &amp; install the <a href="http://www.microsoft.com/en-us/download/details.aspx?id=39267" target="_blank" rel="noopener">Microsoft Online Services Sign-In Assistant for IT Professionals BETA</a></li>
<li style="padding-bottom: 10px;">Download &amp; install the Windows Azure Active Directory Module for Windows PowerShell<br />
(<a href="http://go.microsoft.com/fwlink/p/?linkid=236298" target="_blank" rel="noopener">32-Bit</a> | <a href="http://go.microsoft.com/fwlink/p/?linkid=236297" target="_blank" rel="noopener">64-Bit</a>)</li>
<li>Launch PowerShell and ensure we have loaded the Office365 Module
<pre lang="PowerShell">Import-Module msonline</pre>
</li>
<li>Connect to Office365 using Administrative Credentials
<pre lang="PowerShell">$cred = Get-Credential
Connect-MsolService -cred $cred</pre>
</li>
<li>Set <strong>all</strong> user&#8217;s passwords to never expire
<pre lang="PowerShell">Get-MsolUser | Set-MsolUser -PasswordNeverExpires $True</pre>
<p style="margin: 0;">To set a single user&#8217;s password to not expire</p>
<pre lang="PowerShell">Set-MsolUser -UserPrincipalName user@domain.tld -PasswordNeverExpires $false</pre>
</li>
<li>Confirm users passwords are set to not expire (Optional)
<pre lang="PowerShell">Get-MsolUser | fl UserPrincipalName,PasswordNeverExpires</pre>
</li>
</ol>
<p>Thanks to Jan Egil for her great <a href="http://blog.crayon.no/blogs/janegil/archive/2011/05/10/administering_2D00_microsoft_2D00_office_2D00_365_2D00_using_2D00_windows_2D00_powershell.aspx" target="_blank" rel="noopener">blog post</a> which helped me figure this out and subsequently a <a href="http://technet.microsoft.com/en-us/library/jj151815.aspx" target="_blank" rel="noopener">TechNet article</a> for the 11/13/2013 update.</p>
<p>The post <a href="https://randallkent.com/2012/11/23/configure-office365-passwords-to-not-expire/">Configure Office365 Passwords to Not Expire</a> appeared first on <a href="https://randallkent.com">Randall Kent</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://randallkent.com/2012/11/23/configure-office365-passwords-to-not-expire/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Unable to remove user from Google Analytics</title>
		<link>https://randallkent.com/2012/10/25/unable-to-remove-user-from-google-analytics/</link>
					<comments>https://randallkent.com/2012/10/25/unable-to-remove-user-from-google-analytics/#respond</comments>
		
		<dc:creator><![CDATA[Randall Kent]]></dc:creator>
		<pubDate>Thu, 25 Oct 2012 21:37:23 +0000</pubDate>
				<category><![CDATA[Google]]></category>
		<guid isPermaLink="false">https://randallkent.com/?p=378</guid>

					<description><![CDATA[<p>I recently encountered an issue where I was unable remove a user from a Google Analytics profile. Immediate Googling was unsuccessful so I began playing around. Turns out, you cannot remove an administrator; you must first assign the &#8220;User&#8221; role to the account you wish to remove.</p>
<p>The post <a href="https://randallkent.com/2012/10/25/unable-to-remove-user-from-google-analytics/">Unable to remove user from Google Analytics</a> appeared first on <a href="https://randallkent.com">Randall Kent</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I recently encountered an issue where I was unable remove a user from a Google Analytics profile. Immediate Googling was unsuccessful so I began playing around. Turns out, you cannot remove an administrator; you must first assign the &#8220;User&#8221; role to the account you wish to remove.</p>
<p>The post <a href="https://randallkent.com/2012/10/25/unable-to-remove-user-from-google-analytics/">Unable to remove user from Google Analytics</a> appeared first on <a href="https://randallkent.com">Randall Kent</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://randallkent.com/2012/10/25/unable-to-remove-user-from-google-analytics/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Installing npm on EC2 &#8211; Error &#8220;npm cannot be installed without nodejs&#8221;</title>
		<link>https://randallkent.com/2012/04/04/install-npm-on-ec2-error-npm-cannot-be-installed-without-nodejs/</link>
					<comments>https://randallkent.com/2012/04/04/install-npm-on-ec2-error-npm-cannot-be-installed-without-nodejs/#comments</comments>
		
		<dc:creator><![CDATA[Randall Kent]]></dc:creator>
		<pubDate>Wed, 04 Apr 2012 23:10:53 +0000</pubDate>
				<category><![CDATA[Amazon EC2]]></category>
		<category><![CDATA[nodejs]]></category>
		<guid isPermaLink="false">https://randallkent.com/?p=356</guid>

					<description><![CDATA[<p>I was playing around with node.js on EC2 the other day and ran into some trouble installing npm. I was getting this error []$ curl http://npmjs.org/install.sh &#124; sudo sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 101 7881 101 7881 0 0 94200 0 [&#8230;]</p>
<p>The post <a href="https://randallkent.com/2012/04/04/install-npm-on-ec2-error-npm-cannot-be-installed-without-nodejs/">Installing npm on EC2 &#8211; Error &#8220;npm cannot be installed without nodejs&#8221;</a> appeared first on <a href="https://randallkent.com">Randall Kent</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I was playing around with node.js on EC2 the other day and ran into some trouble installing npm. I was getting this error</p>
<pre lang="bash">[]$ curl http://npmjs.org/install.sh | sudo sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
101  7881  101  7881    0     0  94200      0 --:--:-- --:--:-- --:--:--  148k
npm cannot be installed without nodejs.
Install node first, and then try again.

Maybe node is installed, but not in the PATH?
Note that running as sudo can change envs.

PATH=/sbin:/bin:/usr/sbin:/usr/bin</pre>
<p>My initial attempt at finding a resolution revolved around trying to update the path env setting used by sudo. After spending some fruitless time on this I switched gears and came across <a href="http://stackoverflow.com/users/189361/michael-dillon" rel="nofollow">Michael Dillon</a>&#8216;s Stack Overflow <a href="http://stackoverflow.com/a/5062718" rel="nofollow">post</a> which recommended setting up some symlinks to resolve the path issues. </p>
<pre lang="bash">sudo ln -s /usr/local/bin/node /usr/bin/node
sudo ln -s /usr/local/lib/node /usr/lib/node
sudo ln -s /usr/local/bin/npm /usr/bin/npm
sudo ln -s /usr/local/bin/node-waf /usr/bin/node-waf</pre>
<p>Minutes later npm was up and running!</p>
<p>The post <a href="https://randallkent.com/2012/04/04/install-npm-on-ec2-error-npm-cannot-be-installed-without-nodejs/">Installing npm on EC2 &#8211; Error &#8220;npm cannot be installed without nodejs&#8221;</a> appeared first on <a href="https://randallkent.com">Randall Kent</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://randallkent.com/2012/04/04/install-npm-on-ec2-error-npm-cannot-be-installed-without-nodejs/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Connect to Office365 with PowerShell (Exchange Online)</title>
		<link>https://randallkent.com/2012/03/27/connect-to-office365-with-powershell-exchange-online/</link>
					<comments>https://randallkent.com/2012/03/27/connect-to-office365-with-powershell-exchange-online/#respond</comments>
		
		<dc:creator><![CDATA[Randall Kent]]></dc:creator>
		<pubDate>Tue, 27 Mar 2012 18:43:01 +0000</pubDate>
				<category><![CDATA[Office365]]></category>
		<guid isPermaLink="false">https://randallkent.com/?p=346</guid>

					<description><![CDATA[<p>We were recently transitioned to Office365 and learned that certain settings and permissions did come across during the upgrade. This meant that some settings and permissions needed to be reconfigured via PowerShell. Back in the days of BPOS, you needed the Migration ToolKit installed in order to use any of the Microsoft Online related PowerShell [&#8230;]</p>
<p>The post <a href="https://randallkent.com/2012/03/27/connect-to-office365-with-powershell-exchange-online/">Connect to Office365 with PowerShell (Exchange Online)</a> appeared first on <a href="https://randallkent.com">Randall Kent</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>We were recently transitioned to Office365 and learned that certain settings and permissions did come across during the upgrade. This meant that some settings and permissions needed to be reconfigured via PowerShell. Back in the days of BPOS, you needed the Migration ToolKit installed in order to use any of the Microsoft Online related PowerShell Cmd-Lets. With Office365, you don&#8217;t need this! Instead, you need to open a server side connection to the cloud servers from your local machine. Below are the steps to do this.</p>
<ol>
<li>Load your Office365 credentials in a variable
<pre lang="bash">
$Cred = Get-Credential
</pre>
</li>
<li>Create a session variable which will configure a connection to the cloud servers
<pre lang="bash">
$Sess = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $Cred -Authentication Basic -AllowRedirection
</pre>
</li>
<li>Initialize the session
<pre lang="bash">
Import-PSSession $Sess
</pre>
</li>
<li>Run any of the Exchange Online Cmdlets found in the <a href="http://help.outlook.com/en-us/140/dd575549.aspx" rel="nofollow">documentation</a>.</li>
<li>Once you&#8217;re done running commands, you can close the session
<pre lang="bash">
Remove-PSSession $Sess
</pre>
</li>
</ol>
<p>Note: The guts of this post came from a <a href="http://help.outlook.com/en-us/140/cc952755.aspx" rel="nofollow">Microsoft Article</a> which I never was able to come across in my searching, but rather was pointed to via a service request.</p>
<p>The post <a href="https://randallkent.com/2012/03/27/connect-to-office365-with-powershell-exchange-online/">Connect to Office365 with PowerShell (Exchange Online)</a> appeared first on <a href="https://randallkent.com">Randall Kent</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://randallkent.com/2012/03/27/connect-to-office365-with-powershell-exchange-online/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install git on a cPanel Shared Hosting Account</title>
		<link>https://randallkent.com/2012/03/06/install-git-on-a-cpanel-shared-hosting-account/</link>
					<comments>https://randallkent.com/2012/03/06/install-git-on-a-cpanel-shared-hosting-account/#comments</comments>
		
		<dc:creator><![CDATA[Randall Kent]]></dc:creator>
		<pubDate>Tue, 06 Mar 2012 14:01:04 +0000</pubDate>
				<category><![CDATA[cPanel]]></category>
		<category><![CDATA[Development]]></category>
		<guid isPermaLink="false">https://randallkent.com/?p=330</guid>

					<description><![CDATA[<p>**NOTE** You will need to have compiler access on your shared hosting account in order for the instructions below to work. You can request your host enable this, or pass these instructions along to them and request they compile git for you. From SSH: cd wget http://git-core.googlecode.com/files/git-1.7.9.2.tar.gz tar zxvf git-1.7.9.2.tar.gz cd git-1.7.9.2 ./configure --prefix=/home/$USER make [&#8230;]</p>
<p>The post <a href="https://randallkent.com/2012/03/06/install-git-on-a-cpanel-shared-hosting-account/">Install git on a cPanel Shared Hosting Account</a> appeared first on <a href="https://randallkent.com">Randall Kent</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>**NOTE** You will need to have compiler access on your shared hosting account in order for the instructions below to work. You can request your host enable this, or pass these instructions along to them and request they compile git for you.</p>
<p>From SSH:</p>
<pre lang="bash">cd
wget http://git-core.googlecode.com/files/git-1.7.9.2.tar.gz
tar zxvf git-1.7.9.2.tar.gz
cd git-1.7.9.2
./configure --prefix=/home/$USER
make
make install
echo 'PATH=$PATH:$HOME/bin' >> $HOME/.bashrc
source $HOME/.bashrc</pre>
<p>If you get the error &#8220;bash: /usr/bin/wget: Permission denied&#8221; you can try downloading the git source with the command </p>
<pre lang="bash">curl -O http://git-core.googlecode.com/files/git-1.7.9.2.tar.gz</pre>
<p>The post <a href="https://randallkent.com/2012/03/06/install-git-on-a-cpanel-shared-hosting-account/">Install git on a cPanel Shared Hosting Account</a> appeared first on <a href="https://randallkent.com">Randall Kent</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://randallkent.com/2012/03/06/install-git-on-a-cpanel-shared-hosting-account/feed/</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Object Caching 0/136 objects using APC
Page Caching using APC (Page is feed) 
Content Delivery Network via Amazon Web Services: CloudFront: cdn.randallkent.com
Minified using APC
Database Caching using APC

Served from: randallkent.com @ 2026-06-06 18:18:55 by W3 Total Cache
-->