Eruvin10: 6
לֹא יַעֲמֹד אָדָם בִּרְשׁוּת הַיָּחִיד וְיִשְׁתֶּה בִרְשׁוּת הָרַבִּים, בִּרְשׁוּת הָרַבִּים וְיִשְׁתֶּה בִרְשׁוּת הַיָּחִיד, אֶלָּא אִם כֵּן הִכְנִיס רֹאשׁוֹ וְרֻבּוֹ לִמְקוֹם שֶׁהוּא שׁוֹתֶה; וְכֵן בְּגַת. קוֹלֵט אָדָם מִן הַמַּזְחִילָה לְמַטָּה מֵעֲשָׂרָה טְפָחִים. וּמִן הַצִּנּוֹר, מִכָּל מָקוֹם שׁוֹתֶה.
A person may not stand in a private domain and drink in a public domain, [or] in a public domain and drink in a private domain, unless he brings his head and most of his body into the domain in which he drinks; similarly regarding a wine pit. A person may catch [water] from a gutter lower than ten fists. But from a pipe, he may drink in any manner.
Eruvin10: 7
בּוֹר בִּרְשׁוּת הָרַבִּים וְחֻלְיָתוֹ גְבוֹהָה עֲשָׂרָה טְפָחִים, חַלּוֹן שֶׁעַל גַּבָּיו מְמַלְאִין הֵימֶנּוּ בְשַׁבָּת. אַשְׁפָּה בִרְשׁוּת הָרַבִּים גְּבוֹהָה עֲשָׂרָה טְפָחִים, חַלּוֹן שֶׁעַל גַּבָּיו שׁוֹפְכִין לְתוֹכָהּ מַיִם בְּשַׁבָּת.
If a cistern is in a public domain and its embankment is ten fists high, the window above it may [be used to] draw from it on the Sabbath. If a rubbish heap in a public domain is ten fists high, the window above it may [be used to] pour water into it on the Sabbath.