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
| sendEmailTest(from:string, to:string, subject:string, text:string, html:string, inlines:Array<any>):Promise<any> { | |
| var mailgunUrl = "https://api.mailgun.net/v3/" + this.domain + "/messages"; | |
| var mailgunApiKey = "api:key-e0b78e9e1c5e1c3135d3dfdf47ec2c60" | |
| var headers = new Headers(); | |
| headers.append('Authorization', "Basic " + mailgunApiKey); // base64 encoding is missing | |
| headers.append('Content-Type', "application/x-www-form-urlencoded"); | |
| //headers.append("enctype", "multipart/form-data"); |
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
| web: | |
| container_name: php7_apache_oci8 | |
| build: . | |
| ports: | |
| - "80:8888" | |
| volumes: | |
| - ./src:/var/www/html/ | |
| - ./conf/apache:/etc/apache2/sites-enabled/ | |
| - ./conf/php:/usr/local/etc/php/ | |
| links: |
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 php:7-apache | |
| MAINTAINER Fahim Shariar <fahim.shoumik@gmail.com> | |
| # installing required stuff | |
| RUN apt-get update \ | |
| && apt-get install -y unzip libaio-dev libmcrypt-dev git \ | |
| && apt-get clean -y | |
| # PHP extensions |
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
| import re | |
| class InputScanner(object): | |
| def __init__(self, filename, parse_function): | |
| with open(filename) as f: | |
| self.reversed_lines = list(reversed(f.read().split('\n'))) | |
| self.case_count = 0 | |
| self.total_cases = self.next_int() | |
| self.parse_function = parse_function |
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
| # HTML Part | |
| ` | |
| <form> | |
| <input type="post" method="server.asp" > | |
| <input type="submit" value="Submit"> | |
| </form> | |
| ` | |
| # Server Part |
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
| Verifying that +shoumik is my blockchain ID. https://onename.com/shoumik |
NewerOlder