Skip to content

Instantly share code, notes, and snippets.

View philippeback's full-sized avatar
👽
Hackin'

Philippe Back philippeback

👽
Hackin'
View GitHub Profile

User Story Wording

As a <User Role> I want <Functionality> so that <Business Value>
In order to <Business Value> as a <User Role> I want <Functionality>
MetacelloPharoPlatform select.
#(
'BaselineOfTonel'
'BaselineOfLibGit'
'BaselineOfIceberg'
'MonticelloTonel-Core'
'MonticelloTonel-FileSystem'
'MonticelloTonel-Tests'
'Iceberg-UI'
'Iceberg-TipUI'
@philippeback
philippeback / InactivateEpicea.st
Created April 14, 2018 17:16
Inactivate Epicea
"Inactivate Epicea"
EpSettings monitorEnabled: false.
EpSettings lostEventsDetectorEnabled: false.

To install from an Anaconda prompt

conda install -c conda-forge jupyterlab

(need your proxy working of course)

Wait.

jupyter serverextension enable --py jupyterlab --sys-prefix
#RewriteEngine on
#RewriteRule ^/gds/(.*)$ http://localhost:5601/$1 [P]
DirectoryIndex /app/kibana
ProxyPass /app/kibana http://localhost:5601/app/kibana
ProxyPassReverse /app/kibana http://localhost:5601/app/kibana
ProxyPass /app/timelion http://localhost:5601/app/timelion
@philippeback
philippeback / createrule.sh
Created February 19, 2018 20:37
Create FW rule Gcloud
gcloud compute firewall-rules create rule-allow-tcp-80 --source-ranges 0.0.0.0/0 --target-tags allow-tcp-80 --allow tcp:80
gcloud compute instances add-tags someinstance --tags allow-tcp-80
@philippeback
philippeback / PopupRoassal.st
Created February 12, 2018 16:42
RTInteractionPopup
b := RTGrapher new.
b extent: 200 @ 150.
ds := RTData new.
ds interaction popup group: [:group :aClassElement |
| background label |
b2 := RTPieBuilder new.
b2 shape color: [ Color random ].
b2 objects: aClassElement model rtmethods.
b2 slice: #numberOfLinesOfCode.
#DSLoadIt asClassIfAbsent: [
Metacello new
baseline: #DiscordSt;
repository: 'github://JurajKubelka/DiscordSt:dev/src';
load ].
el1 := 1.
el2 := 2.
view := RTMondrian new.
view shape ellipse.
view nodes: {el1. el2} .
view shape: (RTGradientColoredLine new
colors: { Color red. Color blue };
withBorderAttachPoint;
precision: 50;
| v elem1 elem2 edge |
v := RTView new.
elem1 := (RTEllipse new color: (Color blue alpha:0.3); size:20) elementOn: 1.
elem2 := (RTEllipse new color: (Color red alpha:0.9); size:20) elementOn: 2.
elem2 translateBy: 300@0.
v add: elem1.
v add: elem2.
edge := RTEdge from:elem1 to:elem2.