Skip to content

Instantly share code, notes, and snippets.

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

Jagdeep Matharu JMatharu

🏠
Working from home
View GitHub Profile
class ContactsTree {
var root: Node
init() {
root = Node(Character("\0"))
root.isRoot = true
}
extension StringProtocol {
var splitByString: [SubSequence] {
return self.split(separator: " ")
}
func seperateByCharacter(_ char: Character) -> [SubSequence] {
return self.split(separator: char)
}
}
//
// LoginRegisterViewController.m
// CookBook
//
// Created by Jagdeep Matharu on 2017-01-23.
// Copyright © 2017 Jagdeep Matharu. All rights reserved.
//
#import "LoginRegisterViewController.h"
@JMatharu
JMatharu / minions.css
Created July 31, 2015 14:23
Minions CSS
* { margin: 0; padding: 0;}
body {
position: relative;}
.container {width: 970px;margin: 0 auto;padding-top: 70px;transition: ease 0.3s all;
-webkit-transition: ease 0.3s all;}
.container h1, h6 {text-align: center;color: #696969; font-family: tahoma;}
h6 {color:#BDBDBD; margin-bottom: 30px}
h6 a {text-decoration: none;color:#95A4B8;}
h6 a:hover {color:#6180A8;}
.bill {background: #f1cb48;
@JMatharu
JMatharu / index.html
Last active September 21, 2015 15:20
Minion_Base_Structure
<!DOCTYPE html>
<html>
<head>
<title>Minions</title>
<link rel="stylesheet" type="text/css" href="css/minions.css">
</head>
<body>
<div class="container">
<h1>Minions are here!!</h1>
<!-- Evil Starts Here -->
<div class="evil">
<ul class="evil_hair">
<li class="eh1"></li>
<li class="eh2"></li>
<li class="eh3"></li>
<li class="eh4"></li>
<li class="eh5"></li>
</ul>
<div class="eyes">
@JMatharu
JMatharu / Jerry_Minion.html
Created July 31, 2015 13:34
Minion Jerry (Middle)
<!-- Jerry Starts Here -->
<div class="jerry">
<div class="lights">
<span class="white_light"></span>
<span class="dark_light"></span>
</div>
<div class="jerry_hair">
<ul>
<li class="h1"></li>
<li class="h2"></li>
@JMatharu
JMatharu / Bill_Minion.html
Last active August 29, 2015 14:26
Minion Bill
<!-- Bill starts here -->
<div class="bill">
<div class="lights">
<span class="white_light"></span>
<span class="dark_light"></span>
</div>
<div class="hair">
<span class="hair1"></span>
<span class="hair1 make_it_left_hair1"></span>
<span class="hair2"></span>