Skip to content

Instantly share code, notes, and snippets.

@oschwab
oschwab / DownloadDCSSMorgue.sh
Created April 6, 2018 08:16
DCSS morgue retrieval
#!/bin/bash
function helptext {
echo "Usage : $0 [server] [user] [destination] "
echo " where server is : cdo, cao, cdo, cbro, lld, cwz, cxc, cpo "
}
if [ "$#" -ne 3 ]; then
helptext
exit 1
@oschwab
oschwab / game_stats.html
Created October 16, 2017 14:51
DCSS Stat report
<html>
<style>
/* ----------------------------------------------
Template original Name : UrbanArtist (http://www.styleshout.com)
------------------------------------------------ */
/* ----------------------------------------------
HTML ELEMENTS
------------------------------------------------- */
@oschwab
oschwab / dcss_stat.md
Last active October 4, 2017 08:37
Dungeon Crawl statistics

DUNGEON CRAWL SOUP STATISTICS

General statistics

Number of games played : 146

Best game : 61742

Average Score : 3066

@oschwab
oschwab / gist:7a92c987da6e2d02b54ba004c5764319
Last active June 19, 2017 07:55
Caliburn Micro : injection in ViewModel problem
public class AppBootstrapper : BootstrapperBase {
...
protected override void Configure() {
container = new SimpleContainer();
container.Instance(container);
container.Singleton<IWindowManager, WindowManager>();
container.Singleton<IEventAggregator, EventAggregator>();
container.PerRequest<ShellViewModel>();
14:53:42 MicroLite.Core.SessionFactory Creating a new session for connection named 'FirebirdTest'
14:53:42 MicroLite.Core.SessionBase Opening the database connection
14:53:42 MicroLite.Core.Transaction Beginning a new Transaction with the IsolationLevel 'ReadCommitted'.
14:53:42 MicroLite.Mapping.ObjectInfo Retrieving the ObjectInfo for 'DiasysTech.Combo.Model.TestEntry'
14:53:42 MicroLite.Mapping.ObjectInfo Creating the ObjectInfo for the type 'DiasysTech.Combo.Model.TestEntry'
14:53:42 MicroLite.Configuration.ConfigurationExtensions Mapping the property 'TestEntry.AddedDate' to the column 'ADDEDDATE'
14:53:42 MicroLite.Configuration.ConfigurationExtensions Mapping the property 'TestEntry.ChemistryId' to the column 'CHEMISTRYID'
14:53:42 MicroLite.Configuration.ConfigurationExtensions Mapping the property 'TestEntry.Id' to the column 'ID'
14:53:42 MicroLite.Configuration.ConfigurationExtensions Mapping the property 'TestEntry.ModifiedDate' to the column 'MODIFIEDDATE'
14:53:42 MicroLite.Configuration.Configu