This file contains 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 lang="en"> | |
<head> | |
<!-- Required meta tags --> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<!-- Bootstrap CSS --> | |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.2/css/bootstrap.min.css" integrity="sha384-Smlep5jCw/wG7hdkwQ/Z5nLIefveQRIY9nfy6xoR1uRYBtpZgI6339F5dgvm/e9B" crossorigin="anonymous"> | |
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/all.css" integrity="sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt" crossorigin="anonymous"> |
This file contains 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
const express = require('express') | |
const bparser = require('body-parser') | |
const app = express() | |
const port = process.env.PORT || 8080 | |
app.set('view engine','ejs') | |
app.use(express.static('public')) | |
app.use(bparser.urlencoded({extended : true})) | |
//pdf related |
This file contains 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
Sub MyMacro() | |
If MsgBox("This function will create a separate PDF file for every name you input in the To column (each PDF file will take approximately 1 second to create). Are you sure you want to continue?", _ | |
vbYesNo + vbQuestion) = vbNo Then | |
Exit Sub | |
End If | |
Dim srcSht As Worksheet, destSht As Worksheet | |
Dim lastRow As Long | |
Dim cel As Range, rng As Range |
This file contains 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
# How this works: | |
# | |
# 1. Assume the input is present in a local file (if the web service accepts input) | |
# 2. Upload the file to an Azure blob - you"d need an Azure storage account | |
# 3. Call BES to process the data in the blob. | |
# 4. The results get written to another Azure blob. | |
# 5. Download the output blob to a local file | |
# | |
# Note: You may need to download/install the Azure SDK for Python. | |
# See: http://azure.microsoft.com/en-us/documentation/articles/python-how-to-install/ |
This file contains 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
import re | |
from collections import Counter | |
import operator | |
import sys | |
import json | |
import time | |
start_time = time.clock() | |
This file contains 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
import re | |
from collections import Counter | |
import operator | |
import sys | |
input_file = open("./data/stream.txt", 'r') | |
result=[] | |
var = 0 |
This file contains 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
import re | |
from collections import Counter | |
import operator | |
import sys | |
input_file = open("./data/stream.txt", 'r') | |
list=[] | |
for line in input_file: | |
if re.findall(" RT ",line): | |
q=line.split()[0] |
This file contains 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 collections import Counter | |
import operator | |
input_file = open("./data/follows.txt", 'r') | |
wordcount = Counter(input_file.read().split()) | |
input_file.close() | |
most_popular_alien = max(wordcount.items(), key=operator.itemgetter(1)) |
This file contains 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 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><title>Forward Medical Center Strategic Plan - Part 2</title><meta name="author" content="Abdullah Albyati"/><style type="text/css"> * {margin:0; padding:0; text-indent:0; } | |
.s1 { color: #885E04; font-family:Impact, sans-serif; font-style: normal; font-weight: normal; text-decoration: none; font-size: 18pt; } | |
.s2 { color: #CD8B05; font-family:Impact, sans-serif; font-style: normal; font-weight: normal; text-decoration: none; font-size: 12pt; } | |
.p, p { color: black; font-family:Cambria, serif; font-style: normal; font-weight: normal; text-decoration: none; font-size: 12pt; margin:0pt; } | |
.s3 { color: #2C3A45; font-family:Cambria, serif; font-style: normal; font-weight: normal; text-decoration: none; font-size: 12pt; } | |
.s4 { color: #2C3A45; |
This file has been truncated, but you can view the full file.
This file contains 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
<script> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link href="data:text/css;charset=utf-8,html%7Bfont%2Dfamily%3Asans%2Dserif%3B%2Dwebkit%2Dtext%2Dsize%2Dadjust%3A100%25%3B%2Dms%2Dtext%2Dsize%2Dadjust%3A100%25%7Dbody%7Bmargin%3A0%7Darticle%2Caside%2Cdetails%2Cfigcaption%2Cfigure%2Cfooter%2Cheader%2Chgroup%2Cmain%2Cmenu%2Cnav%2Csection%2Csummary%7Bdisplay%3Ablock%7Daudio%2Ccanvas%2Cprogress%2Cvideo%7Bdisplay%3Ainline%2Dblock%3Bvertical%2Dalign%3Abaseline%7Daudio%3Anot%28%5Bcontrols%5D%29%7Bdisplay%3Anone%3Bheight%3A0%7D%5Bhidden%5D%2Ctemplate%7Bdisplay%3Anone%7Da%7Bbackground%2Dcolor%3Atransparent%7Da%3Aactive%2Ca%3Ahover%7Boutline%3A0%7Dabbr%5Btitle%5D%7Bborder%2Dbottom%3A1px%20dotted%7Db%2Cstrong%7Bfont%2Dweight%3A700%7Ddfn%7Bfont%2Dstyle%3Aitalic%7Dh1%7Bmargin%3A%2E67em%200%3Bfont%2Dsize%3A2em%7Dmark%7Bcolor%3A%23000%3Bbackground%3A%23ff0%7Dsmall%7Bfont%2Dsize%3A80%25%7Dsub%2Csup%7Bposition%3Arelative%3Bfont%2Dsize%3A75%25%3Bline%2Dheight%3A0%3Bvertical%2Dalign%3Abaseline%7Dsup |
NewerOlder