This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How are you Ashic Mahtab, | |
We are delighted to formally offer you an employment to work with us in our Company. We came across your resume at jobsite.co.uk. | |
The salary for position offered is 1500.00 GBP per month. The standard group benefit plans and fringe benefits will be covered. The job details will be provided to you with return e-mail. | |
Your working timetable will be Monday through Friday for 2-3 hours a day. Trial period - 30 working days from the day you apply. | |
Please report to HR Department at [email protected] if you agree to the specified terms and conditions. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Enable TCP - Must be run from SQL powershell | |
$MachineObject = new-object ('Microsoft.SqlServer.Management.Smo.WMI.ManagedComputer') . | |
$ProtocolUri = "ManagedComputer[@Name='" + (get-item env:\computername).Value + "']/ServerInstance[@Name='MSSQLSERVER']/ServerProtocol" | |
$tcp = $MachineObject.getsmoobject($ProtocolUri + "[@Name='Tcp']") | |
Write-Host "TCP current => $tcp.IsEnabled" -ForegroundColor Green | |
$tcp.IsEnabled = $true | |
$tcp.alter() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<settings> | |
<console change_refresh="10" refresh="100" rows="40" columns="160" buffer_rows="400" buffer_columns="0" shell="powershell.exe" init_dir="" start_hidden="0" save_size="0"> | |
<colors> | |
<color id="0" r="176" g="216" b="255"/> | |
<color id="1" r="0" g="0" b="128"/> | |
<color id="2" r="0" g="128" b="0"/> | |
<color id="3" r="0" g="128" b="128"/> | |
<color id="4" r="128" g="0" b="0"/> | |
<color id="5" r="128" g="0" b="128"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#wget http://s3.amazonaws.com/downloads.basho.com/riak/1.4/1.4.8/ubuntu/precise/riak_1.4.8-1_amd64.deb | |
#sudo dpkg -i riak_1.4.8-1_amd64.deb | |
#wget http://security.ubuntu.com/ubuntu/pool/main/c/curl/curl_7.22.0-3ubuntu4.7_amd64.deb | |
#sudo dpkg -i curl_7.22.0-3ubuntu4.7_amd64.deb | |
riak stop | |
rm -rf /var/lib/riak/ring/* | |
rm -rf /var/lib/riak/bitcask/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CamelCasedJsonAttribute : Attribute, IControllerConfiguration | |
{ | |
public void Initialize(HttpControllerSettings controllerSettings, | |
HttpControllerDescriptor controllerDescriptor) | |
{ | |
controllerSettings.Formatters.JsonFormatter | |
.SerializerSettings.ContractResolver = | |
new CamelCasePropertyNamesContractResolver(); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class VigilEngine | |
{ | |
private readonly Beam _beam; | |
public VigilEngine(Beam beam) | |
{ | |
_beam = beam; | |
Console.WriteLine("Creating engine. {0}", Thread.CurrentThread.ManagedThreadId); | |
while (true) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using dokimi.core; | |
using dokimi.core.dokimi.core.Specs.MessageBased; | |
using dokimi.core.Specs.MessageBased; | |
using dokimi.nunit; | |
using Infura; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Syndication.Client.Http | |
{ | |
public class CachingAdapter : HttpClientAdapter | |
{ | |
readonly HttpClient client; | |
public CachingAdapter(ICacheStore cacheStore, string[] defaultVaryHeaders) | |
{ | |
//http://msdn.microsoft.com/en-us/library/system.net.cache.requestcachelevel(v=vs.110).aspx | |
//http://blog.technovert.com/2013/01/httpclient-caching/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"TotalResults": 14, | |
"TotalPages": 3, | |
"Page": 1, | |
"_links": { | |
"self": { | |
"href": "/beers?page=1" | |
}, | |
"next": { | |
"href": "/beers?page=2" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class RmqReceiver(uname:String, | |
passwd: String, | |
vHost:String, | |
host:String, | |
qName:String, | |
topic:Option[String]) | |
extends Receiver[Array[Byte]](StorageLevel.MEMORY_AND_DISK_2) with Logging { | |