back soft

مطالب مرتبط با «using» در back soft | نویسنده: استخدام کار

When using CSS, how do you set a specific directory's background color and such?

Vote count: -2 Sorry, I thought the thread title might have a limit Now, let me give you some background information. Earlier today, I started off searching for a good web provider that offered a cPanel because I am fairly new and do not understand FTP ports and whatnot. I found ByetHost. I made my website and made a few directories: about, contact, etc. Anyways, I am working on the directory called 'main' right now. Website: http://crossfirecheats.byethost10.com/Main/MainHTML.html Anyways, I was trying to set the H1 header to white, and the background color to black. I thought this was a simple, global action I could do in a .CSS file and it would work on all elements; apparently not. This ...

ادامه مطلب

how to convert a stereo audio to mono using mediacodec in android

Vote count: 0 I tried to convert stereo to mono. Actually the audio file is AACObjectLC profile using two chaels. I tried using encoder with AACHE profile with chael count but the voice is not proper. Need some help on this. MediaFormat inputFormat = audioExtractor.getTrackFormat(audioInputTrack); inputFormat.setInteger(MediaFormat.KEY_CHANNEL_COUNT,1); MediaFormat outputAudioFormat = MediaFormat.createAudioFormat( OUTPUT_AUDIO_MIME_TYPE, OUTPUT_AUDIO_SAMPLE_RATE_HZ, OUTPUT_AUDIO_CHANNEL_COUNT); outputAudioFormat.setInteger(MediaFormat.KEY_BIT_RATE, OUTPUT_AUDIO_BIT_RATE); outputAudioFormat.setInteger(MediaFormat.KEY_AAC_PROFILE, OUTPUT_AUDIO_AAC_PROFILE); audioEncoder = createAudioEncoder(a...

ادامه مطلب

Force custom view to redraw(or invalidate) using a timer

Vote count: 0 I've created a custom widget, which is animated. Now my problem is that I can't redraw the view, when the corresponding data gets updated. Just don't hold anything against me in the code. This is my first piece of code in swift and I haven't worked with neither swift nor with Objective-C :-D And also I've read the following questions, but they didn't help me: How to force a view to render itself? what-is-the-most-robust-way-to-force-a-uiview-to-redraw The code: import UIKit struct Digit { var targetDigit: Int var currentDigit: Int var phase: Float } @IBDesignable class RollerCounter: UIView { var view: UIView! var viewRect: CGRect! var intNumber: Int var digits = [Digit]() let ...

ادامه مطلب

want to parse only mail subject and body of unread mail from exchange server using EWS in PHP

Vote count: 0 i want to get the mail subject and body of only unread mail of my inbox from our exchange server using my mail id. below code shows all unread mail(if number of unread mail is greater than 2). my reuirement is 1. i want to read only one unread mail at a time and make it as read after seen. 2. only parse mail subject, from address and mail body. below is my code....

ادامه مطلب

Find compound interest using operator overloading

Vote count: 0 I am writing a code that tries to find out the simple and compound interest using operator overloading. While I have found the simple interest, I am having problem with the compound interest. #include #include using namespace std; class Interest { private: double P; double R; double I; public: Interest(){}; ~Interest(){}; void setP(double recieveP){P = recieveP;} void setR(double recieveR){R = recieveR/100;} double getP(){retu P;} double getI(){retu I;} Interest operator*(int T) { class Interest int1; int1.I= P*R*T; retu int1; } }; int main() { class Interest simp1; class Interest comp1; double Principle,Rate,Years; cout Principle; simp1.setP(Principle); comp1.setP(Principle); ...

ادامه مطلب

Fetching record using rid and limit

Vote count: 0 I have 5 lakhs record in class. I want to fetch 2000 records and send for processing. Query : 'SELECT FROM class WHERE @rid > "#-1:-1" ORDER BY @rid ASC LIMIT 2000' 'SELECT FROM class WHERE @rid > "#-1:-1" ORDER BY @rid ASC LIMIT 2000' fetched more than 50000 records: to speed up the execution, create an index or change the query to use an existent index [OProfiler] How to avoid this waing ? I have tried with between operator as well . I am getting the same waing. asked 1 min agouser2281598 This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publis...

ادامه مطلب

How to encrypt text using OpenSSL.NET and VB (C#)?

Vote count: -1 I could not find any example of this. Need simple encryption method for text phrase with salt.Encryption method: SHA256Library: OpenSSL.NET or ANY other working wrapper. asked 2 mins agoJalle This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers....

ادامه مطلب

Not able to fetch data of variables using for loop in Shell script ksh

Vote count: 0 Need help in below: I know it's quite big in text, but if you could read it's understandable. I'm having this file cat myfile.txt XSAP_SM1_100 COR-REV-SAPQ-P09 - 10/14/2013 - SCHEDULE XSAP_SM1_100#COR-REV-SAPQ-P09 TIMEZONE Europe/Paris ON RUNCYCLE RULE1 "FREQ=WEEKLY;BYDAY=WE" EXCEPT RUNCYCLE CALENDAR2 FR1DOFF -1 DAYS EXCEPT RUNCYCLE SIMPLE3 11/11/2011 AT 0530 : XSAP_SM1_100#CORREVSAPQP09-01 AT 0640 TIMEZONE Europe/Paris XSAP_SM1_100#CORREVSAPQP09-02 AT 0645 TIMEZONE Europe/Paris I'm taking the data range after the ':' by using awk 'BEGIN {p=0} {if ($0==":") {p=p+1} else {if (p>0) {print $0} } } END {print ""}' . So I get the required data starting from after : So here I'm fetch...

ادامه مطلب

can not connect into the mail box using java mail api

Vote count: 0 i am trying to coonect to my mail box using the java mail api based on imap protocol. i check and for sure i inserting the correct parameters. this is the following exception that i got: [ALERT] Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure) i do not know why it is happens in addition i enabled the imap option in my gmail account settings. this is my code: Properties protocol = new Properties(); protocol.setProperty("mail.store.protocol", "imaps"); try{ Session session = Session.getInstance(protocol, null); Store store = session.getStore(); String host = prop.getProperty("host"); String email = prop.getProperty("useame"); Str...

ادامه مطلب

Adding an attribute to all nodes matching an XPATH expression using Oracle XML DB

Vote count: 0 I caot come to a solution to this task: my goal is to pass a cursor to a PL/SQL procedure and get the results as an XMLType. The function dbms_xmlgen.getxmltype() makes this task straightforward John Goodman 22-JUN-2011 Now I want to add the cursor column data type as an attribute to each corresponding XML element. John Goodman 22-JUN-2011 This could be done using dynamic SQL, so I can write a PL/SQL function to get an associative array mapping each column to the corresponding data type. Supposing I have both the aforementioned associativa array and the XMLType, how can I apply a set of transformations using a XPATH expression such as -- pseudocode ;) func(myXMLType, '//FIRST_N...

ادامه مطلب

PHP: Cannot login to another website using curl

Vote count: 0 I'm trying to login to an exteal website (https://eclass.aueb.gr) using curl but I can't. I tried using those functions which I found online with no success....

ادامه مطلب

What do I need to do to send out Protobuf serialized Data using C# ASP .NET web api?

Vote count: 0 I'm new to protobuf and fairly new to asp .net. so I might need help on this. I have this code snippet for my PersonsController: public class PersonController : ApiController { [ProtoContract] public class Person { [ProtoMember(1)] public int ID { get; set; } [ProtoMember(2)] public string First { get; set; } [ProtoMember(3)] public string Last { get; set; } } // GET api/values public IEnumerable Get() { List myList = new List { new Person { ID = 0, First = "Judy", Last = "Lee" }, new Person { ID = 1, First = "John", Last = "Doe" }, new Person { ID = 2, First = "George", Last = "Poole" }, }; retu myList; } } and I'm wondering if that's enough to be able to send out the protobuf...

ادامه مطلب

How to set image path in image tag using PHP

Vote count: 0 I need one help.I need to set the image path after fetched from DB inside image tag using PHP.I am explaining my code below. $getcustomerobj = $dbobj->getNewsData($id); div class="input-group bmargindiv1 col-md-12"> Upload Image :...

ادامه مطلب