Notes Contents:
Also check Pharo Tools.
LimitingLineStreamWrapper>>example2Smalltalk wordSizeTry this - use OSProcess and CommandShell in Pharo 4.0. Works well. Load them by
Gofer new squeaksource: 'OSProcess'; package: 'OSProcess'; load. Gofer new squeaksource: 'CommandShell'; package: 'CommandShell-Piping'; load.
and then do something like
PipeableOSProcess command: 'netstat -a | grep LISTEN | grep 27017'
((SystemNavigation default environment reject: #isClass) reject: #isTrait) ImageCleaner new cleanUpProcesses
Make your #Pharo windows move around smoother. Do:
WorldState MinCycleLapse: 16.
and enjoy the 60 FPS feel.
Pharo Image
IMAGES=$(ls -t *.image)
TAGS=()
entry=1
for i in $IMAGES; do
LABEL=$(echo $i | cut -d'.' -f1)
TAGS+=($entry "$LABEL")
entry=$(expr $entry + 1)
done
echo ${TAGS[*]}
choice=$(dialog --menu "Pick an image to run" 40 60 25 "${TAGS[@]}" 2>&1 >/dev/tty)
response=$?
echo "Choice: $choice"
echo "RESP:$response"
clear
case $response in
0)
labelindex=$((($choice-1)*2+1))
# echo "Labeldex:$labelindex"
LABEL="${TAGS[$labelindex]}"
IMAGE="${LABEL}.image"
# echo "Selected $choice -> ${LABEL}"
echo "Opening ${IMAGE}"
./pharo-ui ${IMAGE} &
;;
1)
echo "Cancelled."
;;
esacBusiness:
Others:
ToolShortcutsByte codes
Check these links
http://readthesourceluke.blogspot.com.ar/2014/07/pbkdf2-for-pharo.html?m=1 http://smalltalkhub.com/#!/~BenComan/PointerDetective http://t.co/QDhxwzFs1l
Dr Geo
Some context dev video http://vimeo.com/m/102158303
Write a program in GNU Smalltalk. http://www.pharo-project.org/news?dialog=ann-mustache-templates
Count Lines of code (seems better than this old Squeak Project
CodeImporter:
CodeImporter evaluateString: (String streamContents: [ :out | PRToDo fileOutOn: out ])