Label » Programming

PostgreSQL [9.5.0] vs MariaDB [10.1.11] vs MySQL [5.7.0] year 2016


PostgreSQL vs MariaDB vs MySQL year 2016
http://ift.tt/210NP4p

Submitted February 13, 2016 at 05:27PM by vladmihalcea
via reddit http://ift.tt/1KMxn3S

Reddit

Simple & Dirty - Debug Rendering

Creating a reusable renderer of some type to display something you are working on is extremely useful.

One of the prime cases for this is when writing a physics engine. 202 kata lagi

Programming

What is the basic concept behind programming a bot? via /r/learnprogramming


What is the basic concept behind programming a bot?

So I would like to learn how people create bots. For example it should do something like this: Imaging playing a browser game and you have to wait hours until the quest is finished the bot will start the next one for you or if you want to buy a product on ebay and you don't have the time to bid for it, how are those bots working? 33 kata lagi

Summary for the week.

This was a very long week!

Most of my free time I was at the gym or on my combinatorics book learning fancy details about the… 768 kata lagi

C++

I'm bored. Want to write some code. Any requests? via /r/learnprogramming


I’m bored. Want to write some code. Any requests?

Ask, and I may just make it real.

Submitted February 13, 2016 at 04:14AM by baccheion… 7 kata lagi

The AWS Java documentation is ridiculous


The AWS Java documentation is ridiculous
http://ift.tt/1Tedbtc

Submitted February 13, 2016 at 12:55PM by AReallyGoodName
via reddit http://ift.tt/1SMLrxq

Reddit

Deleting List Items Through PowerShell

Use the following to delete items older than the specified date in CAML below and limiting to 500 all together.

$site = new-object Microsoft.SharePoint.SPSite("<a href="http://dhldepmweb01/PWA">http://dhldepmweb01/PWA</a>")

$web = $site.rootweb

$list = $web.Lists["Project Server Workflow Tasks"]

$caml='<Where>

<Leq>

<FieldRef Name="Created" />

<Value IncludeTimeValue="TRUE" Type="DateTime">2015-12-31T02:32:20Z</Value>

</Leq>

</Where>'

$query=new-object Microsoft.SharePoint.SPQuery

$query.Query=$caml | Write-Output

$items=$list.GetItems($query)

$listItemsTotal = $items.Count;

$count=0

#Limiting the deletion till 500 count

for($x=$listItemsTotal-1;$x -ge 0 -And $count -le 500; $x--)

{

$items[$x].Delete()

$count++

}

$web.Dispose()

$site.Dispose()
SharePoint