maps://?q=LAT,LNG
geo:LAT,LNG
a=imread('Penguins.jpg'); | |
subplot(2,2,1); | |
imshow(a); | |
title 'Original Image'; | |
b=im2double(a); | |
a1=input('enter value a'); | |
ga1=input('enter value gamma'); | |
s=(a1*(b.^ga1))*256; | |
s1=uint8(s); |
#!/bin/bash | |
#============================================================================== | |
#TITLE: mysql_backup.sh | |
#DESCRIPTION: script for automating the daily mysql backups on development computer | |
#AUTHOR: tleish | |
#DATE: 2013-12-20 | |
#VERSION: 0.4 | |
#USAGE: ./mysql_backup.sh | |
#CRON: | |
# example cron for daily db backup @ 9:15 am |
# alias to edit commit messages without using rebase interactive | |
# example: git reword commithash message | |
reword = "!f() {\n GIT_SEQUENCE_EDITOR=\"sed -i 1s/^pick/reword/\" GIT_EDITOR=\"printf \\\"%s\\n\\\" \\\"$2\\\" >\" git rebase -i \"$1^\";\n git push -f;\n}; f" | |
# delete all git history and keep current as the first commit (this will remove all git history, be careful) | |
git reset --soft $(git rev-list --max-parents=0 HEAD) && git commit --amend -m "Initial commit" && git push --force | |
# transfer all git repos from one org to another org | |
gh repo list {orgname} --limit 300 --json nameWithOwner -q '.[].nameWithOwner' | xargs -I {} gh api --method POST repos/{}/transfer -f new_owner={neworg} |
<div id="fb-root"></div> | |
<script> | |
window.fbAsyncInit = function() { | |
FB.init({ | |
appId: 'xxxxxxxxxxxxx', | |
status: true, | |
cookie: true, | |
xfbml: true | |
}); |