Skip to content

Instantly share code, notes, and snippets.

View NonLogicalDev's full-sized avatar

Oleg Utkin NonLogicalDev

View GitHub Profile
^ # start of the line
http(s)? # http or https
:\/\/ # ://
(www\.)? # maybe www subdomain
[^\s]* # no spaces allowed
$ # end of the line
@NonLogicalDev
NonLogicalDev / gist:4201590
Created December 4, 2012 07:40
Negative pressure Unit Calculator (revised)
/**
* Calculate the amount of Negative pressure needed for a given size of an enclosed area.
* @authr Phoenix560.
* November 2012
*/
#include <iostream>
#include <cmath>
using namespace std;
@NonLogicalDev
NonLogicalDev / Stack.h
Created October 15, 2012 08:16
Stack Template -- My stab at purty coding.
// Lab Lab 8a (Calculator8)
// Programmer: Oleg Utkin
// Editor(s) used: Xcode
// Compliler(s) used: Xcode
//
#include <iostream>
#ifndef NULL
#define NULL reinterpret_cast<void *>(0)
<html>
<head>
<title>First Haml Page</title>
<meta charset='UTF-8' />
<style type='text/CSS'>
/* testing :sass */
.funky_text {
color: red;
font-weight: bold; }