Eruvin10: 4
זִיז שֶׁלִּפְנֵי חַלּוֹן, נוֹתְנִין עָלָיו וְנוֹטְלִין מִמֶּנּוּ בְשַׁבָּת. עוֹמֵד אָדָם בִּרְשׁוּת הַיָּחִיד וּמְטַלְטֵל בִּרְשׁוּת הָרַבִּים, בִּרְשׁוּת הָרַבִּים וּמְטַלְטֵל בִּרְשׁוּת הַיָּחִיד; וּבִלְבַד שֶׁלֹּא יוֹצִיא חוּץ מֵאַרְבַּע אַמּוֹת.
A ledge which is in front of a window, one may put onto it and take from it on the Sabbath. A person may stand in a private domain and move objects in a public domain, [or] in a public domain and move objects in a private domain; provided he does not take [them] beyond four cubits.
Eruvin10: 5
לֹא יַעֲמֹד אָדָם בִּרְשׁוּת הַיָּחִיד וְיַשְׁתִּין בִּרְשׁוּת הָרַבִּים, בִּרְשׁוּת הָרַבִּים וְיַשְׁתִּין בִּרְשׁוּת הַיָּחִיד. וְכֵן לֹא יָרֹק. רַבִּי יְהוּדָה אוֹמֵר: אַף מִשֶּׁנִּתְלַשׁ רֻקּוֹ בְּפִיו, לֹא יְהַלֵּךְ אַרְבַּע אַמּוֹת עַד שֶׁיָּרֹק.
A person may not stand in a private domain and urinate into a public domain, [or] in a public domain and urinate into a private domain. Similarly, he may not expectorate. R’ Yehudah says: Even when one’s saliva has become detached in his mouth, he may not walk four cubits until he expectorates.