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 | |
# DOWNLOAD THE LATEST IMAGE =================================================== | |
IMAGE_URL="http://pharo.gforge.inria.fr/ci/image/20/latest.zip" | |
wget --progress=bar:force --output-document=image.zip $IMAGE_URL | |
unzip -qo image.zip | |
rm -rf image.zip |
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 | |
#try to backup (and remove) the current vm ==================================== | |
OLD_VM=/Applications/NBCog-$(date +%-Y-%-m-%-d)-$(date +%H-%M-%S).zip | |
zip -q -rm $OLD_VM /Applications/NBCog.app | |
# DOWNLOAD THE LATEST VM ====================================================== | |
VM_URL="http://pharo.gforge.inria.fr/ci/vm/nbcog/mac/nbcog-mac-latest.zip" | |
wget --progress=bar:force --output-document=vm.zip $VM_URL | |
#wget --quiet --output-document=vm.zip $VM_URL |
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
StartupLoader default executeAtomicItems: { | |
StartupAction | |
name: 'Settings' | |
code: [ | |
Author fullName: 'MartinDias'. | |
World color:Color darkGray darker. | |
CodeHolder showAnnotationPane: true. | |
MCCodeTool showAnnotationPane: true. | |
Deprecation raiseWarning: true. | |
Debugger alwaysOpenFullDebugger: 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
| conf oldRepository newRepository gofer user pass project | | |
conf := #ConfigurationOfSandbox. | |
oldRepository := 'http://smalltalkhub.com/mc/MartinDias/Sandbox/main'. | |
newRepository := 'http://smalltalkhub.com/mc/MartinDias/Epicea/main'. | |
user := 'MartinDias'. | |
pass := '123'. | |
gofer := Gofer new | |
package: conf. | |
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
packageNames := #(ConfigurationOfEpiceaSorter EpiceaSorter EpiceaSorterAnalysis). | |
sourceHttpRepository := | |
MCSmalltalkhubRepository | |
owner: 'MartinDias' | |
project: 'Epicea' | |
user: 'MartinDias' | |
password: 'xxxx'. | |
destinationHttpRepository := | |
MCSmalltalkhubRepository | |
owner: 'MartinDias' |
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
/** | |
* Recursive Tree | |
* by Daniel Shiffman. | |
* | |
* Renders a simple tree-like structure via recursion. | |
* The branching angle is calculated as a function of | |
* the horizontal mouse location. Move the mouse left | |
* and right to change the angle. | |
*/ |
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
(Smalltalk globals | |
at: #StartupPreferencesLoader | |
ifAbsent: [ StartupLoader ]) default executeAtomicItems: { | |
StartupAction | |
name: 'EpiceaTaskClustererValidation' | |
code: [ | |
| button total shouldLoad | | |
(Smalltalk isInteractive | |
and: [ (Smalltalk globals hasClassNamed: #EpVoter) not |
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
| response | | |
response := ZnEasy get: 'http://gist.githubusercontent.com/tinchodias/8be031b15692cd72bb78/raw/d0d1823b36d88742333a4b672b0bcfa4018417c2/installEpiceaTaskClustererStable.st'. | |
response isSuccess | |
ifFalse: [ self error: response printString ] | |
ifTrue: [ | |
(FileLocator preferences asFileReference / 'pharo') ensureCreateDirectory. | |
(FileLocator preferences asFileReference / 'pharo' / 'installEpiceaTaskClustererStable.st') writeStreamDo: [ :stream | | |
stream nextPutAll: response contents ] ] |
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
Smalltalk evaluate: (ZnEasy get: 'http://gist.githubusercontent.com/tinchodias/c789ab74e1cb981351c2/raw/6f7895dc6df4ea2838dfc2fb8c20d20083552b81/installScriptForEpiceaTaskClusterer.st') contents |
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
(Smalltalk globals | |
at: #StartupPreferencesLoader | |
ifAbsent: [ StartupLoader ]) default executeAtomicItems: { | |
StartupAction | |
name: 'EpiceaLoad' | |
code: [ | |
| button total shouldLoad | | |
(Smalltalk isInteractive | |
and: [ (Smalltalk globals hasClassNamed: #EpMonitor) not |
OlderNewer