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
migration := GitMigration on: 'PolyMath/PolyMath'. | |
migration cacheAllVersions. | |
migration authors: { | |
'DanielUber' -> #('djuber' '<djuber@gmail.com>'). | |
'GuillermoPolito' -> #('guillep' '<guillermopolito@gmail.com>'). | |
'HwaJong' -> #('daliot' '<daliot.oh@gmail.com>'). | |
'MobiusEng' -> #('mobius-eng' '<mobius@noemail.org>'). | |
'NataliaMoskovchuk' -> #('runadrag' '<natalia.tymchuk@unikernel.net>'). | |
'NataliaTymchuk' -> #('runadrag' '<natalia.tymchuk@unikernel.net>'). |
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
sigma := 10.0. | |
r := 28.0. | |
b := 8.0/3.0. | |
dt := 0.005. | |
system := ExplicitSystem | |
block:[:v :t | |dx dy dz x y z| | |
x := v at: 1. y := v at: 2. z := v at: 3. | |
dx := sigma * (y - x). | |
dy := r * x - y - (x * z). | |
dz := (-1 * b * z + (x * y)). |
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 | |
if [ -z "$1" ]; then | |
echo "usage: $0 <file>" | |
exit 1 | |
fi | |
name=test$RANDOM@test$RANDOM.fr | |
pass=$RANDOM | |
file="$1" | |
out=$(mktemp) |
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
| shpE legend url response zipArchive fileRef | | |
Gofer new | |
url: 'http://smalltalkhub.com/mc/hernan/Shapes/main'; | |
package: 'ConfigurationOfShapes'; | |
load. | |
((Smalltalk at: #ConfigurationOfShapes) project version: '1.2') load. | |
" Download zip file containing shp resources " | |
url := 'http://dl.dropboxusercontent.com/u/103833630/ne_110m_admin_0_countries.zip' asZnUrl. |
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
|tab b shape elements v lb| | |
tab := RTTabTable new input: (ZnEasy get: | |
'https://raw.githubusercontent.com/setosa/csv-fingerprint/master/example2.csv') | |
entity contents asString usingDelimiter:$,. | |
v := RTView new. | |
elements := #(). | |
tab values do:[:row|elements := elements, row.]. | |
shape := RTBox new height:1; width:20; color: [:e | e isEmpty ifTrue: | |
[Color black] ifFalse:[ |
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
x := #(0.028 0.076 0.108 0.136 0.153 0.226 0.283 0.359 0.363 0.408 0.438 0.472 0.476 0.476 0.493 0.556 0.639). | |
y := #(2.7 4.2 10.5 14.1 10.5 13.2 19.8 28.2 20.7 29.4 31.8 44.4 32.1 37.2 33 34.5 46.5). | |
lr := DhbLinearRegression new. | |
points := (1 to: x size) collect: [:i|( (x at: i)@(y at: i))]. | |
points do: [:i|lr add:i]. | |
p := lr asEstimatedPolynomial. | |
b := RTGrapher new. | |
lb := RTLegendBuilder new. |
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
cp /Infos/lmd/2015/licence/ue/1I002-2016fev/filetypes.c ~/.config/geany/filedefs/ |
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
|diag| | |
diag := ESDiagramRenderer new. | |
(diag scatterplot) | |
models: ((0 to: 5e4) select:#isPrime); | |
y: [ :p |(p* (p cos))]; | |
x: [ :p |(p* (p sin))]; | |
preferredAxisMinX:(-50000); | |
preferredAxisMinY:(-50000); | |
smallObjects. | |
diag open. |
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
#Install npm | |
sudo apt-get install npm | |
#Ensure the lastest version of npm is installed | |
sudo npm install -g npm | |
#Install docpad 6.30 | |
npm install -g docpad@6.30 |
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
# Download Pharo 2.0 + VM | |
```bash | |
wget -O - get.pharo.org/20+vm | bash | |
``` | |
# Download Pharo 3.0 + VM | |
```bash | |
wget -O - get.pharo.org/30+vm | bash |
NewerOlder