This file contains 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
on process_tweet(tweetId, tweetDate, tweetScreenName, tweetUserName, tweetUserUrl, tweetUserImageUrl, tweetText, tweetType) | |
if tweetScreenName is "RazorJack" then | |
tell application "Finder" | |
say tweetText using "Fred" | |
end tell | |
end if | |
end process_tweet |
This file contains 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
javascript:if(document.location.href.match(/http:\/\/[a-zA-Z\.]*youtube\.com\/watch/)){document.location.href='http://www.youtube.com/get_video?fmt='+(isHDAvailable?'22':'18')+'&video_id='+swfArgs['video_id']+'&t='+swfArgs['t']} |
This file contains 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
enablePlaceholders: function() { | |
if (!('placeholder' in document.createElement('input'))) { | |
// enable <input placeholder> for browsers not drinking HTML5 kool-aid | |
$('input[placeholder]').each(function() { | |
var $this = $(this); | |
var placeholder = $this.attr('placeholder'); | |
var insert_placeholder = function() { | |
if ($this.val() === '') { | |
$this.val(placeholder); |
This file contains 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 wrap_break = function(text, br) { | |
var delimit = 9, // break words every n characters | |
style = 2, // allow n extra characters (immediately before consequent space) | |
words = text.split(' '), | |
new_words = []; | |
br = br || '<wbr>'; | |
for (var i = 0; i < words.length; i++) { |
This file contains 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
#topbar { | |
background: #799ed8 !important; | |
-webkit-box-shadow: none !important; | |
-moz-box-shadow: none !important; | |
} | |
#topbar .plus-button, | |
#boldbutton, | |
#italicsbutton, | |
#underlinebutton, |
This file contains 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
18:28:21 [SEVERE] null | |
org.bukkit.command.CommandException: Unhandled exception executing command 'ch' in plugin MCNSAChallenges v1.0.1 | |
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) | |
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:189) | |
at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchCommand(CraftServer.java:523) | |
at net.minecraft.server.v1_6_R2.PlayerConnection.handleCommand(PlayerConnection.java:962) | |
at net.minecraft.server.v1_6_R2.PlayerConnection.chat(PlayerConnection.java:880) | |
at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:837) | |
at net.minecraft.server.v1_6_R2.Packet3Chat.handle(SourceFile:49) | |
at net.minecraft.server.v1_6_R2.NetworkManager.b(NetworkManager.java:296) |
This file contains 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
2013-07-29 23:49:07 [INFO] CONSOLE: Stopping the server..[m | |
2013-07-29 23:49:07 [INFO] Stopping server | |
2013-07-29 23:49:07 [INFO] [MCNSAChallenges] Disabling MCNSAChallenges v1.0.1 | |
2013-07-29 23:49:07 [INFO] [AntiCommandTab] Disabling AntiCommandTab v1 | |
2013-07-29 23:49:07 [INFO] [MonsterHunt] Disabling MonsterHunt v1.5.7-SNAPSHOT | |
2013-07-29 23:49:07 [INFO] [MCNSAFlatcore] Disabling MCNSAFlatcore v1.2.0 | |
2013-07-29 23:49:07 [INFO] [GriefPrevention] Disabling GriefPrevention v7.8 | |
2013-07-29 23:49:07 [INFO] [GriefPrevention] Gathering data: 221000 | |
2013-07-29 23:49:07 [INFO] [GriefPrevention] Gathering data: 18000 | |
2013-07-29 23:49:07 [INFO] [GriefPrevention] Gathering data: 13000 |
This file contains 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
#! /bin/sh | |
java -Xmx2000m -server -jar craftbukkit-dev.jar nogui |
This file contains 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
private void onEntityDamageByBlock(EntityDamageByBlockEvent event) { | |
Entity defender = event.getEntity(); | |
DamageCause type = event.getCause(); | |
ConfigurationManager cfg = plugin.getGlobalStateManager(); | |
WorldConfiguration wcfg = cfg.get(defender.getWorld()); | |
if (defender instanceof Wolf && ((Wolf) defender).isTamed()) { | |
if (wcfg.antiWolfDumbness && !(type == DamageCause.VOID)) { | |
event.setCancelled(true); |
This file contains 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
2013-07-31 13:27:55 [INFO] [0;33;22mCross server chat reset[m | |
2013-07-31 13:27:55 [INFO] [0;37;1m[[0;33;1mMCNSAChat[0;37;1m] Chatserver Connection Closed:Socket closed[m | |
2013-07-31 13:27:55 [SEVERE] Exception in thread "Thread-10" | |
2013-07-31 13:27:55 [SEVERE] java.lang.NullPointerException | |
2013-07-31 13:27:55 [SEVERE] at com.mcnsa.chat.plugin.managers.PlayerManager.getPlayer(PlayerManager.java:54) | |
2013-07-31 13:27:55 [SEVERE] at com.mcnsa.chat.plugin.managers.PlayerManager.removeNonServerPlayers(PlayerManager.java:125) | |
2013-07-31 13:27:55 [SEVERE] at com.mcnsa.chat.networking.ClientThread.run(ClientThread.java:81) | |
2013-07-31 13:27:55 [SEVERE] Could not pass event AsyncPlayerChatEvent to MCNSAChat v4 |
OlderNewer