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
var callsApp = callsApp || {}; | |
callsApp.calls = { | |
onReady: function() { | |
$("button").on("click", this.getCallData); | |
}, | |
getCallData: function(){ | |
$.ajax({ | |
type: "GET", | |
url: "/calls/stats.json", |
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
find . -maxdepth 1 -type f -iname "*.jpg" -print0 | xargs -0 -I {} convert {} -resize 1900 resized/{} |
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
exiftool -if '$Rating eq 5' *.JPG -q -p '$FileName' |
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
class Article | |
#class method | |
def self.publish | |
....... | |
end | |
end | |
# all class methods | |
class << Article | |
def publish |