Skip to content

Instantly share code, notes, and snippets.

-- Tweakable settings
-- timer color in combat
local COMBAT_R = 1
local COMBAT_G = 1
local COMBAT_B = 1
-- timer color out of combat
local NOCOMBAT_R = 1
local NOCOMBAT_G = 1
local NOCOMBAT_B = 1

Most active GitHub users

GitHub has released contributions (summary of Pull Requests, closed issues and commits).

This is the count of contributions to public repos at GitHub.com from Wed, 11 Jan 2012 01:52:32 GMT till Fri, 11 Jan 2013 01:52:32 GMT.

To repeat:

  1. Take the first 1000 users in GitHub according to the count of followers.
  2. Sort them by number of public contributions.
News:
connection: other
actAs: [ Timestampable ]
columns:
author_id: int(9)
title: varchar(255)
content: text
relations:
Comments:
class: Comment
$(".datatable").dataTable
bPaginate: true
bFilter: true
sScrollY: '90%'
fnDrawCallback: ->
$('.dataTables_scrollBody').addClass('user-panel').jScrollPane {"contentWidth": 480}
return
@vendethiel
vendethiel / vendethiel.html
Created October 20, 2012 22:02 — forked from anonymous/vendethiel.html
UserinfoPane
<div itemscope itemtype="http://schema.org/Person" class='user_details'>
<span class='hide' itemprop="name">{$author['members_display_name']}</span>
<ul class='basic_info'>
<if test="membertitle:|:$author['member_title']">
<p class='desc member_title'>{$author['member_title']}</p>
</if>
<if test="avatar:|:$author['member_id']">
<li class='avatar'>
<if test="canSeeProfiles:|:$this->memberData['g_is_supmod'] OR ( $this->memberData['g_mem_info'] && ! IPSMember::isInactive( $author ) )">
<a itemprop="url" href="{parse url="showuser={$author['member_id']}" template="showuser" seotitle="{$author['members_seo_name']}" base="public"}" title="{$this->lang->words['view_profile']}: {$author['members_display_name']}" class='ipsUserPhotoLink'>
Foo = DataSource: {}
class Foo.DataSource.REST
(@baseUrl) ->
fetchAll: !->
@doRequest("GET", @baseUrl,
success: (data, event, response) ->
console.debug data
)
fetch: !(id) ->
# thanks to railscasts
class Object
# macvim
def mvim(method_name)
file, line = method(method_name).source_location
`mvim #{file} +#{line}`
end
# sublime text
@vendethiel
vendethiel / gist:3011345
Created June 28, 2012 13:21 — forked from dtolj/gist:3005981
auto refresh
#Controller
def action
@tm=Random.rand(11)
render :layout => false
end
#View
#action.haml
=@tm
@vendethiel
vendethiel / remove-bom.co
Created June 19, 2012 15:54 — forked from domenic/remove-bom.js
Removing BOM
global[r] = require r for r of <[js path wrench]>
BOM = String.fromCharCode BOM_CHAR_CODE = 65279
wrench.readdirSyncRecursive process.cwd! .forEach (filename) ->
return unless \js is path.extname filename
error, content <-! fs.readFile fileName, \utf8
throw that if error
_elems = []
if type is 'modify'
_elems.push e.model for e in elems
else
_elems.push e.model for e in @foo.elems