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/bash | |
import -window root -crop 1120x150+380+946 /home/simi/Apps/TTS-OCR/shot.png | |
convert -units PixelsPerInch /home/simi/Apps/TTS-OCR/shot.png -adaptive-resize 300% -density 300 -colorspace gray -depth 1 -negate /home/simi/Apps/TTS-OCR/shot2.png | |
killall tesseract | |
tesseract -c tessedit_char_whitelist=abcdefghijklmnopqrstuvwxyz --psm 6 /home/simi/Apps/TTS-OCR/shot2.png /home/simi/Apps/TTS-OCR/text-file | |
qdbus org.kde.KSpeech /KSpeech sayFile /home/simi/Apps/TTS-OCR/text-file.txt 0 |
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
package com.xxxxx.bulk_email { | |
import com.coltware.airxmail.INetAddress; | |
import com.coltware.airxmail.MailSender.SMTPSender; | |
import com.coltware.airxmail.MimeMessage; | |
import com.coltware.airxmail.RecipientType; | |
import com.coltware.airxmail.smtp.SMTPEvent; | |
import com.hurlant.crypto.tls.TLSSocket; | |
import flash.events.EventDispatcher; |
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
<s:DropDownList id="searchSiteD" selectedIndex="0" x="84" y="44" width="190" | |
dataProvider="{new ArrayCollection(['Google', 'Amazon', 'Bing', 'eBay', 'Ask', 'YouTube','Suggests','Related'])}"> | |
<s:layout> | |
<s:VerticalLayout gap="0" horizontalAlign="contentJustify" requestedRowCount="16"/> | |
</s:layout> | |
</s:DropDownList> |
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
package com.pageone.readability | |
{ | |
import flash.filesystem.File; | |
import flash.html.HTMLLoader; | |
public class Readabiliti1 | |
{ | |
public function Readabiliti1() | |
{ | |
} |
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
public override function set dataProvider(value:Object):void | |
{ | |
if(this.dataProvider==null) | |
super.dataProvider=value; | |
else{ | |
//want to keep the opened categories | |
var fcarr:ArrayCollection=value as ArrayCollection; | |
var openItems:Array=this.openItems as Array; | |
var itemToOpen:Array=[]; | |
for each (var it:FeedCategory in openItems) { |
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 function _forceRedraw(tree:Tree):void | |
{ | |
var scrollPosition:Number = tree.verticalScrollPosition; | |
var openItems:Object = tree.openItems; | |
var dataProvider:*=tree.dataProvider; | |
var index:int=tree.selectedIndex; | |
var item:*=tree.selectedItem; | |
tree.dataProvider = null; | |
tree.dataProvider = dataProvider; | |
tree.openItems = openItems; |
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
//this object is a DataGrid | |
public function getItemRenderer(row:int,column:int):IGridItemRenderer{ | |
return ((this.grid.layout) as Object).getVisibleItemRenderer(row,column); | |
} |