Skip to content

Instantly share code, notes, and snippets.

Serhii peinguin

Block or report user

Report or block peinguin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View elementSelector.js
document.addEventListener('click', function (e) {
var selectors = [];
for (var i in e.path) {
var el = e.path[i];
var attributes = '';
if (el.attributes) {
var attributes =
function(attr) {
if (attr.nodeName.match(/^data-/)) {
View bookmarklet-github-release-notes.html
<a href="javascript:(function()%7Bfunction addTab(text) %7Bvar li %3D document.createElement('li')%3Bvar c %3D new ZeroClipboard(li)%3Bc.on('copy'%2C function(e) %7Be.clipboardData.setData('text%2Fplain'%2C text)%3Bli.innerHTML %3D 'Notes <small><b>(copied)<b><%2Fsmall>'%3B%7D)%3Bli.classList.add('tabnav-tab')%3Bli.innerText %3D 'Copy Notes' %3D 'pointer'%3Bdocument.querySelector('.tabnav-tabs').appendChild(li)%3B%7D%3Bfunction getNotes() %7Breturn'.comment-body > p')%2Cfunction(c) %7Breturn '%5C%5C' %2B c.innerHTML%3B%7D).join("%5Cn")%7D%3BaddTab(getNotes())%7D)()">Get Release Notes</a>
View gist:1671731
/var/www/gitlabhq/lib/tasks/bulk_import.rake:78: syntax error, unexpected ':', expecting ')'
name: project_name,
/var/www/gitlabhq/lib/tasks/bulk_import.rake:79: syntax error, unexpected ':', expecting '='
code: project_name,
/var/www/gitlabhq/lib/tasks/bulk_import.rake:80: syntax error, unexpected ':', expecting '='
path: project_name,
/var/www/gitlabhq/lib/tasks/bulk_import.rake:81: syntax error, unexpected ':', expecting '='
You can’t perform that action at this time.