Skip to content

Instantly share code, notes, and snippets.

View rey's full-sized avatar
🌴
On vacation

Rey Dhuny rey

🌴
On vacation
View GitHub Profile
@rey
rey / zzmag-example-paragraph-id.html
Last active August 29, 2015 14:04
zzmag example paragraph ID
<p id="zz:10"><!-- the ID for this paragraph is `zz:10` -->
NASA’s <a href="http://apod.nasa.gov/apod/astropix.html">Astronomy Picture of the Day</a> has been <a href="http://apod.nasa.gov/apod/archivepix.html">going since June 1995</a> but I was very happy to discover it last week: “Each day a different image or photograph of our fascinating universe is featured, along with a brief explanation written by a professional astronomer” – I’ve subscribed to the <a href="http://apod.nasa.gov/apod.rss">RSS feed</a>.
</p>
@rey
rey / wdihimf.md
Last active March 8, 2021 18:38
What Do I Have In My Fridge?

How to play

  • Each person takes turns to guess what their opponent has in their fridge
  • Once an item has been said, it cannot be used again
  • Each player has 3 lives
  • A player loses a life if they guess incorrectly
  • A guess has to be a food or drink
  • The items have to be inside the fridge

Example

Resolving mlkshk.com... 54.243.207.174
Connecting to mlkshk.com|54.243.207.174|:80... connected.
HTTP request sent, awaiting response... 503 Service Unavailable: Back-end server is at capacity
2014-09-04 12:03:22 ERROR 503: Service Unavailable: Back-end server is at capacity.
`chmod 700 ~/.ssh && chmod 600 ~/.ssh/authorized_keys` are the correct permissions -- ty ~all!
@rey
rey / sig.html
Last active August 29, 2015 14:10 — forked from dieseltravis/sig.html
<!-- The div's id should be something unique -->
<div id="hcard-FirstName-LastName" class="vcard hcard h-card" itemscope itemtype="http://schema.org/Person">
<br /><br />
<p>
<b class="fn n p-name" itemprop="name">
<span class="given-name p-given-name" itemprop="givenName">FirstName</span> <span class="family-name p-family-name" itemprop="familyName">LastName</span>
</b><br />
<span class="p-job-title" itemprop="jobTitle">Job Title</span><br />
</p>
<p>
@rey
rey / gist:d8a434a8e73d8c83812d
Created December 1, 2014 16:43
Clocks in HTML/CSS/JS
http://codepen.io/gridchin/pen/vgjFb
http://codepen.io/dtinth/pen/cGxhl
http://codepen.io/rodnylobos/pen/KoJxq
http://codepen.io/mjswensen/pen/gbufE
http://codepen.io/jantm/pen/qrnwF
@rey
rey / garbify.sh
Last active August 29, 2015 14:11 — forked from ftrain/garbify.sh
#!/bin/bash
#
# _ _ __
# __ _ __ _ _ __| |__ (_)/ _|_ _
# / _` |/ _` | '__| '_ \| | |_| | | |
#| (_| | (_| | | | |_) | | _| |_| |
# \__, |\__,_|_| |_.__/|_|_| \__, |
# |___/ |___/
#
#
@rey
rey / log.sh
Created January 25, 2015 16:55
Quick way to log stuff
#!/bin/bash
#
# Usage: sh log.sh
#
# fire up vim and create `temporary` file
vim temporary
# if there are contents in `temporary`
if [ -s temporary ]; then
@rey
rey / ixda_london_280115.markdown
Last active August 29, 2015 14:14
Notes I collected from IxDA London 28/01/15

IxDA London 28/01/15: Reflections from 2014

About

Split into 3 parts:

  1. Boon Chew giving an overview of reflections, what was learnt and covered in IxDA London in 2014
  2. Kevin McCullagh gave a talk about the pros and perils of predicting trends (and the future!) giving examples and insight from his work with clients over
.one, .two {
font-size: massive;
}
.one {
color: red;
}
.two {
color: green;
}