// Define a variable
var person = "John"
// Log the value of the variable person out to the console
console.log(person)
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
diff --git a/background.js b/background.js | |
index 6584934..a660a74 100644 | |
--- a/background.js | |
+++ b/background.js | |
@@ -232,7 +232,7 @@ function addTabAsTask(contentToAdd) { | |
} | |
function addToTodoistFromMenu(ev, tab) { | |
- const url = ev.pageUrl | |
+ const url = (ev.linkUrl !== undefined) ? ev.linkUrl : ev.pageUrl |
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
<html> | |
<head> | |
<meta name="viewport" content="width=device-width"> | |
</head> | |
<body> | |
<video preload="none" controls=""> | |
<source src="https://www.destroyallsoftware.com/screencasts/catalog/functional-core-imperative-shell/download?resolution=4k"> | |
</video> | |
<video preload="none" controls=""> |
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
diff --git a/popup.html b/popup.html | |
index 748ce1d..9599946 100644 | |
--- a/popup.html | |
+++ b/popup.html | |
@@ -30,7 +30,7 @@ | |
</div> | |
<div class="flex-container"> | |
<div class="u-quiet" id="attach-current-tab-container"> | |
- <input type="checkbox" id="attach-current-tab"> Attach <span id="attach-current-tab-url"></span> | |
+ <label><input type="checkbox" id="attach-current-tab"> Attach <span id="attach-current-tab-url"></span></label> |
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
### Keybase proof | |
I hereby claim: | |
* I am ajorgensen on github. | |
* I am ajorgensen (https://keybase.io/ajorgensen) on keybase. | |
* I have a public key whose fingerprint is D155 725D F971 E4D4 3CA0 3C9D B104 24F3 7FA5 6977 | |
To claim this, I am signing this object: |
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
data = [ | |
{ first: 'Bruce', last: 'Wayne' }, | |
{ first: 'Peter', last: 'Parker' }, | |
{ first: 'Foo', last: 'Bar' }] | |
person = React.createClass | |
render: -> | |
( | |
(React.DOM.div {}, [ | |
(React.DOM.h2 {}, [ "#{@props.last}, #{@props.first}" ]) |
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
for fname in 'rspec' 'rails' | |
do | |
eval "${fname}() { bundle exec ${fname} }" | |
eval "${fname}!() { ${fname} }" | |
done |
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
#!/bin/bash | |
tmux has-session -t $1 2>/dev/null | |
if [ "$?" -eq 1 ]; then | |
tmux new -s $1 | |
else | |
tmux attach -t $1 | |
fi |
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
$(function() { | |
$(".css-truncate-target").each(function(i, obj) { | |
$(this).attr('title', $(this).text()); | |
}); | |
}); |
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
options: | |
--clean, -c: Clean all rsync and maven state before running | |
--cp, -p <s>: Scala classpath | |
--hdfs, -h: Run on HDFS | |
--hdfs-local, -d: Run in Hadoop local mode | |
--local, -l: Run in Cascading local mode (does not use Hadoop) | |
--print, -r: Print the command YOU SHOULD enter on the remote node. Useful for screen sessions | |
--scalaversion, -s <s>: version of Scala for scalac (defaults to scalaVersion in project/Build.scala) | |
--print-cp, -i: Print the Scala classpath | |
--jar, -j <s>: Specify the jar file |
NewerOlder