Skip to content

Instantly share code, notes, and snippets.

View saeidzebardast's full-sized avatar
👨‍💻
🎧

Saeid saeidzebardast

👨‍💻
🎧
View GitHub Profile
git log -1 --format="%H" | xclip -selection clipboard
@saeidzebardast
saeidzebardast / copy-ssh-public-key.sh
Last active October 26, 2015 10:10
Copy SSH Public Key
cat ~/.ssh/id_rsa.pub | ssh <user>@<host> "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys" && echo "done."
@saeidzebardast
saeidzebardast / observe-array-length.html
Created October 14, 2015 06:35
Observe adding/removing elements of array in Polymer
<script>
Polymer({
is: 'observe-array-length',
properties: {
myArray: {
type: Array,
value: []
}
},