@Learn_English_from_Zero_to_Hero · Post #60219 · 06.09.2025 г., 18:56
#Slang 💥Dog and bone ⚜(Cockney rhyming slang, Australian rhyming slang) A telephone. ⚡️Oi, keep the noise down! I'm talking to my old lady on the dog and bone.
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #210 · 3 фев.
Что делать если нужно поставить какую-то Python-библиотеку а root-прав нет? То есть в систему библиотеку никак и ничего не поставить. Есть как минимум два способа это решить правильно! 🔸 Сделать виртуальное окружение и ставить там что угодно. Это позволит создать полностью независимое исполняемое окружение для ваших приложений. Все библиотеки будут храниться в домашней директории юзера а значит доступ на запись имеется. Создать очень просто: python3 -m venv ~/venvs/myenvname Теперь активируем окружение # Linux source ~/venvs/myenvname/bin/activate # Windows %userprofile%\venvs\myenvname\Scripts\activate.bat Можно ставить любые библиотеки и запускать приложение. Это стандартный метод работы с любым проектом. Если еще не используете его, то пора начинать. Даже при наличии root доступа! 🔸 Бывает, что нет возможности запустить приложение из своего виртуального окружения. Например, его запускает какой-то сервис от вашего юзера и вставить активацию окружения вы не можете. В этом случае можно установить библиотеки для Python не глобально в систему, а только для юзера. Выполните этот код в консоли: python3 -m site Вы получите что-то такое: sys.path = [ '/home/user', '/usr/lib/python37.zip', '/usr/lib/python3.7', '/usr/lib/python3.7/lib-dynload', '/home/user/.local/lib/python3.7/site-packages', ... ] USER_BASE: '/home/user/.local' USER_SITE: '/home/user/.local/lib/python3.7/site-packages' ENABLE_USER_SITE: True Нас интересует параметр USER_SITE. Это путь к пользовательским библиотекам, которые доступны по умолчанию, если они есть. Именно сюда будут устанавливаться модули если добавить флаг --user при установке чего-либо через pip pip install --user requests Для этой команды не нужны root-права. После неё можно запускать системный интерпретатор без виртуальных окружений и установленная библиотека будет доступна для текущего юзера. Параметр USER_BASE показывает корневую директорию для хранения user-библиотек. Её можно изменить с помощью переменной окружения PYTHONUSERBASE export PYTHONUSERBASE=~/pylibs python3 -m site ... USER_BASE: '/home/user/pylibs' USER_SITE: '/home/user/pylibs/lib/python3.7/site-packages' Получается некоторое подобие виртуального окружения для бедных 😁 которое можно менять через эту переменную (не делайте так!Лучше venv!) 🔸 Дописывание пути в PYTHONPATH Этот способ не входит в список "двух правильных", но тоже рабочий. Здесь придётся сделать всё несколько сложней. Сначала ставим библиотеку в любое место указывая путь установки pip3 install -t ~/mylibs modulename Библиотека установится без привязки к какому-либо интерпретатору. То есть по умолчанию не будет видна. Теперь в нужный момент добавляем этот путь в sys.path или в PYTHONPATH. Не буду советовать так делать. Единственный раз когда этот способ мне пригодился и решил поставленную задачу, это при создании общей библиотеки для кластера компьютеров. Модули лежат в сети и подгружаются для всех из одного и того же места. То есть обновлять файлы требуется только один раз а не на всех хосты отдельно. Минусы такого подхода: ▫️Нужно всем хостам пробить нужный путь в .bashrc или ещё куда-то чтобы он сетапился на старте. ▫️Чем больше хостов тем больше нагрузка на сеть. Иногда такой способ не подходит именно по этой причине. Тогда Ansible вам в помощь. ▫️Не очень подходит если хосты с разными операционками. Некоторые библиотеки различаются для Linux и Windows (там, где есть бинарники) и приходится мудрить более сложные схемы. #tricks#basic
Пребарај: #slang
@Learn_English_from_Zero_to_Hero · Post #60219 · 06.09.2025 г., 18:56
#Slang 💥Dog and bone ⚜(Cockney rhyming slang, Australian rhyming slang) A telephone. ⚡️Oi, keep the noise down! I'm talking to my old lady on the dog and bone.
Hashtags
@Learn_English_from_Zero_to_Hero · Post #59993 · 04.08.2025 г., 18:27
#Slang 💥Grand poobah ⚜A person who is important or high-ranking. ☆He once played golf with the grand poobah of their company.
Hashtags
@Learn_English_from_Zero_to_Hero · Post #59992 · 04.08.2025 г., 18:27
#Slang 💥Have a cow ⚜To get angry; have a fit. ☆My mom had a cow when I came in late.
Hashtags
@Learn_English_from_Zero_to_Hero · Post #59991 · 04.08.2025 г., 18:27
#Slang 💥A blast from the past ○Something or someone that a person has not seen for a long time that evokes nostalgic feelings. ☆Hearing that record again was a real blast from the past .
Hashtags
@Learn_English_from_Zero_to_Hero · Post #59908 · 23.07.2025 г., 06:16
#Slang 💥Be a hundred years too early •To be so immature and unprepared as to have no hope of achieving an accomplishment. ●Example: ⚡️Don't make me waste my time! You are a hundred years too early to be an opponent worthy of fighting me!
Hashtags
@Learn_English_from_Zero_to_Hero · Post #59733 · 11.05.2025 г., 11:34
#Slang ⚜All good in the hood <Interjection> ▪️ Everything is all right; no problem; used to reassure someone. ▪️"Sorry about nearly breaking your vase, Carl." "I don't mind, man. All good in the hood."
Hashtags
@Learn_English_from_Zero_to_Hero · Post #59225 · 19.02.2025 г., 18:47
#Slang ⚜Go a bundle on 🔆to be extremely fond of ▪️She decided to go a bundle on the new marketing campaign, believing it would significantly boost sales.
Hashtags
@englishuniverseschool · Post #3 · 04.12.2025 г., 14:27
Рубрика ‘слово дня’ И первопроходцем будет слово ‘SLAY’ 😎 /sleɪ/ 1️⃣to impress someone very much or to be very good or impressive 2️⃣to be extremely good or nice Examples: The actors slay me with the quality of their acting. That top slaaaays! Перевод: крутой, впечатляющий (впечатлить) #slang
Hashtags
@englishmeta1 · Post #187 · 01.10.2022 г., 15:21
Bling 🏅 Meaning flashy jewellery worn to create the impression of wealth ❕For example 🔺Check out all the bling around that guy's neck. It must weigh a ton! 🔺Most people have gold bling or silver bling, but they don't usually mix it up. ✍Note "bling-bling" means the same thing 🌟Origin Originally used in U.S. hip-hop and rap culture, and possibly derived from the sound of heavy necklaces hitting one another. ✨Variety This slang term is typically used in American English but may be used in other varieties of English too. ━━━━━━━━━━━━━ #teamjimmy #sirjimmy #slang
Hashtags
@englishmeta1 · Post #182 · 27.09.2022 г., 20:27
Bend someone's ear🧏♀🧏👂 (v),(phr) Definition: 🎧To talk to someone insistently and at length 🧏Example: He was bending my ear about his new car. +++±+++++++++ #slang #sirjimmy #teamjimmy
Hashtags
@englishmeta1 · Post #26 · 08.02.2022 г., 05:00
Slang ✅ Peacocking ✨ Meaning Showing off Peacocking is when a person shows off to impress someone. It comes from the colorful feathers an actual peacock displays to attract a mate. The term is commonly used in regards to dating when a male tries to impress a female by doing something flashy to stand out from among the rest of the suitors. Peacocking may take the form of driving a really expensive car, learning some sweet dance moves, or domming in sports. 🗣 Example 🔸 "James is peacocking on the dance floor in order to get a dance with one of the bridesmaids. 🔸 Gaston peacocking with his chest muscle s ══❖•🌺🌸•❖══ #Slang #Teamjimmy #sirjimmy
Hashtags
@googlefactss · Post #40429 · 28.12.2025 г., 23:01
In Iceland, Að tefla við páfann is a euphemism for pooping; it can be roughly translated as “playing chess with the pope.” @googlefactss#europe#slang#nowyouknow
Hashtags