File | Name | Developer | Date |
---|---|---|---|
mhgaiden.zip | Mahjong Hourouki Gaiden (Japan) | Home Data | 1987 |
mhhonban.zip | Mahjong Housoukyoku Honbanchuu (Japan) | Nichibutsu | 1994 |
Discover gists
File | Name | Developer | Date |
---|---|---|---|
005.zip | 005 | Sega | 1981 |
100lions.zip |
This little tutorial shows "in depth" how to generate Python/PyEcore code for the GMF-Notation metamodel using pyecoregen.
First, due to some dependencies expressed in the GMF Notation .ecore
(relative
paths towards other .ecore
), it is required to have the full GMF Notation
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
class MList(object): | |
def __init__(self, owner, feature): | |
self.innerlist = [] | |
self.owner = owner | |
self.feature = feature | |
def size(self): | |
return len(self.innerlist) | |
def append(self, value, update_opposite=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
using UnityEngine; | |
using UnityEngine.UI; | |
public class HexGridLayout : LayoutGroup { | |
const float SQUARE_ROOT_OF_3 = 1.73205f; | |
public enum Axis { Horizontal = 0, Vertical = 1 } | |
public enum Constraint { Flexible = 0, FixedColumnCount = 1, FixedRowCount = 2 } |
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
from pyecore.resources import ResourceSet | |
from pyecore.utils import dispatch | |
import pyecore.ecore as ecore | |
class PlantUMLSwitch(object): | |
def __init__(self): | |
self.visited = set() | |
@dispatch |
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
# | |
set -g default-terminal screen-256color | |
set -g status-bg blue | |
set -g status-fg white | |
set -g status-right '#(sysctl vm.loadavg)' | |
setw -g window-status-current-attr underscore | |
bind r source-file ~/.tmux.conf | |
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
require 'nokogiri' | |
require 'open-uri' | |
require 'cgi' | |
episodes = Array.new | |
doc = Nokogiri::HTML(open("http://www.notificationcenter.tv/feed.rss")) | |
episodes = doc.xpath("//item") |
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
from pyecore.ecore import * | |
from pyecore.resources import ResourceSet | |
from pyecore.utils import dispatch | |
from enum import unique, Enum | |
from functools import wraps | |
import pyecore.ecore as ecore | |
from collections import namedtuple |
NewerOlder