Skip to content

Instantly share code, notes, and snippets.

View menached's full-sized avatar

David Menache menached

View GitHub Profile
@menached
menached / index.php
Last active August 29, 2015 14:21 — forked from Skalman/index.php
<?php
if (!isset($_GET['url'])) {
?>
<!DOCTYPE html>
<meta charset="utf-8">
<title>Youtube RSS creator</title>
<form>
<p>Create an RSS feed for the videos on the following page:
<p><input name="url" placeholder="E.g. https://www.youtube.com/user/scishow/videos" style="width: 30em">
<!DOCTYPE html>
<html>
<head>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript"></script>
</head>
<body>
<div id="container" style="width:100%;">
<div class="fb-like-box" data-href="https://www.facebook.com/adobegocreate" data-width="292" data-show-faces="true" data-stream="true" data-header="true"></div>
</div>

Chef Bootstrapper For SuSE/SLES

Installation

Note: Run this script as the root user (no sudo calls are used in the script).

You will need the curl package installed, though I would have no idea why it wouldn't be installed by default:

zypper --non-interactive install curl

Chef Bootstrapper For SuSE/SLES

Installation

Note: Run this script as the root user (no sudo calls are used in the script).

You will need the curl package installed, though I would have no idea why it wouldn't be installed by default:

zypper --non-interactive install curl

@menached
menached / fetch_user_cdrs.sh
Last active September 27, 2015 05:48 — forked from andyfowler/nutshell-post-api-example.html
See pbx.doap.com:/usr/sbin syntax: $ ./fetch_user_cdrs.sh username
#/bin/sh
#daves shiny new script
#/usr/sbin/fetch_user_cdrs.sh
echo "Fetch my call records from the database"