I have this function that embeds flash :
function embedswfile(target, swf, base, width, height) {//dosomething}
And I want to call the function like this
embedSwf("flashgame",decode("<?=base64_encode($path['location'])?>"),decode("<?=base64_encode($path['base_directory'])?>"),"800","600" )
The idea is that whenever someone looks f...
Hi!
I have an app that receives qr code from the server. I want to decode it (not with intent and camera) and display the text it contains in my app. I have alredy done this in Java SE with jars from zxing with this code:
private class QRCodeDecoder {
public String decode(File imageFile) {
BufferedImage image;
...
Hi:
I have a string encoded by Escape in VBScript:
The Escape function returns a string
(in Unicode format) that contains the
contents of charString. All spaces,
punctuation, accented characters, and
other non-ASCII characters are
replaced with %xx encoding, where xx
is equivalent to the hexadecimal
number representing ...
Hi, guys, I got a following peace of base64 encoded data, and I want to use python base64 module to extract information from it? It seems that module does not work. Anyone tells me how?
Q5YACgAAAABDlgAbAAAAAEOWAC0AAAAAQ5YAPwAAAABDlgdNAAAAAEOWB18AAAAAQ5YHcAAAAABDlgeCAAAAAEOWB5QAAAAAQ5YHpkNx8H9Dlge4REqBx0OWB8pEpZ10Q5YH3ES2lxFDlgfuRIuPbEO...
I'm writing an application that uses the Python Gstreamer bindings to play audio, but I'm now trying to also just decode audio -- that is, I'd like to read data using a decodebin and receive a raw PCM buffer. Specifically, I want to read chunks of the file incrementally rather than reading the whole file into memory.
Some specific quest...
I have an RTP connection, and i can extract all Payload parts and concat them to each other sequentially to a byte array.
How can i decode this array?(suppose that i know the codec)
Is there any library that implements voip codecs?
Language: C#
...
Hello, we have a client who wants us to store xml table dumps from their database in an xml file (the xml file will contain potentially any combination of text or binary files (binary being base64 encoded) and xml database dumps).
To achieve this, we obviously need to encode the xml special characters inside the database dumps. The clie...
I need to compare two dates using the Oracle decode function to see if one is <= then the other.
I found this article - http://www.techonthenet.com/oracle/functions/decode.php
Which states (at the bottom) that the below decode function will return date2 if date1 > date2 :
decode((date1 - date2) - abs(date1 - date2), 0, date2, date1)
...
Assume the following Url:
"http://server/application1/TestFile.aspx?Library=Testing&Filename=Documents & Functions + Properties.docx&Save=true"
I use HttpUtility.UrlEncode() to encode the value of the Filename parameter and I create the following Url:
"http://server/application1/TestFile.aspx?Library=Testing&Filename=Document...
I have a problem with my templates, when I return HTML, it's encoded by default, and I cannot find a way to "fix" it.
I want to replace NewLines (\u000a) with a straight <br />, but I always end up with &lt;br&gt;
I've tried to fix it with this function:
function cleanNewLines(text)
{
return $("<div>" + text.replace(/\u000a...
I have strings like
var str = 'One & two & three';
rendered into HTML by the web server. I need to transform those strings into
'One & two & three'
Currently, that's what I am doing (with help of jQuery):
$(document.createElement('div')).html('{{ driver.person.name }}').text()
However I have an unsettling feeling that ...
I bought a software from classifiedscript.org, unfortunately, there is an encoded php file which I suspect contains some dodgey functions.
Just to clarify - they were suppose to provide full source code which I can edit and I did try emailing their '24/7 email support'... but all empty promises and not a single reply from them. Hope so...
I was working on parsing an excel file having japanese files in some of the cells.
By using Spreadsheet::ParseExcel (Ver. 0.15) (which I know is older than current version)
some of the cells with below characters
<設定B-1コース>
are appearing as in
print Dumper $oWkc->{_Value};
$VAR1 = "\x{ff1c}\x{8a2d}\x{5b9a}B-\x{ff11}\x{30b3}\x{...
I'm trying to decode a PDF file to useful data but I've got some coordinate system problems.
First, the data I'm using: http://pastebin.com/h4MFiSbd (I've already decoded it)
and the image that corresponds: http://yfrog.com/mycapturejvp
I'm trying to get the coordinates of the gray squares.
My problem is I've found the coordinates of ...
I have an object (testSession) that complies to NSCoder and when I use:
[NSKeyedArchiver archiveRootObject:testSession toFile:filename];
It has:
@interface Session : NSObject <NSCoding> {
and has encodeWithCoder: and initWithCoder: functions. Neither are getting called. What would prevent this?
- (void)encodeWithCoder:(NSCoder *)e...
I am using IJL(Intel Jpeg Library)v1.51, but there is a very strange problem, 1/2 scaled decoding (which means decoding a image with half original width and height) is slower than whole image decoding. Does anybody know why? And is there any method to accelerate IJL scaled decoding speed?
...
I'm working on a website that has many business profiles with their contact information which also include email addresses. Obviously I don't want to output the plain email addresses in the source due to spam. Could do mrsmith[at]gmail.com or obfuscate with ASCII but these solutions aren't ideal, not 100% foolproof.
The profiles do have...
SELECT DECODE (SYSDATE, SYSDATE + 1, NULL, SYSDATE)
FROM DUAL;
SELECT DECODE (SYSDATE, SYSDATE + 1, TO_DATE (NULL), SYSDATE)
FROM DUAL;
why am i getting the results in different formats from the queries above?
i am using Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
...
I want to encode / decode a string in AS3:
var string:String = "This is an text";
encode(string) will give for example: "yuioUasUenUwdfr"
decode(encoded(string)) will give: "This is an text";
It does not have to be secure or anything.
Thnx!
...
I have some string with unicode characters and was endcoded with javascript decodeURIcomponent.But i dont find any equivalent in php to decode it.Is there any solution for this?
...