Skip to content

Instantly share code, notes, and snippets.

public static List<string> GetEmployeePaths()
{
List<string> employeePaths = new List<string>();
allEmployees = GetAllEmployees();
foreach (Employee employee in allEmployees)
{
employeePaths.Add(RecursivePathFinder(employee));
}
employeePaths.Sort();
List<Point> points = new List<Point>();
List<int> tempX = new List<int>();
List<int> tempY = new List<int>();
using (StreamReader reader = new StreamReader("Your_Source_File.SIG"))
{
while (!reader.EndOfStream)
{
Regex reg = new Regex(@"^\d+\s\d+$");
string checkLine = reader.ReadLine();
<script type="text/javascript">
$("#portfolioModal1").on('hidden.bs.modal', function (e) {
$("#portfolioModal1 #iframe1").attr("src", $("#portfolioModal1 #iframe1").attr("src"));});
</script>
@ralhamami
ralhamami / index.html
Last active May 1, 2016 16:58
Navbar Active Link Highlighting on Simple Single Page Application
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="#">Rayan Al-Hammami</a>
</div>
<ul class="nav navbar-nav navbar-right">
<li><a href="#">Home</a></li>
<li><a href="#1">About</a></li>
<li><a href="#2">Portfolio</a></li>
<li><a href="#3">Contact</a></li>