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
Index: cmsworkflow/code/ThreeStep/SiteConfigThreeStepWorkflow.php | |
=================================================================== | |
--- cmsworkflow/code/ThreeStep/SiteConfigThreeStepWorkflow.php (revision 97653) | |
+++ cmsworkflow/code/ThreeStep/SiteConfigThreeStepWorkflow.php (working copy) | |
@@ -128,6 +128,7 @@ | |
*/ | |
public function canPublish($member = null) { | |
if(!$member && $member !== FALSE) $member = Member::currentUser(); | |
+ if (is_numeric($member)) $member = DataObject::get_by_id('Member', $member); | |
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/bin/ruby | |
# Search a users previous 3200 for a keyword. | |
unless ARGV.size == 2 | |
puts "USAGE: look-for-tweet.rb username terms" | |
Process.exit | |
end | |
username = ARGV.first |
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
# File you want to get before it's deleted | |
fileToSave = 'blarblarblar' | |
# If you want to specify a little bit we can trim off the end | |
# do it here in bytes. This may make the script more likely to | |
# save your file. | |
buffer = 0; | |
# Wait for the file to be created | |
print "Okay, please start the process that outputs "+fileToSave+"\n"; | |
while true |
NewerOlder