نوشته‌های ترمینالی
2.66K subscribers
425 photos
12 videos
32 files
2.25K links
Download Telegram
SecurityZines : Understanding linux proc
https://securityzines.com/flyers/proc.html
کاش گیت undo داشت.
انواع مختلفی از روش ها که میتونید باهاشون آندو کنید
https://ohshitgit.com/
👍6👎1
چرا emacs + evil mode خیلی خوب نیست؟
یه حرفش اینه که evil mode یا این distributionها consistency رو از بین می‌برن.
یه پلاگین نصب میکنی کار نمیکنه، یه تنظیمی قاطی میشه. داکویمنتیشن خیلی make sense نمیکنه و اینا.

https://www.youtube.com/watch?v=NNo2HWM3iPA
👍1👎1
درمورد Go به نظرم زیبا بود:
All the complexity that doesn't live in the language now lives in your codebase. All the invariants you don't have to spell out using types, you now have to spell out using code: the signal-to-noise ratio of your (very large) codebases is extremely poor.


https://fasterthanli.me/articles/lies-we-tell-ourselves-to-keep-using-golang
🔥3😱1
این برنامه نویس ها که میگن تو پایتون از map و filter استفاده نکنید و خیلی فانکشناله و به جاش list comprehension استفاده کنید
میدونن خود list comprehension از کجا اومده؟
از هسکل!
👍5😁3
مجموعه ابزار expect برای unix که با tcl نوشته شده:

https://www2.lib.uchicago.edu/keith/tcl-course/topics/expect.html
نوشته‌های ترمینالی
مجموعه ابزار expect برای unix که با tcl نوشته شده: https://www2.lib.uchicago.edu/keith/tcl-course/topics/expect.html
حالا به چه درد میخوره؟
اینکه بتونین یه برنامه interactive رو مثل یه برنامه batch معمولی تست/خودکارسازی کنید.

Good Unix programs are written as tools, and are meant to be programmed with. The primary mechanism for hooking tools together is the pipe, combined with the standard input / standard output filter model (though pipes can also work with more file descriptors). However, there is a class of Unix programs that can't be hooked together this way: programs which talk directly to a terminal device (i.e., interactive programs).


خوندن ویکیپدیاش هم خالی از لطف نیست:
https://en.wikipedia.org/wiki/Expect
روی این یه فریم ورک تست هم اومده که تست هایی که با expect نوشتیم رو اجرا کنه
به اسم Dejagnu
اموزش خوب خیلی سخت ازش پیدا میشه.

این دو تا رو داشته باشید:
اموزش pdf مختصر (و تا حدی مفید):
https://web.archive.org/web/20120322145747/https://www.kalycito.com/documents/Quick_Start_DejaGNU.pdf

آموزش خود gnu در قالب یه فایل پیوسته و قابل خوندن (فایل htmlش سخته واقعا هی جا به جا بشی)
https://www.gnu.org/software/dejagnu/manual/index.html


اینم توضیحات خوبی داده:
https://www.math.utah.edu/docs/info/dejagnu_1.html