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
Jul 10 09:36:56 shinken kernel: [85623.557595] Swap cache stats: add 2979111, delete 2979027, find 343607/1192959 | |
Jul 10 09:36:56 shinken kernel: [85623.557603] Free swap = 8253616kB | |
Jul 10 09:36:56 shinken kernel: [85623.557607] Total swap = 8385920kB | |
Jul 10 09:36:56 shinken kernel: [85623.561022] 1048576 pages RAM | |
Jul 10 09:36:56 shinken kernel: [85623.561022] 20302 pages reserved | |
Jul 10 09:36:56 shinken kernel: [85623.561022] 301 pages shared | |
Jul 10 09:36:56 shinken kernel: [85623.561022] 944920 pages non-shared | |
Jul 10 09:36:56 shinken kernel: [85623.561022] Out of memory: kill process 15679 (nginx) score 15361 or a child | |
Jul 10 09:36:56 shinken kernel: [85623.561022] Killed process 15679 (nginx) | |
Jul 10 09:36:56 shinken kernel: [85623.665466] xe-update-guest invoked oom-killer: gfp_mask=0xd0, order=1, oom_adj=0 |
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
<Response> | |
<Speak language="el-GR" voice="WOMAN"> | |
Έχετε μία νέα παραγγελία. Μία πίττα γύρο κοτόπουλο. Δύο πατάτες τηγανιτές μερίδα. Μία κόκα κόλα ενάμιση λίτρο. Μία σοκολατίνα. Μία πίτσα μαργαριτα. Πιέστε ένα για να αποδεχθείτε την παραγγελία. Πιέστε δύο για να ακυρώσετε την παραγγελία. Πιέστε τρία για να επικοινωνήσετε απευθείας με τον πελάτη. | |
</Speak> | |
</Response> |
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
<?php | |
$app = new \Slim\Slim(); | |
$app->post('/message_receive', function () { | |
$req = $app->request(); | |
//The source number of the message. For eg.15671821841 | |
$from = $req->post('From'); | |
// The number to which the message was received at. For eg.15671821841 | |
$to = $req->post('To'); |
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
if (resp.Data != null) | |
{ | |
PropertyInfo[] properties = resp.Data.GetType().GetProperties(); | |
foreach (PropertyInfo property in properties) | |
Console.WriteLine("{0}: {1}", property.Name, property.GetValue(resp.Data, null); | |
} |
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
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://plivo.com/pycon/register/" data-text="Just registered for my free @plivo dev account at @PyCon! Stop by their booth to get yours or click here:" data-size="large" data-hashtags="gogreen">Tweet</a> | |
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> |
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 plivo | |
auth_id = "" | |
auth_token = "" | |
p = plivo.RestAPI(auth_id, auth_token) | |
# Make Calls | |
params = { | |
'from': '1212121212', # Caller Id |
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
var plivo = require('plivo'); | |
var p = plivo.RestAPI({ | |
"authId": "auth id comes here", | |
"authToken": "auth token comes here", | |
}); | |
var params = {}; | |
params.from = "1212121212"; | |
params.to = "replace with your endpoint"; | |
params.answer_url = "https://s3.amazonaws.com/static.plivo.com/speak.xml"; |
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
input { | |
file { | |
path => ["/var/log/account.log"] | |
format => "plain" | |
type => "syslog" | |
} | |
} | |
filter { | |
grok { |
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
<script type="text/javascript"> | |
window.analytics||(window.analytics=[]),window.analytics.methods=["identify","track","trackLink","trackForm","trackClick","trackSubmit","page","pageview","ab","alias","ready","group","on","once","off"],window.analytics.factory=function(a){return function(){var t=Array.prototype.slice.call(arguments);return t.unshift(a),window.analytics.push(t),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var method=window.analytics.methods[i];window.analytics[method]=window.analytics.factory(method)}window.analytics.load=function(a){var t=document.createElement("script");t.type="text/javascript",t.async=!0,t.src=("https:"===document.location.protocol?"https://":"http://")+"d2dq2ahtl5zl1z.cloudfront.net/analytics.js/v1/"+a+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n)},window.analytics.SNIPPET_VERSION="2.0.6", | |
window.analytics.load("jf8qeo7163"), | |
window.analytics.page(); | |
analytics.identify('kunal_fraud6', { | |
email : |
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
WARNING Segment.io request error | |
Traceback (most recent call last): | |
File "/usr/src/python_env/lib/python2.6/site-packages/analytics/client.py", line 71, in request | |
timeout=client.timeout) | |
File "/usr/src/python_env/lib/python2.6/site-packages/requests/api.py", line 88, in post | |
return request('post', url, data=data, **kwargs) | |
File "/usr/src/python_env/lib/python2.6/site-packages/requests/api.py", line 44, in request | |
return session.request(method=method, url=url, **kwargs) | |
File "/usr/src/python_env/lib/python2.6/site-packages/requests/sessions.py", line 361, in request | |
resp = self.send(prep, **send_kwargs) |