TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #169 · 21 окт.

А знаете ли вы, что в Bash есть особая переменная "$_" ? Из описания можно узнать, что в переменную "$_" помещается последний аргумент последней команды. Что-то знакомое? Конечно, в Python есть примерно тоже самое. Мы знаем, что дата первого релиза Bash (8 июня 1989) несколько раньше чем первый релиз Python (20 февраля 1991). Если учесть, что по задумке автора Python это агрегация самых успешных практик отовсюду, можно ли сказать что именно эта фишка к нему пришла из Bash? Ни подтверждения ни опровержения я пока не нашел. Давайте просто считать это совпадением 😉 А как это может быть полезно в Bash? Приведу простой пример, который оценят те, кто часто работает в терминале. Допустим, нам надо создать директорию и зайти в неё. Что обычно делаем? :~$ mkdir foldername :~$ cd foldername :~/foldername$ Как это сделать в одну команду? :~$ mkdir foldername && cd foldername :~/foldername$ Уже лучше, но хочется короче, без повторов. Вот тут и пригодится наша переменная. Напомню, что в неё сохраняется последний аргумент предыдущей команды. :~$ mkdir foldername && cd $_ :~/foldername$ _________________ PS. Символы "&&"" разделяют команды и означают, что требуется выполнить вторую команду только если первая завершилась успешно. #linux#tricks

Резултати

Пронајдени 3 слични објави

Пребарај: #sctp

当前筛选 #sctp清除筛选
IRAS

@irassg · Post #2142 · 14.05.2026 г., 02:06

💡Did you know?Not everyone pays personal income tax – it depends on how much you earn. Singapore uses a progressive tax system: tax rates start at 0% for chargeable income below $20,000 and increase as income rises. Those who earn more contribute more, making the system fairer for everyone. That spirit of fairness was at the heart of our conversations with close to 30 youths this week. The Tax Youth Network (TYN) held its second kick‑off session at the refreshed Taxpayer and Business Service Centre (TBSC), bringing together students, young professionals and aspiring tax leaders for candid conversations on Singapore’s tax system. The room buzzed with thoughtful questions, diverse perspectives and discussions on trust, fairness and the role taxes play in nation-building. The new Discovery Hub at TBSC also made its debut, creating a more open and engaging space for these conversations. We were also privileged to have our partners, Singapore Chartered Tax Professionals and the Tax Academy of Singapore, share insights on career pathways and learning opportunities in the tax ecosystem. 👉🏻 TYN is more than a network, it is a community of youth advocates shaping perspectives and driving conversations on Singapore’s tax future. Keen to join this growing community? Join us at go.gov.sg/tyn26 #TaxYouthNetwork#YouthEngagement#SCTP#TaxAcademyofSingapore

GitHub Trends

@githubtrending · Post #15173 · 27.09.2025 г., 12:30

#cplusplus#c_plus_plus#cpp#datachannel#libdatachannel#libnice#p2p#peer_to_peer#peerconnection#rfc_8831#rfc_8834#rtcdatachannel#rtcpeerconnection#sctp#webrtc#webrtc_datachannel#webrtc_video#websocket libdatachannel is a lightweight, easy-to-use C/C++ library that lets you add real-time peer-to-peer data, media, and WebSocket communication to your apps across many platforms like Linux, Windows, macOS, Android, and iOS. It simplifies WebRTC by providing a smaller, simpler alternative to Google's library, with compatibility for browsers like Firefox and Chrome. You can use it to connect native apps directly to web browsers with minimal dependencies, supporting secure connections via GnuTLS, Mbed TLS, or OpenSSL. It also supports compiling to WebAssembly for browser use, making it flexible for cross-platform real-time communication development[1][4]. This helps you build fast, efficient apps for video, audio, or data sharing without heavy libraries. https://github.com/paullouisageneau/libdatachannel