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
diff --git a/html/toc.html b/html/toc.html | |
index 326f0a9..663970f 100644 | |
--- a/html/toc.html | |
+++ b/html/toc.html | |
@@ -8,6 +8,7 @@ | |
<body> | |
<h1>Table of Contents</h1> | |
-Please enter your text here. | |
+Please enter your text here, |
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
/* | |
Ao usar o ifndef (if not defined) o pre-processador só vai inserir o texto dentro do ifndef | |
se a constante __D_HEADER__ (deve ser uma constante unica, por isso os __ antes e depois) não estiver definida =D | |
*/ | |
#ifndef __D_HEADER__ | |
#define __D_HEADER__ | |
/* Assinatura das funções de D.h */ | |
#endif |
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
/* | |
* HelloWorld Example | |
* Based on: http://developer.android.com/resources/tutorials/hello-world.html | |
*/ | |
application "Hello, Android!" => com.example.android.hellodroid { | |
string hello = "Hello, Android! I am a string resource!" | |
screen HelloDroid { | |
# textView: @string hello |
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
/* | |
* HelloViews (Linear Layout) | |
* Based on: http://developer.android.com/resources/tutorials/views/hello-linearlayout.html | |
*/ | |
application "Hello, Android!" => com.example.android.hellodroid { | |
screen HelloDroid { | |
# linear layout { | |
orientation: vertical; |
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
/* | |
* Relative Layout Example | |
* Based on: http://developer.android.com/resources/tutorials/views/hello-relativelayout.html | |
*/ | |
application "Hello, Android!" com.example.android.hellodroid { | |
activity HelloDroid { | |
=> show main | |
} |
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
application "SimpleWizard" => org.android.example.wizard { | |
screen First { | |
# textView: "This is the first screen" {} | |
# button: "Next >" to Second {} | |
} | |
screen Second { | |
# textView: "And this is the second screen" {} | |
# button: "< Back" to First {} | |
# button: "Next >" to Third {} |
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
package org.eclipse.amalgam.tutorials.cheatsheets.xtext.actions; | |
import org.eclipse.jface.action.Action; | |
import org.eclipse.jface.dialogs.Dialog; | |
import org.eclipse.jface.viewers.StructuredSelection; | |
import org.eclipse.jface.wizard.WizardDialog; | |
import org.eclipse.swt.widgets.Shell; | |
import org.eclipse.ui.PlatformUI; | |
import org.eclipse.ui.cheatsheets.ICheatSheetAction; | |
import org.eclipse.ui.cheatsheets.ICheatSheetManager; |
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
module MyAwesomeEngine | |
class Engine < Rails::Engine | |
#isolate_namespace MyAwesomeEngine | |
config.after_initialize do | |
puts "Terminou a inicializacao" | |
end | |
# Antes de cada requisição (1 vez em production e sempre em development) | |
config.to_prepare do |
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 User < ActiveRecord::Base | |
end |
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
$ go get github.com/agl/go-gtk | |
# github.com/agl/go-gtk/gdk | |
../../agl/go-gtk/gdk/gdk.go:91:23: warning: 'gdk_color_parse' is deprecated [-Wdeprecated-declarations] | |
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gdk/deprecated/gdkcolor.h:79:11: note: 'gdk_color_parse' has been explicitly marked deprecated here | |
../../agl/go-gtk/gdk/gdk.go:105:42: warning: 'gdk_cursor_new' is deprecated [-Wdeprecated-declarations] | |
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gdk/gdkcursor.h:228:12: note: 'gdk_cursor_new' has been explicitly marked deprecated here | |
# github.com/agl/go-gtk/gtk | |
In file included from $WORK/github.com/agl/go-gtk/gtk/_obj/_cgo_export.c:2: | |
../../agl/go-gtk/gtk/gtk.go:325:9: warning: 'gtk_widget_get_double_buffered' is deprecated [-Wdeprecated-declarations] | |
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/gtkwidget.h:879:23: note: 'gtk_widget_get_double_buffered' has been explicitly marked deprecated here |