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
"facet\\s+?normal" + | |
"\\s+?(-?\\d+(\\.\\d+([eE][+-]\\d+)?)?)" + | |
"\\s+?(-?\\d+(\\.\\d+([eE][+-]\\d+)?)?)" + | |
"\\s+?(-?\\d+(\\.\\d+([eE][+-]\\d+)?)?)" + | |
"\\s+?outer\\s+?loop" + | |
"\\s+?vertex" + | |
"\\s+?(-?\\d+(\\.\\d+([eE][+-]\\d+)?)?)" + | |
"\\s+?(-?\\d+(\\.\\d+([eE][+-]\\d+)?)?)" + | |
"\\s+?(-?\\d+(\\.\\d+([eE][+-]\\d+)?)?)" + | |
"\\s+?vertex" + |
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 -d pharo2 | |
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
[ | |
Transcript open. | |
[true] whileTrue: [ | |
WorldState addDeferredUIMessage: [ | |
SmalltalkImage current saveSession]. | |
(Delay forSeconds: 60) wait] | |
] forkNamed: 'autosave' |
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
"script by Damien Cassou originaly from: https://code.google.com/p/smalltalk-hub/issues/detail?id=12" | |
| source goSource destination goDestination files destinationFiles | | |
source := MCHttpRepository location: '<url-to-source-sepository>'. | |
destination := MCHttpRepository | |
location: '<url-to-destination-sepository>' | |
user: '<login>' | |
password: '<pass>'. |
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
Metacello new | |
baseline: #Project; | |
repository: 'github://Uko/Project:branch'; | |
load |
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
width=1920 | |
height=1080 | |
ffmpeg -i visualization/%d.png -c:v libx264 -filter:v "scale=iw*min($width/iw\,$height/ih):ih*min($width/iw\,$height/ih), pad=$width:$height:($width-iw*min($width/iw\,$height/ih))/2:($height-ih*min($width/iw\,$height/ih))/2:0xFFFFFF" -pix_fmt yuv420p z.mov |
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
(FileSystem disk workingDirectory / 'temp.txt') writeStream | |
nextPutAll: 'string to write in file'; | |
close |
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: 'Code completion setings' | |
code: [ | |
NECPreferences | |
enabled: true; | |
popupShowAutomatic: true; | |
useController: NECController; | |
popupShowWithShortcut: Character space shift ] | |
runOnce: 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
| all dict reverseDict filtered | | |
"get data from db" | |
all := (MooseModel root first allAuthors collect: #name) asArray. | |
"get author relations data" | |
dict := STON fromString: | |
(ZnClient new get: 'https://raw2.github.com/Uko/SHubAuthors/master/SHubAuthors.ston'). | |
"create reverse dictionary" |
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
| builder models | | |
models := (RPackageOrganizer default packageNamed: 'AST-Core') definedClasses. | |
models do: [ :class | | |
class methods do: [ :method | | |
REPrefs default rules do: [ :rule | | |
rule validate: method ] ] ]. | |
builder := CCBuilder new description: 'Boxes in packed layout (isometric view)'. | |
builder packingLayout. | |
builder shapeBuilder platform | |
color: |
OlderNewer