استراکتهای خالی چطوری به کمک شما میان؟ (در go)
https://medium.com/@l.peppoloni/how-to-improve-your-go-code-with-empty-structs-3bd0c66bc531
https://medium.com/@l.peppoloni/how-to-improve-your-go-code-with-empty-structs-3bd0c66bc531
Medium
How to improve your GO code with empty structs
The aim of this post is to show you how amazing are empty structs in GO and I will do that showing you some examples.
https://kk.org/thetechnium/68-bits-of-unsolicited-advice/
سخنان زیبایی گفته. به نظرم حتما نگاه بندازید
سخنان زیبایی گفته. به نظرم حتما نگاه بندازید
The Technium
68 Bits of Unsolicited Advice
UPDATE Several years ago on my 68th birthday I wrote up 68 bits of advice for my adult children, and posted them here. Here are the first five bits: Learn how to learn from those you disagree with, or even … Continue reading →
چه کسایی در گیتهاب فالو بک ندادند.
پروژه جالبی بود ولی چون فالوبک مهم نیست سورس کدش رو میذارم که بخونید نه که استفاده کنید.
https://github.com/AsishRaju/BeRude/blob/master/app.js
پروژه جالبی بود ولی چون فالوبک مهم نیست سورس کدش رو میذارم که بخونید نه که استفاده کنید.
https://github.com/AsishRaju/BeRude/blob/master/app.js
GitHub
AsishRaju/BeRude
A fun tool that lists all users who don't follow you back on GitHub😁 - AsishRaju/BeRude
Forwarded from Geeky Career (Mohammad Moallemi)
#json #api #documentation
JSON Schema
JSON Schema is a vocabulary that allows you to annotate and validate JSON documents.
https://json-schema.org/
@Geeky_Career
JSON Schema
JSON Schema is a vocabulary that allows you to annotate and validate JSON documents.
https://json-schema.org/
@Geeky_Career
جالبه بدونید dom judge برای سینتکس چک کردن برنامه های پایتون از این پکیج استفاده میکنه: py_compile
https://docs.python.org/3/library/py_compile.html
https://docs.python.org/3/library/py_compile.html
پاسخهای این سوال هم در مورد کامپایل کردن پایتون جالب بود.
https://askubuntu.com/questions/324871/how-to-compile-a-python-file
https://askubuntu.com/questions/324871/how-to-compile-a-python-file
Ask Ubuntu
How to compile a python file?
I have started learning python and I'm also a new user to Ubuntu. I need to know the ways of compiling the .py files. I have tried with the command
python "hello.py"
What are the other ways of
python "hello.py"
What are the other ways of
نوشتههای ترمینالی
پاسخهای این سوال هم در مورد کامپایل کردن پایتون جالب بود. https://askubuntu.com/questions/324871/how-to-compile-a-python-file
برای مخاطب ناآشنا بگم:
پایتون در حالت عادی نیازی به کامپایل نداره.
پایتون در حالت عادی نیازی به کامپایل نداره.
برای sandbox کردن برنامهها در لینوکس:
https://openvz.org/
Multiple secure, isolated Linux containers
https://www.jmcresearch.com/projects/jail/
Jail Chroot Project is an attempt of write a tool that builds a chrooted environment. The main goal of Jail is to be as simple as possible, and highly portable
https://linuxcontainers.org/
LXC and LXD: image based sandbox
(به نظرم از همه جالب تره فعلا)
و بدون هیچ ابزاری هم که با chroot میشه یه امنیت بسیار حداقلی رو هندل کرد
https://openvz.org/
Multiple secure, isolated Linux containers
https://www.jmcresearch.com/projects/jail/
Jail Chroot Project is an attempt of write a tool that builds a chrooted environment. The main goal of Jail is to be as simple as possible, and highly portable
https://linuxcontainers.org/
LXC and LXD: image based sandbox
(به نظرم از همه جالب تره فعلا)
و بدون هیچ ابزاری هم که با chroot میشه یه امنیت بسیار حداقلی رو هندل کرد
OpenVz
Open source container-based virtualization for Linux.
Multiple secure, isolated Linux containers (otherwise known as VEs or VPSs) on a single physical server enabling better server utilization and ensuring that applications do not conflict.
نوشتههای ترمینالی
برای sandbox کردن برنامهها در لینوکس: https://openvz.org/ Multiple secure, isolated Linux containers https://www.jmcresearch.com/projects/jail/ Jail Chroot Project is an attempt of write a tool that builds a chrooted environment. The main goal of Jail is…
البته یادتون نره که تک تکشون ناامنی دارن و بهشون اطمینان نکنید :)
نوشتههای ترمینالی
برای sandbox کردن برنامهها در لینوکس: https://openvz.org/ Multiple secure, isolated Linux containers https://www.jmcresearch.com/projects/jail/ Jail Chroot Project is an attempt of write a tool that builds a chrooted environment. The main goal of Jail is…
تفاوت lxc با docker
https://medium.com/@harsh.manvar111/lxc-vs-docker-lxc-101-bd49db95933a
https://medium.com/@harsh.manvar111/lxc-vs-docker-lxc-101-bd49db95933a
Medium
LXC vs Docker & LXC 101
linuxcontainers.org is the umbrella project behind LXC, LXD, and LXCFS.
کتابخونه فانکشنال در جاوا!
چیزهای جالبی داره حتی pattern matching هم به نوعی اضافه کرده
https://www.vavr.io/
چیزهای جالبی داره حتی pattern matching هم به نوعی اضافه کرده
https://www.vavr.io/
vavr.io
Vavr is an object-functional library for Java 8+
پوشه بندی های خوب برای پروژه go
https://www.wolfe.id.au/2020/03/10/how-do-i-structure-my-go-project/
https://www.wolfe.id.au/2020/03/10/how-do-i-structure-my-go-project/
www.wolfe.id.au
How do I Structure my Go Project? | Mark Wolfe's Blog
Assuming you read my Starting a Go Project post you should have the starting point for a minimal go web service. For your first project it is easier to keep all your code in one folder, in the base of your project, but at some point you will want to restructure…
۰ تا تقریبا ۱۰۰ اجرای یک پروسس دیگر در go
https://medium.com/rungo/executing-shell-commands-script-files-and-executables-in-go-894814f1c0f7
https://medium.com/rungo/executing-shell-commands-script-files-and-executables-in-go-894814f1c0f7
Medium
Executing shell commands, script files, and executables in Go
In this article, we are going to learn how to execute external shell commands, script files and executable files from a Go program using…
اینطور که اینجا به شکل ضمنی گفتن متد run برای command چندان جالب نیست و ترجیحا از output یا wait استفاده بشه
https://www.reddit.com/r/golang/comments/44df3v/this_is_making_me_crazy_cant_get_the_output_of_an/
https://www.reddit.com/r/golang/comments/44df3v/this_is_making_me_crazy_cant_get_the_output_of_an/
reddit
This is making me crazy! Can't get the output of an exec.Command...
Hello All, I have been struggling with a basic problem for a day now I hope someone can help me with this as I am obviously missing something...
سورس کد channel در go
https://golang.org/src/runtime/chan.go
https://golang.org/src/runtime/chan.go
go.dev
- The Go Programming Language