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
// JsPDF: | |
// creating pdf using jspdf api's | |
createPDF(){ | |
const doc = new jsPDF(); |
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
from __future__ import division | |
# Define the data | |
data = set() | |
count = int(raw_input("Enter the number of data points: ")) | |
for i in range(count): | |
x=float(raw_input("X"+str(i+1)+": ")) | |
y=float(raw_input("Y"+str(i+1)+": ")) | |
data.add((x,y)) |
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
<!--progress page--> | |
<!-- Breadcrumb --> | |
<div > | |
<div *ngIf="loader===false" id="seconds" class="seconds"> | |
<div id="bar" class="bar animating"></div> | |
</div> | |
<ol class="breadcrumb"> | |
<li style="vertical-align: bottom;"> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
@import url(http://fonts.googleapis.com/css?family=Concert+One); | |
h1 { | |
animation:glow 10s ease-in-out infinite; | |
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
<!-- STARTING SCREEN --> | |
<header class="main-header"> | |
<div class="container"> | |
<h1> | |
<span>Rock,</span> | |
<span>Paper,</span> | |
<span>Scissors</span> | |
</h1> |
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/sh | |
while read old new branch | |
do | |
case "$new-$branch" in | |
000000000000000000*) | |
: echo "ignore deleted" | |
;; | |
*-refs/heads/live ) | |
echo "UPDATING LIVE SITE"; | |
git archive $new | ( |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no"/> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/> | |
<title>Mtc transit</title> | |
<style> | |
html{height:100%;} | |
body{height:100%;margin:0px;font-family: Helvetica,Arial;} | |
</style> |
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
<!DOCTYPE html> | |
<html> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script> | |
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,400italic"> | |
<link rel='stylesheet prefetch' href='https://cdn.gitcdn.link/cdn/angular/bower-material/v1.1.1/angular-material.css'> | |
<!-- <link rel="stylesheet" href="css/style.css"> --> | |
<body> | |
<style type="text/css"> | |
.carddemoBasicUsage .card-media { |
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
<!DOCTYPE html> | |
<html> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script> | |
<body> | |
<div ng-app="myApp" ng-controller="myCtrl"> | |
<!-- <p>{{orders}}</p> --> | |
<ul> | |
<li ng-repeat="order in orders.result track by $index"> | |
{{order.orderId}} , {{order.customerCode}} ,{{order.orderDateTime}} , |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>New style</title> | |
<style> | |
body { | |
background: #000; | |
font-family: 'Roboto'; | |
font-size: 5em; | |
color: #sdldps; |