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 stuff= jQuery('blockquote blockquote'); stuff.hide(); stuff.each(function() { var foo = jQuery(this); jQuery('<div class="quote-expand">expand</div>').prependTo(foo.parent()); }); jQuery('.quote-expand').click(function() { var stuffs = jQuery(event.target).parent().find('blockquote'); jQuery(stuffs[0]).is(':visible') ? stuffs.slideUp() : stuffs.slideDown() }); |
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
<p><span style="color: rgb(0, 0, 0); font-family: Arial, sans-serif; line-height: 1.33333em;">wtf</span><br></p> | |
<!--[if gte mso 9]><xml> | |
<o:DocumentProperties> | |
<o:Revision>0</o:Revision> |
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
#!/usr/local/bin/zsh | |
# my awesome grep alias | |
function ff () { | |
grep "$@" -s -n -I -R . --color=always --exclude=\*.{data,swp,db,log,git,noun,adj,verb} | grep -v -E 'ckeditor'; | |
} | |
cd ~/community/app | |
for branch in $(git for-each-ref --format='%(refname)' refs/heads/ | grep msp); do | |
git checkout $branch > /dev/null |
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
-- wow I hate applescript | |
tell application "System Events" | |
-- get screen bounds | |
tell application "Finder" | |
set _b to bounds of window of desktop | |
set _width to item 3 of _b | |
set _height to item 4 of _b | |
end tell | |
-- get bounds of window |
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
<div class="pb-container"> | |
<div class="progress-bar" data-size="large" data-number="true" data-animation="true" data-percentage="50"></div> | |
</div> | |
<div class="pb-container"> | |
<div class="progress-bar" data-size="medium" data-number="true" data-animation="true" data-percentage="60"></div> | |
</div> | |
<div class="pb-container"> | |
<div class="progress-bar" data-size="small" data-number="true" data-animation="true" data-percentage="70"></div> |
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
<div class="progress-bar"> | |
</div> | |
<label for="progress">Progress</label> | |
<input type="text" id="progress" name="progress" value="50"> | |
<button id="update">Update</button> |
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
final class GraffitiCom { | |
private static GraffitiClient singleton = null; | |
private GraffitiCom() { | |
} | |
public static void setHost(String hostname, boolean devserver) throws MalformedURLException { | |
singleton = new GraffitiClient(new URL(hostname), devserver); | |
} | |
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
11-30 21:19:51.034: E/AndroidRuntime(1538): FATAL EXCEPTION: AsyncTask #2 | |
11-30 21:19:51.034: E/AndroidRuntime(1538): java.lang.RuntimeException: An error occured while executing doInBackground() | |
11-30 21:19:51.034: E/AndroidRuntime(1538): at android.os.AsyncTask$3.done(AsyncTask.java:200) | |
11-30 21:19:51.034: E/AndroidRuntime(1538): at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273) | |
11-30 21:19:51.034: E/AndroidRuntime(1538): at java.util.concurrent.FutureTask.setException(FutureTask.java:124) | |
11-30 21:19:51.034: E/AndroidRuntime(1538): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307) | |
11-30 21:19:51.034: E/AndroidRuntime(1538): at java.util.concurrent.FutureTask.run(FutureTask.java:137) | |
11-30 21:19:51.034: E/AndroidRuntime(1538): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1068) | |
11-30 21:19:51.034: E/AndroidRuntime(1538): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:561) | |
11-30 21:19:51.034 |
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
final class GraffitiCom { | |
private static GraffitiClient singleton = null; | |
private GraffitiCom() { | |
} | |
public static void setHost(String hostname, boolean devserver) throws MalformedURLException { | |
singleton = new GraffitiClient(new URL(hostname), devserver); | |
} | |