Skip to content

Instantly share code, notes, and snippets.

Silvere Letellier silveur

Block or report user

Report or block silveur

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@silveur
silveur / deploy.sh
Created Dec 7, 2017
Deploy script from post-receive with nvm
View deploy.sh
#!/bin/bash
set -u
set -e
export NVM_DIR="$HOME/.nvm"
. "$NVM_DIR/nvm.sh"
target_branch="master"
working_tree=""
View gist:aa9f21bf0d68e7155eba903266ec7228
<script src="http://widget.mixcloud.com/media/js/widgetApi.js" type="text/javascript"></script>
<iframe id="mixcloudPlayer" width="100%" height="120" frameborder="0" src="https://www.mixcloud.com/widget/iframe/?feed=https%3A%2F%2Fwww.mixcloud.com%2Fspartacus%2Fparty-time%2F&hide_cover=1&light=1"></iframe>
<script type="text/javascript">
var widget = Mixcloud.PlayerWidget(document.getElementById('mixcloudPlayer'));
widget.getPosition().then(function(position) {
});
</script>
You can’t perform that action at this time.