## simple php script to save lines to columns

i started to write php script to show phones in columns:
<?php
I=0;
$fh=fopen("phones.txt,"r"); while(!feof($ fh))
{
$content[]=fgets($ fh);
$i++; } fclose ($ fh);
for($line=0;$ line<=$i;$ line++)
{
if (strpos($content[$ line]"972")!=0
{
echo "\n"."<br>";
echo $content[$ line];
}

my text file phones :
<span title="+1 (718) 207-0985, +1 (929) 402-6319, +39 346 386 6315, +44 7504 400424, +92 306 9386209, +972 50-223-8110, +972 50-235-2282, +972 50-240-8779, +972 50-281-1336, +972…

simple php script to save lines to columns

## Design You a Simple Banner Blog 560 x 315p For Advertise Or Blog/Forum Post Purpose for $4 Hi There, My Name Is Rehiga. Now I Open Side jobs for my next Collage. I Want to join the Favorite Campus in my country, So I made a New Jobs in here. I am only a Beginner designer, So Here we go, I Will Design You a Banner Blog With 560 x 315p Size. I Am Only Design The Banners, I am Not Design The Logo Too, So if you didn’t have any logo. Then I only add the text and some suitable Picture in the Banner Ads. The Banner Ads Is Also Simple And Minimalist Banner Ads, So That’s Why The Price of this service is so low. I hope you understand these Services. I Offers : – Low Price – Fast/Average Delivery (Max 48 Hours) – 560 x 315 Pixel Banner Ads – Banner Format In JPG or PNG You Have to Prove Me : – Written Text For Banner – Logos (Optional) – Your Website (Optional For Reference) If You Want to Order more than 10 Banner Ads, Just Send Me Some Message and we will talk about Discount Price Important: If You Want to request some common changes ( Like Change Background Colour Or Change Words ) Just Send Me Some Message. I Provide The Quality Of Work. Have Any Questions? Please, Don’t Hesitate to Send Any Message. I hope you get Satisfied. by: rehiga Created: — Category: Banner Ads Viewed: 385 ## Sharepoint 2013: simple api call not working [site name]_api/web/lists/GetByTitle(‘ListName’)/items  So why does this not work? All the examples I see indicate that it should work. <m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> <m:code> -1, Microsoft.SharePoint.Client.InvalidClientQueryException </m:code> <m:message xml:lang="en-US"> The expression "web/lists/GetByTitle(‘ListName’)/items" is not valid. </m:message> </m:error>  (20161101) More info: I’m working through this example: [https://blogs.msdn.microsoft.com/sridhara/2014/08/21/fix-sharepoint-2013-workflow-recursion-prevention-part-2/] List 2 successfully creates a new item, and I can get the GUID from that new item. This next step fails. HTTP Web Service info: [%WorkflowContext:CurrentSiteURL%]_api/web/lists/GetByTitle(‘List2’)/items?$ filter=GUID eq ‘[%Variable: NewItemGUID%]’

Response Code = BadRequest. I also log the http web service call string:

by: rehiga
Created: —
Viewed: 341

## Algorithm to find a simple path with maximum weight less than a constant in DAG

Given a weighted directed acyclic graph $$G=(V,E,W)$$, where the weights are non-negative and are on the vertices. I am searching for a simple path of maximum total weight, but this total weight should not exceed a given constant $$K$$.

Perhaps my question is elementary but I cannot find any solution. Indeed, it is well known that finding a simple path with maximum weight in $$G$$ is polynomial, but by adding the fact that this total weight should not exceed a given constant $$K$$, will the problem remain polynomial? because we need to keep at each node the set of path lengths that can be reached by the next vertices.

## Time complexity of simple function related to bits

A function Pow which calculates $$y = a^k$$ is given, where $$k$$ is an integer of length $$n$$ bits:

function Pow(a, k)     { k >= 0 }     z := a;     y := 1;     m := k;     while m != 0 do         if m mod 2 = 1 then             y := y * z;         end if         m := m div 2;         z := z * z;     end while     return y; end function 

Calculate the worst case time complexity and the average time complexity of this function. The dominant operation is a compare operation performed in line 6. Describe shortly the value of $$k$$ when the worst case occurs.

So, I believe the number of comparisons is dependant on length of $$k$$ in terms of its bits.

Let $$k = 0$$: (binary $$0$$ too, which is $$1$$ bit):

$$\Rightarrow 0$$ comparisons

Let $$k = 1$$: (binary $$1$$ too, which is $$1$$ bit):

$$\Rightarrow 1$$ comparison

Let $$k = 8$$: (binary $$1000$$ which is $$4$$ bits)

$$\Rightarrow 4$$ comparisons

Let $$k = 15$$: (binary $$1111$$ which is $$4$$ bits)

$$\Rightarrow 4$$ comparisons

Let $$k = 16$$: (binary $$10000$$ which is $$5$$ bits)

$$\Rightarrow 5$$ comparisons

I think a pattern can be seen.

Any number from the set $$\{2^h, 2^h + 1, \cdots, 2^{h+1} – 2, 2^{h+1} – 1 \} \quad \land \quad h > 0 \quad$$, is $$h + 1$$ bits long and hence $$h + 1$$ comparison.

So I’d believe $$T_{avg}(n) = T_{worst}(n) = n \in O(n)$$

But $$n$$ is number of bits of $$k$$ number. Function takes $$k$$ as a parameter, not $$n$$. So my solution is not the one that’s desired, I think.

In terms of $$k$$ I think it would look like that:

$$T_{worst}(k) = \lfloor log_{2}(2k) \rfloor \in O(\log k)$$

$$T_{avg}(k) = \lfloor log_{2}(2k)\rfloor \in O(\log k)$$

Questions:

1. Is the solution in terms of $$k$$ correct?
2. The solution in terms of $$n$$: how would you grade that, personally? Knowing the task’s description from the above.

I have posted similiar thread on math stackexchange, but would like to get more opinions on this from CS experts themselves.

## VideoLifeHacks Awesome Life Hacks That Will Simplify Your Life – Simple Life Hacks

Why are you selling this site? I will move to other project

How is it monetized? Earn from CPA

How much time does this site take to run? 1 day

What challenges are there with running this site? Nothing everything is setup

## How to present multiple fields of activities in different languages on a simple landing page?

I’m an IT professional working for a larger enterprise in Switzerland. Furthermore, I’m a freelancer (mostly voluntary activities for schools and very small companies) in my home country Germany.

Both fields of activities need to be presented on my personal website. For the IT professional engagement, some sort of blogging is expected by my employer, which must be written in English.

The voluntary activities are very local activities (only a particular region of Germany), thus it should be written in German.

Assuming a re-design of my website, how could I combine both offerings and solve the language mix issue here?

Thoughts

I was thinking of a simple, localized landing page, with two “buttons” redirecting a visitor to the field of activities (sub-page/dedicated page or site) written in either English or German.

Of course, I want to share as much as I can, e.g. about me section and the overall theme, but still keep the effort low. No extra translation of content, no fancy language detection.

I’m looking for some real-life examples or other ideas.

## Proffesionally Do Simple Data Entry Work and Be Your Virtual Assistant for $1 Hello Dear, 1 or 2 Pages Data Entry Work on PDF TO MS WORD ONLY FOR$ 1 We are Team Of Fahmida Akhter.I am Fahmida87 From Bangladesh. I Have 4 Years Experience on PDF to MS Work Data Entry Work.I am also Expert on SEO (Search Engine Optimization) and SMM (Social Media Marketing).I will Do Any Kinds Of Simple Data Entry Work For You on PDF to MS Word.I Can Do Your Work Very Easily and Timely. I Will Work For You 1-2 Pages Data Entry on PDF to MS Word. Satisfaction Guarantee to This Work??? >>> 100% Satisfaction Guarantee IF Not Complete Can I Back My Money??? >>> Yes.You Will Get Back Your Money IF Not Complete Why You Sell This For Very Cheap Price?? >>> Actually I am Searching Some Long Term Business Man.I want to Work With That Guys. Why Late Sir???Place an Order and Get Data Entry Work With Satisfaction Thanks Fahmida87

by: Fahmida87
Created: —
Category: Data Entry
Viewed: 216