Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1,14 +0,0 @@
|
|||
with Ada.Text_IO;
|
||||
|
||||
with AWS.Translator;
|
||||
|
||||
procedure Decode_AWS is
|
||||
Input : constant String :=
|
||||
"VG8gZXJyIGlzIGh1bWFuLCBidXQgdG8gcmVhbGx5IGZvdWwgdGhpbmdzIHVw" &
|
||||
"IHlvdSBuZWVkIGEgY29tcHV0ZXIuCiAgICAtLSBQYXVsIFIuIEVocmxpY2g=";
|
||||
Result : constant String := AWS.Translator.Base64_Decode (Input);
|
||||
begin
|
||||
Ada.Text_IO.Put_Line (Input);
|
||||
Ada.Text_IO.New_Line;
|
||||
Ada.Text_IO.Put_Line (Result);
|
||||
end Decode_AWS;
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
class Main {
|
||||
static function main() {
|
||||
var data = "VG8gZXJyIGlzIGh1bWFuLCBidXQgdG8gcmVhbGx5IGZvdWwgdGhpbmdzIHVw" +
|
||||
"IHlvdSBuZWVkIGEgY29tcHV0ZXIuCiAgICAtLSBQYXVsIFIuIEVocmxpY2g=";
|
||||
Sys.println('$data\n');
|
||||
var decoded = haxe.crypto.Base64.decode(data);
|
||||
Sys.println(decoded);
|
||||
}
|
||||
}
|
||||
|
|
@ -5,7 +5,7 @@ uCiAgICAtLSBQYXVsIFIuIEVocmxpY2g=
|
|||
}
|
||||
tmp$=tempname$
|
||||
open tmp$ for wide output as #f
|
||||
print #f, string$(inp$ as decode64);
|
||||
print #f, string$(inp$ as decode64);
|
||||
close #f
|
||||
document a$
|
||||
load.doc a$, tmp$
|
||||
|
|
|
|||
|
|
@ -6,5 +6,5 @@ VG8gZXJyIGlzIGh1bWFuLCBidXQgdG8gcmVhbGx5IGZvdWwgdGhpbmdzIHVwIHlvdSBuZWVkIGEgY29t
|
|||
|
||||
if let decoded = Data(base64Encoded: input),
|
||||
let str = String(data: decoded, encoding: .utf8) {
|
||||
print( str )
|
||||
print( str )
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
var [const] MsgHash=Import("zklMsgHash"), Curl=Import("zklCurl");
|
||||
|
||||
icon:=Curl().get("http://rosettacode.org/favicon.ico"); //-->(Data(4,331),693,0)
|
||||
icon=icon[0][icon[1],*]; // remove header
|
||||
icon=icon[0][icon[1],*]; // remove header
|
||||
iconEncoded:=MsgHash.base64encode(icon);
|
||||
iconDecoded:=MsgHash.base64decode(iconEncoded);
|
||||
File("rosettaCodeIcon.ico","wb").write(iconDecoded); # eyeball checking says good
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue