Skip to content

Instantly share code, notes, and snippets.

View khalilovcmd's full-sized avatar
🏠
Working from home

Tarek Khalil khalilovcmd

🏠
Working from home
View GitHub Profile
@khalilovcmd
khalilovcmd / python-pip-installation.sh
Last active December 9, 2015 11:13
Installing Python + Pip on debian
sudo apt-get install python-pip python-dev build-essential
sudo pip install --upgrade pip
@khalilovcmd
khalilovcmd / randomizer.cs
Last active September 22, 2022 10:24
Generate a number of random ascii characters in C#
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
@khalilovcmd
khalilovcmd / Start-HDInsight-Services.ps1
Created October 1, 2015 04:42
Stopping HDInsight Emulator Services on Windows (Powershell)
$services = Get-Service -DisplayName Apache*
foreach ($i in $services)
{
Start-Service $i.ServiceName
}
@khalilovcmd
khalilovcmd / hacker rank - comparing two lists of numbers (finding the missing numbers in one list)
Created June 14, 2015 16:50
hacker rank - comparing two lists of numbers (finding the missing numbers in one list)
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
// sample input
// 10
// 203 204 205 206 207 208 203 204 205 206
// 13
@khalilovcmd
khalilovcmd / hacker rank - depth first search (graph)
Created June 13, 2015 20:09
hacker rank - depth first search (graph)
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace ConnectedCellGrid
{
class Program
{