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
<?php | |
set_time_limit(0); | |
error_reporting(0); | |
$dir = getcwd(); | |
$uname= @php_uname(); | |
function whereistmP() | |
{ | |
$uploadtmp=ini_get('upload_tmp_dir'); |
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
$("button.mark-all-as-read").parent().prepend('<button class="box-action mute-all-unread css-truncate tooltipped upwards" original-title="mute all unread notifications"> <span class="octicon octicon-mute"></span> </button>'); | |
$('button.mute-all-unread').click(function(event) { | |
// mute all unread notifications | |
$(this).parent().parent().parent().find('li.unread').find('.js-mute-notification button').click(); | |
return false; | |
}); |
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
$("#footer span.footerText a").first().click(function(){ | |
event.preventDefault(); | |
orig = $('#mainApp object param[name="flashvars"]').attr('value'); | |
replacement = orig.replace('superduperdevtime=false', 'superduperdevtime=true'); | |
$('#mainApp object param[name="flashvars"]').attr('value', replacement); | |
}); |
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
- seed rankings | |
1 | |
louisville | |
indiana | |
kansas | |
gonzaga |
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
~ (master)(*)$ irb | |
>> | |
>> class Foo | |
>> attr_accessor :read_write | |
>> attr_reader :readonly | |
>> attr_writer :writeable | |
>> | |
?> def initialize(read_write, readonly, writeable) | |
>> @read_write = read_write | |
>> @readonly = readonly |
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
#!/usr/bin/env ruby | |
echo "public" | |
raise "private" |
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
dependency> | |
<groupId>org.jboss.weld</groupId> | |
<artifactId>weld-core</artifactId> | |
<version>1.1.8.Final</version> | |
</dependency> | |
<dependency> | |
<groupId>org.jboss.weld.servlet</groupId> | |
<artifactId>weld-servlet-core</artifactId> | |
<version>1.1.8.Final</version> | |
<scope>compile</scope> |
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 | |
echo "this is a test." | |
exit 1 |
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
#!/usr/bin/env ruby | |
raise "this is a test." | |
# end | |
test |
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
#!/usr/bin/env ruby | |
require 'github-campfire' | |
def ask_for_image(phrase) | |
`growlnotify -m "#{phrase}"` | |
GitHub::Campfire.notify("/img me #{phrase}", GitHub::Campfire::HUBOT) | |
end | |
phrases = [ | |
'hubot ignite', # new presentation style |