Can you branch off another water line source rather than a main line

1

I provided a modification of a short answer above, but it wasnt sufficient for my needs. I needed to be able to categorize both committed lines and lines in the final code. I also wanted a break down by file. This code does not recurse, it will only return the results for a single directory, but it is a good start if someone wanted to go further. Copy and paste into a file and make executable or run it with Perl.

#!/usr/bin/perl use strict; use warnings; use Data::Dumper; my $dir = shift; die "Please provide a directory name to check\n" unless $dir; chdir $dir or die "Failed to enter the specified directory '$dir': $!\n"; if ( ! open(GIT_LS,'-|','git ls-files') ) { die "Failed to process 'git ls-files': $!\n"; } my %stats; while (my $file = ) { chomp $file; if ( ! open(GIT_LOG,'-|',"git log --numstat $file") ) { die "Failed to process 'git log --numstat $file': $!\n"; } my $author; while (my $log_line = ) { if ( $log_line =~ m{^Author:\s*([^} ) { ...
0 0
2

Other answers looked incomplete.
With a bit of tension, I have tried below in full, and it worked fine.

Details:
1. QAbranch is just the same copy of dev
2. All development happens in dev
3. time to time, dev code needs to be moved/overwrite to qa branch

so we need to overwrite qa branch, from dev branch

Sequence 1:

git checkout dev git merge -s ours QAbranch git checkout QAbranch git merge dev git push

NOTES:

With above commands, old QAbranch has been updated to newer dev

Automatic comment for last push is as below:

Merge branch 'QAbranch' into dev,
This comment looks reverse, because above sequence also looks reverse

Sequence 2:

git checkout dev

now gives

Switched to branch 'dev'
Your branch is ahead of 'origin/dev' by 15 commits.
(use "git push" to publish your local commits)

Above is unexpected (new local commits in dev is unnecessary)
so, we need to throw...

0 0
3

A line source, as opposed to a point source, area source, or volume source, is a source of air, noise, water contamination or electromagnetic radiation that emanates from a linear (one-dimensional) geometry. The most prominent linear sources are roadway air pollution, aircraft air emissions, roadway noise, certain types of water pollution sources that emanate over a range of river extent rather than from a discrete point, elongated light tubes, certain dose models in medical physics and electromagnetic antennas. While point sources of pollution were studied since the late nineteenth century, linear sources did not receive much attention from scientists until the late 1960s, when environmental regulations for highways and airports began to emerge. At the same time, computers with the processing power to accommodate the data processing needs of the computer models required to tackle these one-dimensional sources became more available.

In addition, this era of the 1960s saw the...

0 0
4

The hot water tank is probably in the basement, and so the water needs to flow uphill to reach your faucet. Where does it get the energy to do that? From the pressure of the main water supply, which flows into the tank to replace the hot water which is dispensed. This is also why, when you run out of hot water, your faucet runs cold rather than running dry. There's still cold water coming in, but no hot water to send out, so the cold water is pushed through.

If you installed your water heater in the attic rather than the basement, hot water would still need to flow upward because the outflow valve is at the top of the tank. But you could get a syphon effect if the supply line is exposed to air rather than merely being shut off by a valve. That would provide some hot-water flow, but nowhere near the usual flow...

0 0
5

You have not said how old your house is, what normal water line life in your area is, whether it is leaking under the foundation or under the yard, etc. Cost depends a great deal on length of run, depth to dig to get below frost line, whether excavation will be through trees or other obstructions or open area, whether ground along route is too steep for a backhoe to work on, etc.

The first thing you really need to figure out is whether this is a spot repair issue, or a total line replacement issue. Your plumber should be able to help with that determination. Very general rule of thumb - very old line from before 80's, if galvanized pipe, could be at its practical life and be ready for total replacement. Copper line generally last about 50-70 years UNLESS in a corrosive soil environment or if it has groundwater flowing actively past it, then can be 20-30 years. Plastic lines from the 60's to 80's vary a lot - from as little as 10 years to 50 plus dependingon brand. Plastic...

0 0
6

If a faucet is dripping, or a toilet is running, or if a leak develops in a refrigerator ice maker or dishwasher or washing machine--or any appliance supplied by water, your first and best choice is to shut off the water right at that fixture or appliance. By shutting the water off locally this way, other fixtures in your house can continue to operate unaffected while you take your time to make the repair.

The fixture shut-off valves will differ in appearance and location, but generally, they... will be very close to the fixture or appliance.

For sink faucets, look for the shutoff valves located below the sink, near where the water supply tubes run up to the tailpieces on the faucet. Any faucet that supplies both hot and cold water will have two valves--one for the hot water supply and one for the cold. For toilets, there will be a single shut-off valve (a toilet uses only cold water), usually located near the floor below the water supply valve on the bottom of the...
0 0
7

Today we’re sharing a DIY plumbing fix I made to complete the installation of our new refrigerator!

In our last post, I talked about the delivery and installation of our new stainless-steel refrigerator, which includes an ice and water dispenser – something we didn’t have with our old refrigerator.

The professional installers were supposed to hook up a water line for the new fridge, but once they saw our kitchen setup, they realized that it wouldn’t work for connecting the refrigerator’s water line to the sink pipe (which was the only method they were authorized to use). The sink and refrigerator would have to be on the same side of the room, and ours are not.

When we originally ordered the new refrigerator, we’d paid an extra $135 for water line installation labor. After I learned the installers wouldn’t be doing this work, I was luckily able to get this charge removed from our total purchase/installation cost. But that still left me...

0 0
8

Vent Pipes

For water to flow smoothly without gurgling, there must be an air passageway behind the water. Vent pipes extend from the drainpipes up through the roof to provide that passage. Vent pipes also carry odors out of the house.

The drainpipe for each plumbing fixture must be connected to a vent that supplies the pipe with air from the outside. In some cases the drainpipe is connected directly to a main or secondary stack pipe, which travels straight up through the roof. More often a drainpipe is connected to a revent pipe that reaches up and over to tie into the main vent stack. Plumbing codes strictly prescribe where vent pipes can connect to the stack and how far they should travel. In most cases a "wet" section of pipe—the part that carries wastewater—cannot be used as a vent, even if it is usually dry.

If your drainpipes gurgle when you run water in a sink or flush a toilet, call a professional plumber for an inspection. A vent may be stopped up and...

0 0
9

Rather is used to talk about preferences.

Don’t come today. I would rather you came tomorrow. (= I would prefer you to come tomorrow.)

After would rather we usually use a past tense with present or future meaning.

‘Would you like something to drink?’ ‘I would rather have something to eat.’ (= I would prefer to have something to eat.)

Rather can mean ‘more precisely’.

He arrived late last night, or rather, in the early hours this morning. He ran, or rather staggered, to the finishing line.

Rather than

This expression is mostly used in parallel structures. That means we use it with two adjectives, adverbs, nouns, infinitives or –ing forms.

I would rather spend my time traveling than working. We ought to invest in education rather than defense.

When the main clause has a to-infinitive, rather than is usually followed by an infinitive without to. An –ing form is also possible.

I decided to wait rather than leave. OR I decided to wait rather than...
0 0
10

In Git, there are two main ways to integrate changes from one branch into another: the merge and the rebase. In this section you’ll learn what rebasing is, how to do it, why it’s a pretty amazing tool, and in what cases you won’t want to use it.

The Basic Rebase

If you go back to an earlier example from Basic Merging, you can see that you diverged your work and made commits on two different branches.

The easiest way to integrate the branches, as we’ve already covered, is the merge command. It performs a three-way merge between the two latest branch snapshots (C3 and C4) and the most recent common ancestor of the two (C2), creating a new snapshot (and commit).

However, there is another way: you can take the patch of the change that was introduced in C4 and reapply it on top of C3. In Git, this is called rebasing. With the rebase command, you can take all the changes that were committed on one branch and replay them on another one.

In this...

0 0
11
Chicago ''L''.org: Operations - Lines -> North Side Main Line

.

Brown Line:
North Side Main Line

Click on a station name to see that station's profile (where available)

Service Notes:

Hours of Operation: 4am-1am, Mon-Sat; 6:45am-12:15am, Sun
Length of Route: 4.3 miles
Number of Stations: 8 stations
Car Types Assigned: 3200-series (see Car Assignment sheet for latest car assignments)

History:

The southern half of today's Brown Line -- the portion between Belmont station and the Loop -- represents the trunk line of the old Northwestern Elevated and is often referred to as the North Side Main Line. At Belmont, the Ravenswood branch begins and the Brown Line veers off the North Side Main Line to follow it. The rest of the North Side Main Line -- the original 1900 line to Wilson, and the 1908 extension beyond -- is covered by the Howard line local service and the Purple Line express service.

Work on...
0 0
12
...
0 0
13

Accurately determining if you have a water line leak requires no special tools or equipment. But it does require care and a step-by-step process. A homeowner can perform the test themselves with some guidance. But in most cases calling both a licensed plumber and your local water authority is usually the best bet. And typically you will incur little or no cost.

A water line leak can add substantially to your water bill. So understanding how to determine if you have a leak, and perform a leak test, is good to know. What follows is a commonsense and easy to follow guide on how to check for various types of water leaks.

The 1st Step To Check If You Have A Water Line Leak

Typical water meter

Almost all houses in NYC now have a water meter. The meter is connected just on the house side of the main control valve for the service line from the street. The water service line will be the largest fresh water pipe inside the house, and have a ground clamp for the...

0 0
14
May 28, 2013

Last week we discussed the different types of pipe used commonly used in sprinkler systems. We discussed how to lay out the pipes for your system and how to dig the trenches. Finally we discussed timers and their placement. This week we’re going to go further in the process by connecting to the municipal water source, installing any necessary backflow prevention and putting pipes in the ground.

Connect Water to Main

Where your water comes from will determine how you connect into it. For most people, the water source is a municipal water line buried in the ground. If you connect through a well (which requires a pump) then the hookup to the main line is the same, however we won’t be discussing installation of the pump this week. Either way, the irrigation mainline will take water from the source to the valves.

Irrigation mainline is a high quality of pipe. It must hold up under constant pressure. It should have a higher pressure rating assigned to...

0 0