This file contains 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
[user] | |
name = Kro | |
email = [email protected] | |
[core] | |
editor = nano | |
[filter "lfs"] | |
required = true | |
clean = git-lfs clean -- %f | |
smudge = git-lfs smudge -- %f | |
process = git-lfs filter-process |
This file contains 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
====== CompareTools.plist ============ | |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" | |
"http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<array> | |
<dict> | |
<key>ApplicationIdentifier</key> | |
<string>com.microsoft.VSCode</string> | |
<key>ApplicationName</key> |
This file contains 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
"use strict"; | |
// ==UserScript== | |
// @name Code Monkey | |
// @description Show code monkey image at random position over Github file listings. | |
// @author kr012 | |
// @icon https://avatars0.githubusercontent.com/u/1465154?s=460&v=4 | |
// @include *github.com* | |
// @grant none | |
// ==/UserScript== |
This file contains 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
{ | |
"name": "DPA 3 DAY VIEW EXCLUDING 3 DAY PURCHASE - EXC NO CHECKIN DATE", | |
"description": "", | |
"product_set_id": 261329514218675 | |
"inclusions": [ | |
{ | |
"retention_seconds": 259200, | |
"rule": { | |
"event": { | |
"eq": "ViewContent" |
This file contains 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
var count, elem, i, input, len; | |
input = [ | |
{ | |
"creative_carousel_image": null, | |
"creative_carousel_name": null, | |
"creative_carousel_description": null, | |
"creative_carousel_link": null, | |
"creative_carousel_message": null, | |
"creative_dpa_product_name": "asdasd", |
This file contains 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
def set_current_plan(subscription, products) | |
plans = subscription[:ratePlans] | |
if plans.length == 1 # if only one plan then it's the active plan | |
current_plan = plans[0] | |
current_product_name = current_plan[:productName].downcase | |
else | |
current_plan = plans.select{|plan| plan[:lastChangeType].downcase == "add" } # select the plan which was added rather than removed | |
current_product_name = current_plan[0][:productName].downcase | |
end | |
subscription_period = plans[0][:ratePlanName].downcase |
This file contains 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
############################################################################### | |
# Add Git diff highlighting to Sublime Text 2 # | |
# Add the following to your chosen theme file (.tmTheme) before closing array # | |
############################################################################### | |
<dict> | |
<key>name</key> | |
<string>diff.header</string> | |
<key>scope</key> | |
<string>meta.diff, meta.diff.header</string> |
This file contains 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
FB.api( { method : 'fql.query', query : friend_query}... <<-- original format - FAILING | |
FB.api('fql', { q: friend_query }... <<-- altered format - WORKING |