AdVenture Capitalist PS4

This is basically what my weekend has been:

I’ve been sat staring at this screen for quite a while… not because I am sad, but because this game is so bloody addictive!

This is an actual screenshot from my game right now as I write this, it gets so annoying waiting for the money to rack up but also I’m not letting the trophy “The Great AdVenture! – Unlock the 626th Achievement on Earth” get out of my sights now I’ve come so far.

Even though there is a money glitch, which is actually really simple to do: While in the game, set the date of your PS4 system to the year 2000, go back into the game, wait about 15 seconds, close the game, change the date of PS4 to 2099 and then launch the game. INSTANT money. (You can repeat as many times as you want with this.)

Even still with the money glitch, it’s still addictive it just helps things move along quickly!

I have to say though, for a free game, it’s nice, simple, addictive so if you get addicted to things easily I wouldn’t recommend it 😉 the amount of times I’ve nearly thrown my controller with getting fed up of waiting. Best of all, the money still racks up if you are offline. It uses the PS4 clock to work out how long 😉

Everything Game – Review

If I was to describe this game in just a few words it would be “what the actual fuck” that was before I got playing it and actually got into it. It’s actually a really clever game, it makes me laugh, makes me smile, gets me thinking and also makes you think differently. Its so hard to explain.

This morning I’ve played as so many objects, creatures, trees, particles and the narration throughout the game is something else, this guy could read me a bed time story and I would have no issues falling asleep!

I’ve only been playing it for a good couple of hours today, for £11.99 I reckon I’ve had my moneys worth already! It’s nice to not actually have set objectives, to free roam around as well EVERYTHING!

I’ve not much more to say at the minute but as I’m currently floating around the sky as a set of leaves paired up with other leaves and breeding with them… here’s a thought.. if you want to play as anything and everything give this game a go.

SharePoint 2010 PowerShell incompatibility with .NET 4.X

There is a known compatibility issue with SharePoint 2010 and Windows Management Framework 4.0 (WMF), which also includes PowerShell 3.0. If you install these components on a server that also runs SharePoint 2010, you may encounter errors when running SharePoint PowerShell cmdlets:

PS C:\> Add-PSSnapin Microsoft.SharePoint.PowerShell
The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered.

PS C:\> Get-SPEnterpriseSearchServiceApplication
Get-SPEnterpriseSearchServiceApplication : Microsoft SharePoint is not supported with version 4.0.30319.1008 of the Microsoft .Net Runtime.

Although this is not a supported configuration, there is a workaround to force PowerShell 2.0 documented in KB 2796733 – SharePoint 2010 Management Shell does not load with Windows PowerShell 3.0

What isn’t mentioned in the KB article is a different combination when this issue can occur, even if WMF 4.0 isn’t installed. If your PowerShell version is 2.0 but configured to run with .NET 4.x CLR, you will still see the errors.

The $PSVersionTable will show the version of PowerShell and .NET that is being used.  If it shows a CLRVersion of 4.x, you will probably still have problems running SharePoint 2010 cmdlets:

PS C:\> $PSVersionTable

Name   Value
—-   —–
PSVersion  2.0
CLRVersion  4.0.30319.1008

You can override the .NET CLR version with these steps:

  1. Create or edit a file at $pshome\powershell.exe.config
    1. If you use the ISE, also do the same for powershell_ise.exe.config
  2. Insert or edit the contents so that the line for the v2.x supportedRuntime is listed before the v4.x line.

    <?xml version=”1.0″?>
    <configuration>
    <startup useLegacyV2RuntimeActivationPolicy=”true”>
    <supportedRuntime version=”v2.0.50727″/>
    <supportedRuntime version=”v4.0.30319″/>
    </startup>
    </configuration>

  3. Save the file and reopen any previous PowerShell sessions
  4. Test by adding the SharePoint snap-in, and running some SharePoint cmdlets, e.g.

    Add-PSSnapin Microsoft.SharePoint.PowerShell

This is similar to the procedure described in this post, but with forcing .NET version 2.x instead of version 4.x.

If this helps you, or if you still encounter these issues when running SharePoint 2010 PowerShell cmdlets, please post a comment or send me an e-mail.

CREDIT: https://blogs.technet.microsoft.com/alexsearch/2013/12/11/sharepoint-2010-powershell-incompatibility-with-net-4-x/

SharePoint 2010 Survey Issue

I recently had a problem where I have a site for hosting #SharePoint #Surveys. This was working amazingly with custom permissions so the users could only add items. The problem came when we introduced #branching into the questions. It appears that SharePoint creates the item after the first question so when the second one comes around the user will get “Access Denied” message. Obviously something as simple as this to fix shouldn’t have taken this long to figure out!

So if you have the same problem, just give your #PermissionLevels edit access as well as #AddItems – especially if you want to use branching!

Degraded Search SharePoint 2013

So recently I came across this error within #SharePoint2013.

Search service overall state: Degraded

1

This was actually really easy to fix for me in this instance.  Both of my WFE’s had run out of space on the Index #LUNs. As soon as I expanded the disk, the #Degraded warning triangle disappeared!

Nice and simple but make sure you check this before resetting the Index.

Atkins so far…

Well I’ve been doing the Atkins diet for a couple of weeks now and I can already tell a huge difference in how I look and feel. I know you are only supposed to do #Induction #Phase1 for a couple of weeks but I’ve decided I’m going to continue for another couple of weeks before I go to #Ibiza.

I had a moment of weakness last night, I went out for a few drinks #CoorsLight with it only being 4 carbs per pint, I ended up having about 6, a cheeseburger and chips and a pizza come last night! It’s fair to say I am well and truly out of #Ketosis! I don’t mind though, It’s just what was needed and has given me the boost to do another 2 weeks really hardcore.

I’ll be glad when I get to the end of this, but I really do think it’s the best way to change your diet, eating habits and to lose weight quickly!

I’ve noticed a huge drop in my body fat (according to my #Withings WIFI scales) and also about 10lbs off what I weigh, so it’s worth it when you start seeing results like that! Hopefully I will lose just over a stone on the next couple of weeks!

Pokemon Go + 30yo Male

Well today has been an interesting day, for some time I have wondered what the whole #PokemonGO phase was about so I decided to put the app on my phone. BIG MISTAKE.

Seriously you have to go around and see rustling in bushes which means there could be a Pokemon about. The aim is to catch as many different ones as you can. When you come across a Pokemon you have to try and capture it. This happens by throwing a ball and trying to capture the creature.

It’s so addictive, me and 3 other mates all grown men walking around the office carpark trying to find these Pokemon! I don’t even like Pokemon!

I ever found one at my desk at work!

So yeah…if you want to have a life, not get addicted then DO NOT download the app onto your phone. Your life will be over!

Restart SharePoint 2013 Workflows with PowerShell

Recently I had an issue where my #SharePoint list #workflows wouldn’t run and were in suspended state. The reason for the suspended state was an item already existed in the destination folder where the workflow was supposed to move the file to.

I tried lots of tricks to get the workflows to automatically start, I had about 250 instances of this happening and no scripts I found online would resolve this issue. They just wouldn’t cancel / resume.

In the end I removed the workflow from the list (which killed all instances) and then republished. Perfect. Now how to start them all again? Hmm

Well because these are #SharePoint2013 Workflows that run on a workflow management server, the normal scripts for starting them are different. To cut it short, use the following #script and all should be good.

$sourceWebURL = ‘http://YourURL
$sourceListName = ‘YourListName
$TargetWorkflow = ‘YourWorkflowName
$spSourceWeb = Get-SPWeb $sourceWebURL
$spSourceList = $spSourceWeb.Lists[$sourceListName]
$items = $spSourceList.getItems()

# Getting a Workflow manager object to work with.
$wfm = New-object Microsoft.SharePoint.WorkflowServices.WorkflowServicesManager($spSourceweb)
# Getting the subscriptions
$sub = $wfm.GetWorkflowSubscriptionService()
# Getting the specific workflow within the list of subscriptions on the specific list. (SP2010 associated workflows basically)
$WF = $sub.EnumerateSubscriptionsByList($spSourcelist.ID) | Where-Object {$_.Name -eq “$TargetWorkflow”}
# Getting a Workflow instance in order to perform my commands.
$wfis=$wfm.GetWorkflowInstanceService()

Foreach($item in $items){
# Creating the dictionary object I need to parse into StartWorkflow. This could be most other workflow commands.
$object = New-Object ‘system.collections.generic.dictionary[string,object]’
$object.Add(“WorkflowStart”, “StartWorkflow”);
$wfis.StartWorkflowOnListItem($WF, $item.ID, $object)
}

All you need to do is edit the BOLD text above and you should be on your way. Copy and Paste it into PowerShell ISE and save as PS1. Then run the file through the SharePoint 2013 Management Shell.

Good Luck!

Creating default SharePoint permissions groups (Hostname site collection)

When you create a #Hostname #SiteCollection within SharePoint 2013 you will notice that the default user groups aren’t there. This is because they aren’t created when you use #PowerShell to create a hostname site collection.

To get these groups back, this can be done via PowerShell or simply doing the following:

Navigate to http://yoursitename/_layouts/15/permsetup.aspx

From this page you will see the following:

groups

Simply click on OK and the groups will be available.

The important part of the URL is

_layouts/15/permsetup.aspx

Have fun with your permissions!

NextScripts: Social Networks Auto-Poster

Oh for some time now I have been using NextScripts: Social Networks Auto-Poster, thisplugin allows me to automatically post blog posts to social networks. It’s quite handy but recently I noticed a lot of my posts weren’t being sent. Now because I don’t really use the WordPress interface, I use a third party blogging tool, I wasn’t aware there was an issue. Until I went to install some more plugins. I noticed this particular one was stating

“Not Enough Memory allowed for PHP. You have 32 MB. You need at least 64MB”

Because I run all my websites on my own server I couldn’t contact the hosting company because… I guess I am the hosting company. So a little digging around and I found that I needed to edit the php.ini file on my server. Easier said that done when you don’t know where it is… so I did a little digging around and came up with the following:

SSH into your server (if unix) with the following:

ssh username@domain.com

Then run the following command to locate the PHP.ini file:

php –ini

This will display where you php.ini file is and can be edited with the following command:

nano /usr/local/lib/php.ini

The above location may be different for you depending on your server but when you launch the following command the php.ini file will be opened within the editor and about half way down the file you will notice a memory option which is set to 32mb as default. Simply change this to 64mb and write out the file to save.

I didn’t need to reboot my server or restart any services, the changes were done instantly and the plugin started working again!

Until next time!