Whats the maximum number of virtual processor cores available in aws lambda
Memory: 3008 MB
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # Copyright (c) 2018, Said Sef. All rights reserved. | |
| # Use of this source code is governed by a BSD-style license that can be | |
| import boto3 | |
| import tempfile | |
| import logging | |
| from voices import Voices |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # Copyright (c) 2018, Said Sef. All rights reserved. | |
| # Use of this source code is governed by a BSD-style license that can be | |
| from flask import Flask, jsonify | |
| app = Flask(__name__) |
| #!/usr/bin/env groovy | |
| import java.util.* | |
| import groovy.util.XmlParser | |
| def pom = new File('pom.xml').getText('utf-8') | |
| def doc = new XmlParser().parseText(pom) | |
| def version = doc.version.text() | |
| println(version) |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # Copyright (c) 2018, Said Sef. All rights reserved. | |
| # Use of this source code is governed by a BSD-style license that can be | |
| __author__ = 'Said Sef' | |
| import hcl | |
| import json | |
| import yaml |
| import org.jsoup.Jsoup | |
| def document = Jsoup.connect('https://api.github.com/repos/saidsef/alpine-jenkins-dockerfile-demo/releases/latest')ignoreContentType(true).execute().body() | |
| def json = new groovy.json.JsonSlurper().parseText(document) | |
| println(json.tag_name) |
| #!/usr/bin/env python | |
| # Copyright (c) 2018, Said Sef. All rights reserved. | |
| # Use of this source code is governed by a BSD-style license that can be | |
| ## | |
| # You'll need to install pynput | |
| # pip install pynput | |
| ## | |
| from pynput.mouse import Button, Controller, Listener |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # Copyright (c) 2018, Said Sef. All rights reserved. | |
| # Use of this source code is governed by a BSD-style license that can be | |
| class Meminfo(object): | |
| def __init__(self): | |
| ''' Initialize Meminfo class ''' |
| { | |
| "swagger": "2.0", | |
| "info": { | |
| "version": "2017-11-17T04:40:23Z", | |
| "title": "TestVPCLink" | |
| }, | |
| "basePath": "/", | |
| "schemes": [ | |
| "https" | |
| ], |
Step-by-Step Guide how to install CI/CD with Docker Registry On Ubuntu 14.04 LTS from scratch.
docker run -d -p 5000:5000 --restart=always --name registry registry:2