The goal:

You have AWS load-balancer with spot-instances. You need the engine starting spot instances automatically when existing ones die.

6

First see if it is attached with:

>> sudo fdisk -l

Disk /dev/xvdf: 10.7 GB, 10737418240 bytes

Then format it (if you haven't already done it)

>> sudo mkfs -t ext4 /dev/xvdf

Create dir where it will be mounted:

>>mkdir /mnt

That's it you can mount it:

>>sudo mount /dev/xvdf /mnt

Check if it

6

If you run Google Chrome with these parameters:

--enable-logging --v=1 http://goo.gl/BL4bP

--user-data-dir http://goo.gl/BCkal

you get absolutely independent instance of Chrome logging a lot of interesting things and among them all calls from JavaScript to console.log, console.info, console.error

Pivotal Tracker is suitable for almost 100% for what I need to track 5 small teams: 4 in SPb and one in Zhuhai.

It is fast (rich JavaScript UI). It is very simple from usability perspective: rare case when you need to click twice to get what you need.

Started reading great book ‘JavaScript Patterns’ http://goo.gl/51wTa and want to share very interesting example from there.

The beginning is here “2.2.5.

There is a great article describing this Network Graph. https://github.com/blog/39-say-hello-to-the-network-graph-visualizer

I have no intent to repeat it here. Just want to say that It is very useful! It makes teams work very transparent.

You’ve got all your product on github, great! You have your local clone of github repository, even better!

But what will you do when your product is installed on testing virtual environment and you see a problem? Fix that on your dev machine in your local repository and then copy files to testing m

For communicating with remote github.com repository from your local clone you need SSH Keys.

“No one can be part of multiple jelled teams. The tight interactions of the jelled team are exclusive.

“You can’t protect yourself against your own people’s incompetence. If your stuff isn’t up to the job, you will fail.  Of course, if the people are badly suited to the job, you should get new people. But once you’ve decided to go with a given group, your best tactic is to trust them.

let data = [1;2;3;4]

let r1 =

data

|> List.map (fun x -> x + 1)

|> List.sum

printfn "Adding '1' using map and then summing = %A" r1

14

http://bit.ly/daF035

"The short version of Fitts' law, to save you all that tedious reading, is this:

- Put commonly accessed UI elements on the edges of the screen. Because the cursor automatically stops at the edges, they will be easier to click on.

- Make clickable areas as large as you can.

2

http://en.wikipedia.org/wiki/Software_Craftsmanship

"Software craftsmanship is an approach to software development that emphasizes the coding skills of the software developers themselves.

http://techcrunch.com/2010/03/15/ev-williams-sxsw/

"UH: What makes 21st century businesses different? Like Twitter? The first principle to me is experimentation. Why are you willing to explore different possibilities?

EW: Experimentation lets you create value.

http://gojko.net/2010/03/12/fit-vs-slim/

"For using acceptance tests as a guide for development, beware of overdoing it. I am very concerned about long-term maintenance costs of such tests.

http://googlewave.blogspot.com/2010/02/ten-tips-for-waving.html

Move through the unread messages in a wave by pressing the spacebar.

http://withaherring.blogspot.com/2010/03/waferslim-101-released.html

WEDNESDAY, 10 MARCH 2010

This is a bug fix release targeting:

- Undefined symbols in tables raise an exception

- Multi-line data in fitnesse table cells causes exception

- Test fails when __repr__ raises exception while loggin

Using the SharePoint 2010 Client Object Model - Part 1

http://goo.gl/mgOu

Tried it from powershell - doesn't work

This works:

>>Add-Type -Path Microsoft.SharePoint.Client.dll

>>$client = New-Object Microsoft.SharePoint.Client.ClientContext "http://sp2010dc"

This doesn't

>>$client.LoadQuery( $

from >>get-help about_functions

Any function can take input from the pipeline. You can control how a

function processes input from the pipeline using Begin, Process, and End

keywords.

- The Begin statement list runs one time only, at the beginning of the function.

http://technet.microsoft.com/en-us/library/dd315244.aspx

Applies To: Windows PowerShell 2.0

The Windows PowerShell Integrated Scripting Environment (ISE) is a host application for Windows PowerShell.

http://goo.gl/RpfJ

- Explain what exactly the end result will be

- Tell the customer what you will be doing

- Explain what the customer will need to do

- Outline anything the customer will experience (wait, discomfort, etc.)

- Call the customer by name to personalize the experience

- If tensio

just run this and check example 6

get-help start-job -examples

>>cd wsman:

>>ls

ComputerName Type

------------ ----

localhost Container

>>cd localhost

>>ls

Name Value

---- -----

MaxEnvelopeSizekb 150

MaxTimeoutms 60000

MaxBatchItems 32000

MaxProviderRequests 4294967295

Client

Service

Shell

Listener

Plugin

ClientCertificate

>> cd client

>> ls

http://sqlpsx.codeplex.com/

The primary goal of SQL Server PowerShell Extensions (SQLPSX) is to provide intuitive functions around the SMO objects which are backward compatible with SQL 2000. A secondary goal is to provide an application which reports flatten/effective security settings.

Search for what you need:

>>(Get-SPWeb "http://sp2010dc" ).RecycleBin | ?{$_.Title -match "cool"}

Web : Home

ID : b23d2d41-cd6a-4471-a891-c86f83563e11

ItemState : FirstStageRecycleBin

ItemType : ListItem

Title : Would be cool

DirName : Lists/Tasks

LeafName : 1_.000

Author : PRODUCT\administ

1

you are on computerA, SharePoint is on computerB

on computerA:

>>Enter-PSSession -Computer computerB

>>Add-PsSnapin Microsoft.Sharepoint.PowerShell

Enjoy :)

>>Invoke-Command -session $session {Get-Command Restore* | ?{$_.ModuleName -eq "Microsoft.SharePoint.PowerShell" } |select Name}

Restore-SPEnterpriseSearchServiceApplication

Restore-SPFarm

Restore-SPSite

>>Invoke-Command -session $session {Get-Command *Backup*|?{$_.CommandType -eq "CmdLet"}|sele

http://huddledmasses.org/powershell-modules/

"Modules appear destined to replace snapins as the main way to extend PowerShell.

http://huddledmasses.org/whats-new-in-powershell-2/

Advanced Functions

Modules

Help

Remoting

Eventing

Integrated Script Editor (debugging)

Transaction support

1

>>function test ($x) { &$x(3) }

>>test { param($x) $x + 2 }

5

:)

http://technet.microsoft.com/en-us/library/ee806878(office.14).aspx

- To retrieve a list of all SharePoint 2010 Products cmdlets using the Noun parameter, at the Windows PowerShell command prompt, type the following command: Get-Command –module Microsoft.SharePoint.PowerShell

- To retrieve a list

http://technet.microsoft.com/en-us/library/ee176842.aspx

Can’t remember the name of each and every Windows PowerShell cmdlet? Don’t worry about it; that’s one of the things Get-Command can help you with.

gets alphabetic listing of all currently defined aliases, want to assign alias? check Set-Alias

shows a list of all about documents, very helpful

powershell 2.0 and credssp, works just great

First I thought it is like Kerberos delegation. That is a pain, you have to do bunch of tricks with SPN and AD accounts. But credssp is much easier to turn on and use.

http://support.microsoft.com/kb/951608

CredSSP is a new Security Support Provider (SSP) that is available in Windows XP SP3 by using the Security Support Provider Interface (SSPI).

Very simple scenario

|import |

|powerslim|

!|scenario|given user: _ with password: _ |user, pwd |

|start |PowerShell |

|eval |^s = new-object -typeName System.Security.SecureString |

|eval |foreach(^a in "@pwd".ToCharArray()) { ^s.AppendChar( ^a ) } |

|eval |^creds = new-object -typename Syst

http://technet.microsoft.com/en-us/library/ee176955.aspx

Get-Process | select name,id

http://www.computerperformance.co.uk/powershell/powershell_where.htm

gwmi -list | ? {$_.name -match "Network"}

http://withaherring.blogspot.com/

This major release supports fitnesse release 2010-01-03 and slim protocol v0.1:

-Added support for delegating from fixture to system under test with fixture.sut()

-Added support for library fixtures

-Added EchoFixture for use as a library fixture

-Added support

http://www.hanselminutes.com/default.aspx?showID=169

There is no Fit anymore, but there is Fitnesse plus SLIM from Uncle Bob! Also interesting points about Domain Language. Do recommend.

http://gojko.net/2009/09/24/top-10-reasons-why-teams-fail-with-acceptance-testing/

...

http://www.computerperformance.co.uk/powershell/powershell_syntax.htm

"The fact that you almost don't need this page is a testament to the intuitive nature of PowerShell.

http://goo.gl/9hgU

"When you use the Get-Credential cmdlet, you get a GUI dialog box to enter the credentials. This is the "Common Criteria Certified" way of handling credentials. It is also a pain in the butt at times.

Something like this :)

$s = New-Object -TypeName System.Security.SecureString

$s.AppendChar( '1' )

$creds = new-object -typename System.Management.Automation.PSCredential -argumentlist product\Administrator, $s

invoke-command -ComputerName sp2010dc -Credential $creds {Get-Process}

Within the remoting session to computer B, we want to execute a command — as below — to create test.txt on computer C.

http://www.ravichaganti.com/blog/?p=1064

The Enable-PSRemoting cmdlet configures the computer to receive Windows PowerShell remote commands that are sent by using the WS-Management technology.

http://goo.gl/GVOa

"With Twitter going public with their plans to switch to Cassandra, a lot of people are asking if they should switch too.

http://technet.microsoft.com/en-us/library/cc263526(office.14).aspx

"SharePoint Server 2010 supports several Web browsers that are commonly used. However, certain browsers might cause some SharePoint Server 2010 functionality to be downgraded, limited, or available only through alternative steps.

if you are using netstat -a -b, then try "Resource Monitor", it looks very good.

Blog Archive
About Me
About Me
Loading