Skip to content

Instantly share code, notes, and snippets.

View jimaek's full-sized avatar
💭
Working as always

Dmitriy Akulov jimaek

💭
Working as always
View GitHub Profile
@jimaek
jimaek / gist:ebea14a6215ab17ec4df
Created May 27, 2014 22:04
Open source CDN looking for contributors

Hey guys, I run the project jsDelivr which is a free open source CDN for developers.

The main feature of it is availability and performance. We operate a big system that offers as much availability as possible utilizing smart multi-CDN routing.

You can read about it in our repo https://github.com/jsdelivr/jsdelivr and on Mozilla Blog https://hacks.mozilla.org/2014/03/jsdelivr-the-advanced-open-source-public-cdn/

Its been 2 years since the project launched and today we have a small team of active contributors that help out with different components of the project.

We are also sponsored by companies such as MaxCDN, CloudFlare, Cedexis, Leapswitch, Prometeus and ExpertVM.

<script type="text/javascript">
(function(w, d) { var a = function() { var a = d.createElement('script'); a.type = 'text/javascript';
a.async = 'async'; a.src = '//' + ((w.location.protocol === 'https:') ? 's3.amazonaws.com/cdx-radar/' :
'radar.cedexis.com/') + '01-11475-radar10.min.js'; d.body.appendChild(a); };
if (w.addEventListener) { w.addEventListener('load', a, false); }
else if (w.attachEvent) { w.attachEvent('onload', a); }
}(window, document));
</script>
unlink /etc/munin/plugins/entropy
unlink /etc/munin/plugins/forks
unlink /etc/munin/plugins/interrupts
unlink /etc/munin/plugins/irqstats
unlink /etc/munin/plugins/if_err_eth0
unlink /etc/munin/plugins/postfix_mailqueue
unlink /etc/munin/plugins/postfix_mailvolume
unlink /etc/munin/plugins/sendmail_mailqueue
unlink /etc/munin/plugins/sendmail_mailstats
unlink /etc/munin/plugins/sendmail_mailtraffic
proxy_cache_path /var/cache/nginx levels=2 keys_zone=my_diskcached:50m inactive=365d max_size=7g;
server {
listen 80;
server_name cdn.jsdelivr.net HOSTNAME.jsdelivr.net;
location / {
access_log off;
gzip on;
gzip_min_length 100;
gzip_types text/plain text/xml application/xml text/css text/javascript application/javascript application/x-javascript text/x-component application/json application/xhtml+xml application/rss+xml application/atom+xml application/vnd.ms-fontobject image/svg+xml application/x-font-ttf font/opentype;
<!-- TOP RIGHT RIBBON: START COPYING HERE -->
<div class="github-fork-ribbon-wrapper right">
<div class="github-fork-ribbon">
<a href="http://www.speedawarenessmonth.com/">#SAM2013 Sponsor</a>
</div>
</div>
<!-- TOP RIGHT RIBBON: END COPYING HERE -->
<!-- TOP LEFT RIBBON: START COPYING HERE -->
<div class="github-fork-ribbon-wrapper left">
@jimaek
jimaek / gist:6221026
Created August 13, 2013 13:24
SAM Ribbon Stylesheet
<link rel="stylesheet" href="http://speedawarenessmonth.wpengine.netdna-cdn.com/files/gh-fork-ribbon.css" />
@jimaek
jimaek / gist:5881006
Created June 27, 2013 22:34
jsDelivr gather performance and uptime data
<script type="text/javascript">
(function(w, d) { var a = function() { var a = d.createElement('script'); a.type = 'text/javascript';
a.async = 'async'; a.src = '//' + ((w.location.protocol === 'https:') ? 's3.amazonaws.com/cdx-radar/' :
'radar.cedexis.com/') + '01-11475-radar10.min.js'; d.body.appendChild(a); };
if (w.addEventListener) { w.addEventListener('load', a, false); }
else if (w.attachEvent) { w.attachEvent('onload', a); }
}(window, document));
</script>