Skip to content

Instantly share code, notes, and snippets.

View waldofe's full-sized avatar
🦾

Oswaldo Ferreira waldofe

🦾
View GitHub Profile
@waldofe
waldofe / gist:3746828
Created September 19, 2012 00:01 — forked from hudsonsferreira/gist:3710053
modelo de patch para inserir no Yakindu
//deve ser inserido no metodo createStatechartModel da classe FactoryUtils
//path: org.yakindu.sct.ui.editor/src/org/yakindu/sct/ui/editor/factories/FactoryUtils.java
State myState = SGraphFactory.eINSTANCE.createState();
myState.setName("Hudson");
region.getVertices().add(myState);
Node myStateNode = ViewService.createNode(
getRegionCompartmentView(regionView), myState,
SemanticHints.STATE, preferencesHint);
pt-BR:
views:
admin:
home:
name: Home
pagination:
previous: "« Anterior"
next: "Próximo »"
truncate: "…"
misc:
=Navigating=
visit('/projects')
visit(post_comments_path(post))
=Clicking links and buttons=
click_link('id-of-link')
click_link('Link Text')
click_button('Save')
click('Link Text') # Click either a link or a button
click('Button Value')
@waldofe
waldofe / 0_reuse_code.js
Created November 9, 2015 13:34
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console