This file contains hidden or 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
var Base64 = Java.type("java.util.Base64"); | |
// var Hex = Java.type("org.apache.commons.codec.binary.Hex"); | |
var DatatypeConverter = Java.type("javax.xml.bind.DatatypeConverter"); | |
var errorOccurred = false; | |
var flowFile = session.get(); | |
if (flowFile != null) { | |
try { |
This file contains hidden or 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
----- Esc ----- | |
Quick change directory: Esc + c | |
Quick change directory history: Esc + c and then Esc + h | |
Quick change directory previous entry: Esc + c and then Esc + p | |
Command line history: Esc + h | |
Command line previous command: Esc + p | |
View change: Esc + t (each time you do this shortcut a new directory view will appear) | |
Print current working directory in command line: Esc + a | |
Switch between background command line and MC: Ctrl + o | |
Search/Go to directory in active panel: Esc + s / Ctrl + s then start typing directory name |
This file contains hidden or 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
// OAuth2 client example https: | |
// github.com/googlesamples/apps-script-oauth2 | |
// file export documentation and testing | |
// https://developers.google.com/drive/v3/reference/files/export#try-it | |
// API credentials | |
// https://console.developers.google.com/ | |
// error can't execute DocumentApp.getUi() from this context |
This file contains hidden or 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
extension String { | |
func withoutDiacritic() -> String { | |
let replaceDict:[Character:Character] = [ | |
"á":"a", "č":"c", "ď":"d", "é":"e", "ě":"e", "í":"i", "ň":"n", "ó":"o", "ř":"r", "š":"s", "ť":"t", "ú":"u", "ů":"u", "ý":"y", "ž":"z", | |
"Á":"A", "Č":"C", "Ď":"D", "É":"E", "Ě":"E", "Í":"I", "Ň":"N", "Ó":"O", "Ř":"R", "Š":"S", "Ť":"T", "Ú":"U", "Ů":"U", "Ý":"Y", "Ž":"Z" | |
] | |
let asciiCharacters = self.characters.map { replaceDict[$0] ?? $0 } | |
let asciiString:String = String(asciiCharacters) | |
return asciiString |
This file contains hidden or 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
<!-- example 1 --> | |
<s:Group> | |
<s:layout> | |
<s:HorizontalLayout/> | |
</s:layout> | |
<s:Button label="Button 1"/> | |
<s:Button label="Button 2"/> | |
<s:Button label="Button 3"/> | |
<s:Button label="Button 4"/> | |
</s:Group> |
This file contains hidden or 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
<s:SkinnableDataContainer | |
itemRenderer="spark.skins.spark.DefaultItemRenderer"> | |
<mx:ArrayList> | |
<fx:String>Dave Jones</fx:String> | |
<fx:String>Mary Davis</fx:String> | |
<fx:String>Debbie Cooper</fx:String> | |
</mx:ArrayList> | |
</s:SkinnableDataContainer> |
This file contains hidden or 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
<s:SkinnableContainer> | |
<s:layout> | |
<s:HorizontalLayout/> | |
</s:layout> | |
<s:Button label="Button 1"/> | |
<s:Button label="Button 2"/> | |
<s:Button label="Button 3"/> | |
<s:Button label="Button 4"/> | |
</s:SkinnableContainer> |
This file contains hidden or 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
<s:TextInput text="Vstupní text"/> |
NewerOlder