The goal:
You have AWS load-balancer with spot-instances. You need the engine starting spot instances automatically when existing ones die.
You have AWS load-balancer with spot-instances. You need the engine starting spot instances automatically when existing ones die.
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
>> 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
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
--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.
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.
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.
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
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
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.
"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.
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.
"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.
"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.
"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.
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
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( $
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.
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.
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
- 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
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
>>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.
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
>>(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
you are on computerA, SharePoint is on computerB
on computerA:
>>Enter-PSSession -Computer computerB
>>Add-PsSnapin Microsoft.Sharepoint.PowerShell
Enjoy :)
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
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.
"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
Advanced Functions
Modules
Help
Remoting
Eventing
Integrated Script Editor (debugging)
Transaction support
>>function test ($x) { &$x(3) }
>>test { param($x) $x + 2 }
5
:)
>>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
- 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.
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.
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.
Add a comment