This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env xdg-open | |
[Desktop Entry] | |
Type=Application | |
Name=Jira | |
GenericName=Issue tracker | |
Exec=sh -c "xterm -class Jira -name jira -title Jira -e jira.sh" | |
StartupWMClass=jira | |
Icon=jira.png | |
Terminal=false | |
Categories=Office;;Network |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ $ROFI_RETV -eq 0 ]; then | |
bt list | |
exit | |
fi | |
WID=$(echo "$1" | awk -F'\t' '{print $1}') | |
TITLE=$(echo "$1" | awk -F'\t' '{print $2}') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[color] | |
ui = true | |
[push] | |
default = simple | |
[core] | |
editor = vim | |
excludesfile = ~/.gitignore | |
autocrlf = input | |
[grep] | |
lineNumber = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Name=Microsoft Teams | |
Exec=webapp-container https://teams.microsoft.com --webappUrlPatterns=https?://*.microsoft*.com/* --app-id=commicrosoftteams --name="Microsoft Teams" --icon=~/.local/share/applications/commicrosoftteams.ico --store-session-cookies --enable-media-hub-audio --user-agent-string="Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0" | |
Icon=~/.local/share/applications/commicrosoftteams.ico | |
Type=Application | |
StartupWMClass=commicrosoftteams | |
OnlyShowIn=Unity | |
Actions=chat;teams;meetings;files | |
[Desktop Action teams] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Return a flattened list of all fields ever used on a MongoDB collection. | |
// Usage: `mongo --quiet <database> dbFields.js` | |
// Collection for which to get fields | |
var collection = 'users'; | |
// Determines how to represent the keys of an array of objects. | |
// This allows for differentiating between nested objects and nested arrays of objects. | |
// | |
// e.g. for a document |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = {}; | |
module.exports.parse = function parse() { | |
var args = Array.prototype.slice.call(arguments); | |
var callback = args.pop(); | |
var _this = this; | |
process.nextTick(function() { | |
try { | |
var obj = JSON.parse.apply(_this, args); | |
return callback.apply(_this, [null, obj]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setTimeout(function() { | |
var name = $('.header-user img.member-avatar').attr('title'); | |
$('.js-member-on-card-menu img[title="' + name + '"]').each(function() { | |
$(this).parents('.list-card-details').css('background-color', '#fcaf3e'); | |
}); | |
}, 2000); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function(callback) { | |
if (callback) { | |
process.nextTick(callback); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!('indexOf' in Array.prototype)) { | |
Array.prototype.indexOf= function(find, i) { | |
if (i===undefined) i= 0; | |
if (i<0) i+= this.length; | |
if (i<0) i= 0; | |
for (var n= this.length; i<n; i++) | |
if (i in this && this[i]===find) | |
return i; | |
return -1; | |
}; |
NewerOlder