Here is a collection of links to presentations and other resources shared during the last #APIDays2018 in Paris.
If you find some mistakes, or have any links to add to this list, feel free to add some comments, or contact me on Twitter or LinkedIn
| function scrapeGoogle() { | |
| var searchResults=UrlFetchApp.fetch("https://www.google.co.uk/search?q="+encodeURIComponent("keyword finder tool")+"&num=30",{muteHttpExceptions:true}); | |
| var titleExp=/<h3 class=\"r\">([\s\S]*?)<\/h3>/gi; | |
| var urlExpression=/<h3 class=\"r\">([\s\S]*?)\&\;/gi; | |
| var titleResults=searchResults.getContentText().match(titleExp); |
Here is a collection of links to presentations and other resources shared during the last #APIDays2018 in Paris.
If you find some mistakes, or have any links to add to this list, feel free to add some comments, or contact me on Twitter or LinkedIn
| alias babel-node='babel-node --presets stage-0' | |
| ------ RECV ------ | |
| // babel-node recv2.js "#" | |
| // babel-node recv2.js "kern.*" | |
| const amqp = require('amqplib'); | |
| const args = process.argv.slice(2); | |
| if (args.length == 0) { |
| #!/bin/bash | |
| # Author: Erik Kristensen, Lorenzo Gaggini | |
| # Email: erik@erikkristensen.com, lorenzo.gaggini@dada.eu | |
| # License: MIT | |
| # Nagios Usage: check_nrpe!check_docker_container!_container_id_ | |
| # Usage: ./check_docker_container.sh _container_id_ | |
| # | |
| # The script checks if a container is running and grab performance data | |
| # OK - running |
| #!/bin/bash | |
| # Author: Erik Kristensen | |
| # Email: erik@erikkristensen.com | |
| # License: MIT | |
| # Nagios Usage: check_nrpe!check_docker_container!_container_id_ | |
| # Usage: ./check_docker_container.sh _container_id_ | |
| # | |
| # Depending on your docker configuration, root might be required. If your nrpe user has rights | |
| # to talk to the docker daemon, then root is not required. This is why root privileges are not |
| #!/bin/sh | |
| # | |
| # <%=@service%> This shell script takes care of starting and stopping | |
| # the <%=@service%> service. | |
| # | |
| # chkconfig: 2345 65 35 | |
| # description: <%=@description%> | |
| # | |
| SERVICE=<%=@service%> |
| <?php | |
| class Post | |
| { | |
| protected $table = 'posts'; | |
| /** | |
| * You can define your own custom boot method. | |
| * | |
| * @return void | |
| **/ |