Skip to content

Instantly share code, notes, and snippets.


Jérôme Foray Meroje

View GitHub Profile
View dabblet.css
html {
margin: 0;
padding: 0;
border: 0;
body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,code,del,dfn,em,img,q,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,dialog,figure,footer,header,hgroup,nav,section {
margin: 0;
padding: 0;
Meroje / dabblet.html
Created May 9, 2012 — forked from anonymous/dabblet.html
HTML9 Responsive Boilerstrap JS
View dabblet.html
<script src="//"></script>
#!/bin/bash -ex
# Paste this into ssh
# curl -sL | tar -xzO | /bin/bash -ex
# When forking, you can get the URL from the raw (<>) button.
### Set some command variables depending on whether we are root or not ###
# This assumes you use a debian derivate, replace with yum, pacman etc.
aptget='sudo apt-get'
chsh='sudo chsh'
Meroje /
Last active May 21, 2019 — forked from urjitbhatia/
Check if an ec2 instance is spot or normal lifecycle
#!/usr/bin/env bash
aws ec2 describe-spot-instance-requests \
--filters Name=instance-id,Values="$(wget -q -O -" \
--region "$(wget -q -O - | jq -r '.region')" | \
jq -r '.SpotInstanceRequests | if length > 0 then "spot" else "normal" end'
You can’t perform that action at this time.