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 / jekyll-gem-error
Created March 18, 2012 22:28
Problem with installing Jekyll on a new Lion install
$ gem install jekyll
ERROR: Error installing jekyll:
liquid requires RubyGems version >= 1.3.7. Try 'gem update --system' to update RubyGems itself.
$ sudo gem update --system
Updating RubyGems
Updating rubygems-update
Successfully installed rubygems-update-1.8.19
Updating RubyGems to 1.8.19
Installing RubyGems 1.8.19
RubyGems 1.8.19 installed
@rey
rey / gist:3207081
Created July 30, 2012 14:02
Responsive design helper label thingy
body:before
position: absolute
top: 0
left: 0
padding: 5px
background-color: red
+opacity(0.5)
+respond-to(handhelds)
content: "Handheld"
+respond-to(wide-handhelds)
@rey
rey / irssi-config-example
Last active April 13, 2023 19:34
Irssi config example
servers = (
{
address = "irc.freenode.net";
chatnet = "freenode";
port = "6667";
use_ssl = "no";
ssl_verify = "no";
autoconnect = "yes";
}
);
-+=+-+=+-+=+-+=+-+=+-+=+-+=+-+=+-+=+-+=+-+=+-+=+-+=+-+=+-+=+-+=+-+=+-+=+-+=+-
SDF needs your help - our disk drives are failing
We could use 80 to 160 GB SATA (10krpm) drives. Larger are OK too. 1TB
SATA drives will go into the MetaArray. Smaller SATA drives will be used
in the SDF cluster NFS clients.
We could use SCA SCSI drives (15krpm) of at least 147GB in size for the
SDF cluster fileserver.
@rey
rey / archive.html
Last active October 28, 2016 19:25
Archive page for my blerg
<section id="archive">
<h3>This year's posts</h3>
{%for post in site.posts %}
{% unless post.next %}
<ul class="this">
{% else %}
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
{% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %}
{% if year != nyear %}
</ul>
@rey
rey / .webcamrc
Last active December 23, 2015 08:19
[grab]
device = /dev/video0
driver = libv4l
text = %Y-%m-%d %H:%M:%S
fg_red = 255
fg_green = 255
fg_blue = 255
width = 320
height = 240
delay = 5
64 bytes from 173.194.34.137: icmp_seq=423 ttl=56 time=9.035 ms
64 bytes from 173.194.34.137: icmp_seq=424 ttl=56 time=11.181 ms
64 bytes from 173.194.34.137: icmp_seq=425 ttl=56 time=7.843 ms
64 bytes from 173.194.34.137: icmp_seq=426 ttl=56 time=7.412 ms
64 bytes from 173.194.34.137: icmp_seq=427 ttl=56 time=7.218 ms
64 bytes from 173.194.34.137: icmp_seq=428 ttl=56 time=10.715 ms
64 bytes from 173.194.34.137: icmp_seq=429 ttl=56 time=7.077 ms
Request timeout for icmp_seq 430
Request timeout for icmp_seq 431
Request timeout for icmp_seq 432
@rey
rey / sitemap.xml
Last active January 2, 2016 14:59
This is the sitemap of torproject.org, allegedly!
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
<!--
created with Free Online Sitemap Generator www.xml-sitemaps.com
-->
<url>
<loc>https://www.torproject.org/</loc>
<lastmod>2014-01-08T16:41:09+00:00</lastmod>
</url>
<url>
64 bytes from 173.194.34.131: icmp_seq=38 ttl=56 time=4.959 ms
64 bytes from 173.194.34.131: icmp_seq=39 ttl=56 time=4.859 ms
64 bytes from 173.194.34.131: icmp_seq=40 ttl=56 time=6.476 ms
64 bytes from 173.194.34.131: icmp_seq=41 ttl=56 time=5.830 ms
64 bytes from 173.194.34.131: icmp_seq=42 ttl=56 time=4.913 ms
64 bytes from 173.194.34.131: icmp_seq=43 ttl=56 time=5.784 ms
64 bytes from 173.194.34.131: icmp_seq=44 ttl=56 time=6.547 ms
64 bytes from 173.194.34.131: icmp_seq=45 ttl=56 time=5.212 ms
Request timeout for icmp_seq 46
Request timeout for icmp_seq 47
+-------------------+
| DOG |
|-------------------|
| |
| HELLO THIS IS DOG |
| |
+-------------------+