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
:100000000C945D000C9485000C9485000C94E30A1C | |
:100010000C94E30A0C94E30A0C9485000C9485007C | |
:100020000C9485000C9485000C9485000C9485003C | |
:100030000C9485000C9485000C9485000C9485002C | |
:100040000C94990A0C9485000C944B070C9425078A | |
:100050000C9485000C9485000C9485000C9485000C | |
:100060000C94ED0A0C948500000000002400270089 | |
:100070002A0000000000250028002B0004040404CE | |
:100080000404040402020202020203030303030342 | |
:10009000010204081020408001020408102001021F |
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
#!/bin/bash | |
case $1 in | |
config) | |
cat <<'EOM' | |
graph_title OKI C301 Printer Supply Level | |
graph_args --base 1000 -l 0 --upper-limit 100 | |
graph_vlabel % | |
graph_scale no | |
graph_category print |
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
cmake_minimum_required(VERSION 3.10) | |
add_executable(program program.cpp) | |
target_link_libraries(program core) | |
add_custom_command( | |
TARGET program POST_BUILD | |
COMMAND ${CMAKE_OBJCOPY} -O ihex -R .eeprom program program.hex | |
COMMENT "OBJCOPY program" | |
BYPRODUCTS program.hex | |
) |
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
cmake_minimum_required(VERSION 3.12) | |
add_executable(myprogram myprogram.cpp) | |
target_link_libraries(myprogram core) | |
add_custom_command( | |
TARGET myprogram POST_BUILD | |
COMMAND ${CMAKE_OBJCOPY} -O ihex -R .eeprom myprogram myprogram.hex | |
COMMENT "OBJCOPY myprogram" | |
BYPRODUCTS myprogram.hex | |
) |
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
+ app=gogs | |
+ domain=git.grill-tamasi.hu | |
+ path=/ | |
+ sudo yunohost app checkurl git.grill-tamasi.hu/ -a gogs | |
+ [[ ! 0 -eq 0 ]] | |
++ sed -n 's/\(.\{24\}\).*/\1/p' | |
++ tr -c -d A-Za-z0-9 | |
++ dd if=/dev/urandom bs=1 count=200 | |
+ db_pwd=******************* | |
+ sudo yunohost app initdb gogs -p *********************** |
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
/* rule body with 0-* multiplicity */ | |
pattern subRule0n(first: Token, next: Token){ | |
first == next; | |
}or{ | |
find subRule0n_content(first, t0); | |
find subRule0n(t0, next); | |
} | |
/* rule body with 1-* multiplicity */ | |
pattern subRule0n(first: Token, next: Token){ |
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
/* | |
* Optional rule | |
*/ | |
pattern NonTerm(first: Token, next: Token){ | |
first == next; | |
}or{ | |
//Rule body | |
} |
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 hu.textualmodeler.query.infix | |
import "http://textualmodeler.hu/grammar" | |
import "http://textualmodeler.hu/tokens" | |
pattern terminal(t : Token, s){ | |
Token.terminal(t, terminal); | |
Terminal.name(terminal, s); | |
} |
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 hu.textualmodeler.parser.test; | |
import hu.textualmodeler.grammar.GrammarModel; | |
import hu.textualmodeler.grammar.Terminal; | |
import hu.textualmodeler.parser.AbstractTextualResource; | |
import hu.textualmodeler.parser.BasicFeatureResolver; | |
import hu.textualmodeler.parser.IFeatureResolver; |
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/hu.textualmodeler.editor/META-INF/MANIFEST.MF b/hu.textualmodeler.editor/META-INF/MANIFEST.MF | |
index ffbafd3..e1d1518 100644 | |
--- a/hu.textualmodeler.editor/META-INF/MANIFEST.MF | |
+++ b/hu.textualmodeler.editor/META-INF/MANIFEST.MF | |
@@ -19,7 +19,9 @@ | |
org.eclipse.emf.databinding;bundle-version="1.3.0", | |
org.eclipse.core.databinding.property;bundle-version="1.4.200", | |
org.eclipse.emf.transaction;bundle-version="1.4.0", | |
- org.eclipse.emf.databinding.edit;bundle-version="1.3.0" | |
+ org.eclipse.emf.databinding.edit;bundle-version="1.3.0", |
NewerOlder