HICTE Blog
#نکته_لینوکس اگه از bash استفاده میکنین و میخواین هیستوری vscode مجزا باشه تقریبا مثل همون روال قبلی برای fish محتویات پایین رو به فایل settings.json اضافه کنین: "terminal.integrated.defaultProfile.linux": "vscbash", "terminal.integrated.profiles.linux":…
#نکته_لینوکس
اگه از zsh استفاده میکنین و میخواین هیستوری مجزا داشته باشین کامند:
رو توی ترمینال vscode بزنین و ببینین خروجیش چیه. فرض میکنیم خروجیش
باشه.
حالا توی فایل
بنویسین:
و ازین به بعد هیستوری vscode توی
ذخیره میشه.
پینوشت: نهایتا راه های رسیدن به خدا زیاده برای bash هم میتونین روشی مثل این رو انتخاب کنین یا یه روش دیگه که توی کامنت پست قبل هست.
🚁 Hicte Blog
اگه از zsh استفاده میکنین و میخواین هیستوری مجزا داشته باشین کامند:
printenv TERM_PROGRAM
رو توی ترمینال vscode بزنین و ببینین خروجیش چیه. فرض میکنیم خروجیش
vscodeباشه.
حالا توی فایل
zshrc بجای HISTFILE=~/.histfileبنویسین:
if [[ $TERM_PROGRAM = "vscode" ]]; then
HISTFILE=~/.vsczsh_history
else
HISTFILE=~/.histfile
fi
و ازین به بعد هیستوری vscode توی
~/.vsczsh_historyذخیره میشه.
پینوشت: نهایتا راه های رسیدن به خدا زیاده برای bash هم میتونین روشی مثل این رو انتخاب کنین یا یه روش دیگه که توی کامنت پست قبل هست.
🚁 Hicte Blog
👍4
#کتاب
Dive Into DESIGN PATTERNS
Author: Alexander Shvets
Edition: 1st
Date: 2019
Publisher: Refactoring.Guru
Length: 409 pages
Official Website 👀
Download 😉
🚁 Hicte Blog
Dive Into DESIGN PATTERNS
Author: Alexander Shvets
Edition: 1st
Date: 2019
Publisher: Refactoring.Guru
Length: 409 pages
Official Website 👀
Download 😉
🚁 Hicte Blog
👍3
HICTE Blog
#کتاب Dive Into DESIGN PATTERNS Author: Alexander Shvets Edition: 1st Date: 2019 Publisher: Refactoring.Guru Length: 409 pages Official Website 👀 Download 😉 🚁 Hicte Blog
توضیحات:
An ebook on design patterns and the principles behind them
Design patterns help you solve commonly-occurring problems in software design. But you can’t just find a pattern and copy it into your program, the way you can with off-the-shelf functions or libraries. A pattern is not a specific piece of code, but a general concept for solving a particular problem. They are like pre-made blueprints that you can customize to solve a recurring design problem in your code.
The book Dive Into Design Patterns illustrates 22 classic design patterns, and 8 design principles that these patterns are based on.
Each chapter starts with a real-world software design problem, then solves it using one of the patterns.
Then we dive into a detailed review of the pattern's structure and its variations, followed by a code example.
Then the book shows various applications of the pattern and teaches how to implement the pattern step by step, even in an existing program.
Each chapter concludes with a discussion of pros and cons of the pattern and explores its relations to, similarities with and differences from other patterns.
Why do you need to know patterns?
Ace interviews and reviews. Questions about patterns come up at almost every programming job interview and every performance review. Get more jobs and get that raise and promotion you so richly deserve.
Extend your programming toolkit. Patterns let you customize ready-made solutions rather than reinvent the wheel. Your code has fewer mistakes because you are using a proven, standard solution covering all hidden problems.
Communicate better with colleagues. Just share the name of the pattern rather than wasting an hour explaining the details of your cool design and its classes to other programmers. Get the glory without the sweat.
Who is this book for?
Pattern Beginners. If you have never studied patterns, the book explains the basic principles of object-oriented programming with real-life examples. Before diving into the patterns, we look at the design values and principles on which the patterns are built.
Pattern Refreshers. If you studied patterns a while ago, but have forgotten things, the ebook can refresh your memory as serve as a handy reference. Quickly find sections of interest without having to read it from start to finish.
Language Switchers. If you are switching to one of the OOP languages (C#, C++, Go, Java, PHP, Python, Ruby, Rust, Swift, or TypeScript), you will easily grasp the essence of the text thanks to the many real-world examples and analogies, supported by helpful illustrations and diagrams.
#ابزار_لینوکس
احتمالا اسم neofetch و fastfetch و ... رو شنیدید که میان اطلاعات سیستم رو توی ترمینال نشون میدن.
یه onefetch هم داریم که اطلاعات ریپازیتوری گیت رو به این صورت نشون میده چیز باحالیه خواستید تستش کنید.
برای نصب و استفاده یه سر به ویکی گیت هابش بزنید:
https://github.com/o2sh/onefetch/wiki/installation
🚁 Hicte Blog <~ @CleverDevs
احتمالا اسم neofetch و fastfetch و ... رو شنیدید که میان اطلاعات سیستم رو توی ترمینال نشون میدن.
یه onefetch هم داریم که اطلاعات ریپازیتوری گیت رو به این صورت نشون میده چیز باحالیه خواستید تستش کنید.
برای نصب و استفاده یه سر به ویکی گیت هابش بزنید:
https://github.com/o2sh/onefetch/wiki/installation
🚁 Hicte Blog <~ @CleverDevs
👍14🔥1
#کتاب
Linux Bible
Author: Christopher Negus
Edition: 10th
Date: June 2020
Publisher: Wiley
Length: 928 pages
Amazon 👀
Download 😉
🚁 Hicte Blog
Linux Bible
Author: Christopher Negus
Edition: 10th
Date: June 2020
Publisher: Wiley
Length: 928 pages
Amazon 👀
Download 😉
🚁 Hicte Blog
👍2🔥2
HICTE Blog
#کتاب Linux Bible Author: Christopher Negus Edition: 10th Date: June 2020 Publisher: Wiley Length: 928 pages Amazon 👀 Download 😉 🚁 Hicte Blog
توضیحات:
The industry favorite Linux guide
Linux Bible, 10th Edition is the ultimate hands-on Linux user guide, whether you're a true beginner or a more advanced user navigating recent changes. this updated tenth edition covers the latest versions of Red Hat Enterprise Linux (RHEL 8), Fedora 30, and Ubuntu 18.04 LTS. It includes information on cloud computing, with new guidance on containerization, Ansible automation, and Kubernetes and OpenShift. With a focus on RHEL 8, this new edition teaches techniques for managing storage, users, and security, while emphasizing simplified administrative techniques with Cockpit. Written by a Red Hat expert, this book provides the clear explanations and step-by-step instructions that demystify Linux and bring the new features seamlessly into your workflow.
This useful guide assumes a base of little or no Linux knowledge, and takes you step by step through what you need to know to get the job done.
Get Linux up and running quickly
Master basic operations and tackle more advanced tasks
Get up to date on the recent changes to Linux server system management
Bring Linux to the cloud using Openstack and Cloudforms
Simplified Linux administration through the Cockpit Web Interface
Automated Linux Deployment with Ansible
Learn to navigate Linux with Amazon (AWS), Google (GCE), and Microsofr Azure Cloud services
Linux Bible, 10th Edition is the one resource you need, and provides the hands-on training that gets you on track in a flash.
#کتاب
21st Century C: C Tips from the New School
Author: Ben Klemens
Edition: 2nd
Date: November 2014
Publisher: O'Reilly Media
Length: 406 pages
Amazon 👀
Download 😉
🚁 Hicte Blog
21st Century C: C Tips from the New School
Author: Ben Klemens
Edition: 2nd
Date: November 2014
Publisher: O'Reilly Media
Length: 406 pages
Amazon 👀
Download 😉
🚁 Hicte Blog
🔥6👍1
HICTE Blog
#کتاب 21st Century C: C Tips from the New School Author: Ben Klemens Edition: 2nd Date: November 2014 Publisher: O'Reilly Media Length: 406 pages Amazon 👀 Download 😉 🚁 Hicte Blog
توضیحات:
Throw out your old ideas about C and get to know a programming language that’s substantially outgrown its origins. With this revised edition of 21st Century C, you’ll discover up-to-date techniques missing from other C tutorials, whether you’re new to the language or just getting reacquainted.
C isn’t just the foundation of modern programming languages; it is a modern language, ideal for writing efficient, state-of-the-art applications. Get past idioms that made sense on mainframes and learn the tools you need to work with this evolved and aggressively simple language. No matter what programming language you currently favor, you’ll quickly see that 21st century C rocks.
Set up a C programming environment with shell facilities, makefiles, text editors, debuggers, and memory checkers
Use Autotools, C’s de facto cross-platform package manager
Learn about the problematic C concepts too useful to discard
Solve C’s string-building problems with C-standard functions
Use modern syntactic features for functions that take structured inputs
Build high-level, object-based libraries and programs
Perform advanced math, talk to internet servers, and run databases with existing C libraries
This edition also includes new material on concurrent threads, virtual tables, C99 numeric types, and other features.
👍1
#کتاب
The Art of Computer Programming
Author: Donald Knuth
Edition: Vol.1 3rd, Vol.2 3rd, Vol.3 2nd, Vol.4A 1st, Vol.4B 1st
Date: 1997-2022
Publisher: Addison-Wesley Professional
Length: Vol.1 677, Vol.2 782, Vol.3 803, Vol.4A 901, Vol.4B 734 (pages)
Amazon 👀
Download 😉
{
Volume 1
Volume 2
Volume 3
Volume 4A
Volume 4B
}
Wikipedia 👈 [for more details]
🚁 Hicte Blog
The Art of Computer Programming
Author: Donald Knuth
Edition: Vol.1 3rd, Vol.2 3rd, Vol.3 2nd, Vol.4A 1st, Vol.4B 1st
Date: 1997-2022
Publisher: Addison-Wesley Professional
Length: Vol.1 677, Vol.2 782, Vol.3 803, Vol.4A 901, Vol.4B 734 (pages)
Amazon 👀
Download 😉
{
Volume 1
Volume 2
Volume 3
Volume 4A
Volume 4B
}
Wikipedia 👈 [for more details]
🚁 Hicte Blog
🤯2❤1👍1
HICTE Blog
#کتاب The Art of Computer Programming Author: Donald Knuth Edition: Vol.1 3rd, Vol.2 3rd, Vol.3 2nd, Vol.4A 1st, Vol.4B 1st Date: 1997-2022 Publisher: Addison-Wesley Professional Length: Vol.1 677, Vol.2 782, Vol.3 803, Vol.4A 901, Vol.4B 734 (pages) Amazon…
توضیحات:
The bible of all fundamental algorithms and the work that taught many of today’s software developers most of what they know about computer programming.
Volume 1 – Fundamental algorithms
Chapter 1 – Basic concepts
Chapter 2 – Information structures
Volume 2 – Seminumerical algorithms
Chapter 3 – Random numbers
Chapter 4 – Arithmetic
Volume 3 – Sorting and searching
Chapter 5 – Sorting
Chapter 6 – Searching
Volume 4A – Combinatorial algorithms
Chapter 7 – Combinatorial searching (part 1)
Volume 4B – Combinatorial algorithms
Chapter 7 – Combinatorial searching (part 2)
Countless readers have spoken about the profound personal influence of Knuth's work. Scientists have marveled at the beauty and elegance of his analysis, while ordinary programmers have successfully applied his "cookbook" solutions to their day-to-day problems. All have admired Knuth for the breadth, clarity, accuracy, and good humor found in his books.
Primarily written as a reference, some people have nevertheless found it possible and interesting to read each volume from beginning to end. A programmer in China even compared the experience to reading a poem. Whatever your background, if you need to do any serious computer programming, you will find your own good reason to make each volume in this series a readily accessible part of your scholarly or professional library.
👍1
#کتاب
Secure Coding in C and C++
Author: Robert C. Seacord
Edition: 2nd
Date: April 2013
Publisher: Addison-Wesley Professional
Length: 608 pages
Amazon 👀
Download 😉
🚁 Hicte Blog
Secure Coding in C and C++
Author: Robert C. Seacord
Edition: 2nd
Date: April 2013
Publisher: Addison-Wesley Professional
Length: 608 pages
Amazon 👀
Download 😉
🚁 Hicte Blog
🔥2👍1
HICTE Blog
#کتاب Secure Coding in C and C++ Author: Robert C. Seacord Edition: 2nd Date: April 2013 Publisher: Addison-Wesley Professional Length: 608 pages Amazon 👀 Download 😉 🚁 Hicte Blog
توضیحات:
Learn the Root Causes of Software Vulnerabilities and How to Avoid Them
Commonly exploited software vulnerabilities are usually caused by avoidable software defects. Having analyzed tens of thousands of vulnerability reports since 1988, CERT has determined that a relatively small number of root causes account for most of the vulnerabilities.
Secure Coding in C and C++, Second Edition, identifies and explains these root causes and shows the steps that can be taken to prevent exploitation. Moreover, this book encourages programmers to adopt security best practices and to develop a security mindset that can help protect software from tomorrow’s attacks, not just today’s. Drawing on the CERT’s reports and conclusions, Robert C. Seacord systematically identifies the program errors most likely to lead to security breaches, shows how they can be exploited, reviews the potential consequences, and presents secure alternatives.
Coverage includes technical detail on how to
Improve the overall security of any C or C++ application
Thwart buffer overflows, stack-smashing, and return-oriented programming attacks that exploit insecure string manipulation logic
Avoid vulnerabilities and security flaws resulting from the incorrect use of dynamic memory management functions
Eliminate integer-related problems resulting from signed integer overflows, unsigned integer wrapping, and truncation errors
Perform secure I/O, avoiding file system vulnerabilities
Correctly use formatted output functions without introducing format-string vulnerabilities
Avoid race conditions and other exploitable vulnerabilities while developing concurrent code
The second edition features
Updates for C11 and C++11
Significant revisions to chapters on strings, dynamic memory management, and integer security
A new chapter on concurrency
Access to the online secure coding course offered through Carnegie Mellon’s Open Learning Initiative (OLI)
Secure Coding in C and C++, Second Edition, presents hundreds of examples of secure code, insecure code, and exploits, implemented for Windows and Linux. If you’re responsible for creating secure C or C++ software–or for keeping it safe–no other book offers you this much detailed, expert assistance.
#کتاب
Learning eBPF: Programming the Linux Kernel for Enhanced Observability, Networking, and Security
Author: Liz Rice
Edition: 1st
Date: April 2023
Publisher: O'Reilly Media
Length: 234 pages
Amazon 👀
Download 😉
🚁 Hicte Blog
Learning eBPF: Programming the Linux Kernel for Enhanced Observability, Networking, and Security
Author: Liz Rice
Edition: 1st
Date: April 2023
Publisher: O'Reilly Media
Length: 234 pages
Amazon 👀
Download 😉
🚁 Hicte Blog
❤2👍1
HICTE Blog
#کتاب Learning eBPF: Programming the Linux Kernel for Enhanced Observability, Networking, and Security Author: Liz Rice Edition: 1st Date: April 2023 Publisher: O'Reilly Media Length: 234 pages Amazon 👀 Download 😉 🚁 Hicte Blog
توضیحات:
What is eBPF? With this revolutionary technology, you can write custom code that dynamically changes the way the kernel behaves. It's an extraordinary platform for building a whole new generation of security, observability, and networking tools.
This practical book is ideal for developers, system administrators, operators, and students who are curious about eBPF and want to know how it works. Author Liz Rice, chief open source officer with cloud native networking and security specialists Isovalent, also provides a foundation for those who want to explore writing eBPF programs themselves.
With this book, you will:
Learn why eBPF has become so important in the past couple of years
Write basic eBPF code, and manipulate eBPF programs and attach them to events
Explore how eBPF components interact with Linux to dynamically change the operating system's behavior
Learn how tools based on eBPF can instrument applications without changes to the apps or their configuration
Discover how this technology enables new tools for observability, security, and networking
Telegram
smm in HICTE Group
#ابزار_لینوکس
دنبال یه برنامه واسه خوندن PDF کتابا بودم که هم UI مینیمال داشته باشه و هم بشه برای دارک مودش بی دردسر رنگا رو به دلخواه تنظیم کرد.
اینگونه بود که Zathura رو پیدا کردم.
از فرمتای PDF، DjVu و EPUB به خوبی پشتیبانی میکنه و همچنین کلیدهای VI-Like داره.
نصب در آرچ لینوکس:
یه سری کلیدای پرکاربرد ازش:
کلیدهای بیشتر
پیکربندی:
برای تعیین رنگهای مورد علاقهتون هم میتونین توی فایل
مشخصشون کنین.
برای رنگ foreground تو دارک مورد
و برای background تو دارک مود هم
رو توی
همچنین اگه میخواین با سلکت کردن متنی اون متن کپی بشه به کلیپ بورد
رو به
اطلاعات بیشتر در مورد پیکربندی
[اگه حوصله ندارین هم فایل zathurarc خودم رو توی کامنت گذاشتم که رنگاش بر اساس تم دراکولا هست.]
سندباکس:
یه نسخهی سندباکس هم داره که فقط read-only فایل رو باز میکنه با یه سری محدودیتها که اگه فایلی رو از ناکجا آباد دانلود کردین و میخواین بازش کنین میتونین ازش استفاده کنین.
اطلاعات بیشتر
🚁 Hicte Blog
#ابزار_لینوکس
دنبال یه برنامه واسه خوندن PDF کتابا بودم که هم UI مینیمال داشته باشه و هم بشه برای دارک مودش بی دردسر رنگا رو به دلخواه تنظیم کرد.
اینگونه بود که Zathura رو پیدا کردم.
از فرمتای PDF، DjVu و EPUB به خوبی پشتیبانی میکنه و همچنین کلیدهای VI-Like داره.
نصب در آرچ لینوکس:
# pacman -S zathura zathura-djvu zathura-pdf-mupdfیه سری کلیدای پرکاربرد ازش:
فیت کردن بر اساس ارتفاع صفحه
a
فیت کردن بر اساس پهنای صفحه
s
نمایش بصورت دو صفحه کنار هم
d
حالت دارک مود
ctrl + r
نمایش فهرست
tab
رفتن به صفحهی nام
n [then] shift + g
حرکت یک صفحه به جلو
shift + j
حرکت یک صفحه به عقب
shift + k
کلیدهای بیشتر
پیکربندی:
برای تعیین رنگهای مورد علاقهتون هم میتونین توی فایل
~/.config/zathura/zathurarcمشخصشون کنین.
برای رنگ foreground تو دارک مورد
set recolor-darkcolor rgba(R,G,B,Alfa)و برای background تو دارک مود هم
set recolor-lightcolor rgba(R,G,B,Alfa)رو توی
zathurarc مشخص کنین.همچنین اگه میخواین با سلکت کردن متنی اون متن کپی بشه به کلیپ بورد
set selection-clipboard "clipboard"رو به
zathurarc اضافه کنین.اطلاعات بیشتر در مورد پیکربندی
[اگه حوصله ندارین هم فایل zathurarc خودم رو توی کامنت گذاشتم که رنگاش بر اساس تم دراکولا هست.]
سندباکس:
یه نسخهی سندباکس هم داره که فقط read-only فایل رو باز میکنه با یه سری محدودیتها که اگه فایلی رو از ناکجا آباد دانلود کردین و میخواین بازش کنین میتونین ازش استفاده کنین.
$ zathura-sandbox path/to/fileاطلاعات بیشتر
🚁 Hicte Blog
🔥8👍4❤1