Skip to content

Instantly share code, notes, and snippets.

View preshit's full-sized avatar

Preshit Deorukhkar preshit

View GitHub Profile
if appIsRunning("iTunes") then
tell application "iTunes"
pause
delay 120
play
end tell
end if
on appIsRunning(appName)
tell application "System Events" to (name of processes) contains appName
@preshit
preshit / appsforappdotnetcodestructure.html
Created October 11, 2012 07:18
Code Structure for use on AppsforApp.net
<div id="appname">
<h3 class="appname">AppName <small>by @preshit</small> <span class="label label-warning">alpha/beta/stable</span></h3>
<p class="muted desc descm">A small paragraph describing your app goes here.<br /><br /><br /></p>
<br />
<p class="desc">
<i class="icon-chevron-right"></i> Screenshots (Optional, comment out the code if you don't want to attach any)
<div class="screenshots">
<a class="fancybox" rel="appname" href="assets/img/ss/appname/1.jpg" title="">
<img src="assets/img/ss/appname/1.jpg" alt="" width="100px" height="auto" />
</a>

Keybase proof

I hereby claim:

  • I am preshit on github.
  • I am preshit (https://keybase.io/preshit) on keybase.
  • I have a public key whose fingerprint is E0E5 DF76 9BE9 FA0F 3850 085F E648 FC1B D466 A22C

To claim this, I am signing this object: