Skip to content

Instantly share code, notes, and snippets.

View MichalPaszkiewicz's full-sized avatar
🎓
Learning

Michal J A Paszkiewicz MichalPaszkiewicz

🎓
Learning
View GitHub Profile
@MichalPaszkiewicz
MichalPaszkiewicz / gist:fc4435b8eb0a9271d9c8
Last active August 29, 2015 14:16
PR for dashboard extension
var localStorageFunctions = function(){
this.GetRecognitions = function(){
var result = {};
try{
var recognitionsString = localStorage.getItem("recognitions")
result = JSON.parse(recognitionsString) || {};
}
catch(err){
console.error("The format of localStorage's recognitions is bad. SO bad.");
console.error(err.message);
git log --since='1day' --pretty=format:'- %s' > log.txt