Skip to content

Instantly share code, notes, and snippets.

@guillep
guillep / Instantiating a Cog VM simulator
Last active February 29, 2016 12:25
VM Simulator Scripts
| sim |
InterpreterStackPages initialize.
StackInterpreterSimulator initializeWithOptions: Dictionary new.
sim := StackInterpreterSimulator new.
sim openOn: 'pharo4/Pharo.image'.
sim openAsMorph.
sim initStackPages.
sim loadInitialContext.
sim internalizeIPandSP.
@guillep
guillep / iot
Last active February 24, 2016 13:53
# Utiliser des cartes WSN430
## Matériel mis à disposition
- 1 dock USB pour flasher (avec câble rouge-blanc reliant l'UART1 à l'USB)
- 2 docks USB pour lien série (avec câble bleu reliant l'UART0 à l'USB)
- 2 cartes WSN430

Deploying a subfolder to GitHub Pages

Sometimes you want to have a subdirectory on the master branch be the root directory of a repository’s gh-pages branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master branch alongside the rest of your code.

For the sake of this example, let’s pretend the subfolder containing your site is named dist.

Step 1

Remove the dist directory from the project’s .gitignore file (it’s ignored by default by Yeoman).

DBXDriver initialize.
DBXMysqlDriver subscribeDriver.
DBXOpenDBXDriver subscribeDriver.
DBXSqlite3Driver subscribeDriver.
DBXPostgresV2Driver subscribeDriver.
aaaa:= DBXDriver classPool at: #Drivers.
DBXDriver availableDrivers.