Skip to content

Instantly share code, notes, and snippets.

View needim's full-sized avatar
🍀
Building gider.im

Nedim Arabacı needim

🍀
Building gider.im
View GitHub Profile
@igrigorik
igrigorik / github-ruby.sql
Created April 28, 2012 19:07
BigQuery example
/* top 100 repos for Ruby by number of pushes */
SELECT repository_name, count(repository_name) as pushes, repository_description, repository_url
FROM [githubarchive:github.timeline]
WHERE type="PushEvent"
AND repository_language="Ruby"
AND PARSE_UTC_USEC(created_at) >= PARSE_UTC_USEC('2012-04-01 00:00:00')
GROUP BY repository_name, repository_description, repository_url
ORDER BY pushes DESC
LIMIT 100
@o
o / gist:2116905
Created March 19, 2012 15:49
Localized date time example
<?php
// Check your supported locales with $ locale -a
setlocale(LC_TIME, 'tr_TR.UTF-8');
echo strftime("%d %B %Y %A");
// 19 Mart 2012 Pazartesi
@chuanxshi
chuanxshi / mobile body
Created April 19, 2011 17:55
html tags and attributes for your mobile body
// Mail Links
<a href="mailto:[email protected]">John Frank</a>
// Phone Links
<a href="tel:1-408-555-5555">1-408-555-5555</a>
// Text Links
<a href="sms:1-408-555-1212">New SMS Message</a>
// Map Links
@chuanxshi
chuanxshi / mobile tags for your '<head>'
Created March 1, 2011 14:56
mobile tags for your '<head>'
<!doctype html>
<!-- Helpful things to keep in your <head/>
// Shi Chuan, https://github.com/shichuan/mobile-html5-boilerplate
-->
<head>
<!-- consider using below meta tags if you want to disable format detection by default -->
<meta name="format-detection" content="telephone=no"/>
<meta name="format-detection" content="address=no"/>
<!-- consider using below link tag if the page is duplicate content of a desktop version -->