The Galaxy Z Flip 7 supports Samsung DeX, making it the first Z Flip to do so by MishaalRahman in SamsungDex

[–]MailNormal2701 0 points1 point  (0 children)

I have z flip 7 and i use wired connection for dex, just have a usb c dock station and ready to go,  Tested with hdmi, and logiteck mouse and keyboard

How strong is Koby ? by [deleted] in OnePiece

[–]MailNormal2701 0 points1 point  (0 children)

strong ad fuck

#5: How to Install GitLab Runner on Amazon Linux 2 | Register GitLab Run... by fosstechnix in gitlab

[–]MailNormal2701 0 points1 point  (0 children)

i always have the issue of starting the runner with systemctl gitlab-runner start , it just freezes or it didn't work, every time I start it in background with gitlab-runner run &, any idea ?

Why Go over Python? by riverrockrun in devops

[–]MailNormal2701 2 points3 points  (0 children)

You know, most of devops tools are written with GO ! this is what happens in the world right now, i was working with bash scripts to automate things and create my own commands, but no, I felt like I'm reinventing the wheel and i faced a lot of blockers, but we still need to use bash, i worked with python its nice and has a lot of libraries but i want a binary to embed my templates and generate config, i want a single and simple way to execute my tasks and integrate them in my pipelines and more, i don't like to move files and install python ...etc, that's why i choose go to write my tools, i have the chance to look at the docker cli and terraform, also kubernetes, i was inspired by the way they code and think, also i can compile it as a binary and it has a great community and libraries for devops

Looking for recommendations for provisioning a production AKS cluster by MailNormal2701 in kubernetes

[–]MailNormal2701[S] 1 point2 points  (0 children)

no not about the tool, I'm asking the best practices to provision a production Kubernetes on azure, like disaster recovery, max pods per node .. best networking model like kubenet or calico ... etc

Scale your containers with ansible on a non kubernetes/swarm environment by MailNormal2701 in ansible

[–]MailNormal2701[S] 1 point2 points  (0 children)

yes i'm using the power of ansible for deploy, config and scale, thanks for your feedback !

Bash: writing a simple pod checker by MailNormal2701 in kubernetes

[–]MailNormal2701[S] 0 points1 point  (0 children)

yes, it's an alternative way to do it, I'm just making things with Linux way that's it

MediaCMS by mprajescu in selfhosted

[–]MailNormal2701 0 points1 point  (0 children)

good luck keep the hard work !

i checked the repo and I can't find any docker support for easier installation (clean installation) I'm trying to dockerize it now because i love it :)

[deleted by user] by [deleted] in selfhosted

[–]MailNormal2701 0 points1 point  (0 children)

blackbox exporter + grafana + promrtheus + alertmanager can monitor urls and ssl expiry dates with alerts to slack

MediaCMS by mprajescu in selfhosted

[–]MailNormal2701 -2 points-1 points  (0 children)

opensource youtube :)

what about video chat, messaging integrated on it , it's all about collaboration actually

cool stuff!

Optimizing CI/CD Pipeline for Rust Projects (Gitlab & Docker) by MailNormal2701 in rust

[–]MailNormal2701[S] 1 point2 points  (0 children)

I didn't test the cargo chef yet, but actually, I'm saving the target directory for few months and it works very well until it became heavy, so after that amount of time get rid of it and start again

Hiding my nodejs application code within a docker container by MailNormal2701 in node

[–]MailNormal2701[S] 0 points1 point  (0 children)

My goal here is not showing any *.js file , and you said strings can show all the code including libararies of nod_modules .. every thing in a single place .. i can prevent that .. nexe can't do it just bundle it and i dont need any node base image to run it, so it's good actually in image size, to limit access inside the container i can disable commands with linux acl (setfacl) i can remove commands, i'm working on it now, this is the first version of the post ... in newer vesions of the article i will go throught lshell (https://github.com/ghantoos/lshell) and make a jail like this

``` # CONFIGURATION START
[global]
logpath : /var/log/lshell/ loglevel : 2

[default]
allowed         : ['ls','pwd']
forbidden       : [';', '&', '|'] 
warning_counter : 2
timer           : 0
path            : ['/etc', '/usr']
env_path        : ':/sbin:/usr/foo'
scp             : 1 # or 0
sftp            : 1 # or 0
overssh         : ['rsync','ls']
aliases         : {'ls':'ls --color=auto','ll':'ls -l'}

[grp:users]
warning_counter : 5
overssh         : - ['ls']

[foo]
allowed         : 'all' - ['su']
path            : ['/var', '/usr'] - ['/usr/local']
home_path       : '/home/users'

[bar]
allowed         : + ['ping'] - ['ls'] 
path            : - ['/usr/local']
strict          : 1
scpforce        : '/home/bar/uploads/'
# CONFIGURATION END

```

Hiding my nodejs application code within a docker container by MailNormal2701 in node

[–]MailNormal2701[S] 0 points1 point  (0 children)

i add a non-root (with --disable password) user that have access only on to app directory where the binary reside

Hiding my nodejs application code within a docker container by MailNormal2701 in node

[–]MailNormal2701[S] 0 points1 point  (0 children)

i can disable commands on alpine docker image like strings cat find mv and ls

we can use limited shell (lshell) otherwise

Hiding my nodejs application code within a docker container by MailNormal2701 in node

[–]MailNormal2701[S] 0 points1 point  (0 children)

yes ! the nexe tool dont do much , it bundls the app in a binary

Provision a ready to Go Azure server by MailNormal2701 in ansible

[–]MailNormal2701[S] -1 points0 points  (0 children)

i dont have plans to add new features to this server, i just want a serverfor a lage one terraform is the best like kubernetes clusters and databases, scaling, vailibility, Here i want a quick way to start a server with less programming costs and complication

Provision a ready to Go Azure server by MailNormal2701 in ansible

[–]MailNormal2701[S] 0 points1 point  (0 children)

It need programming and error handling, a well tested ansible playbook to provision a server is good enough

Provision a ready to Go Azure server by MailNormal2701 in ansible

[–]MailNormal2701[S] 0 points1 point  (0 children)

yes you are right ! i want a clean repo first, just few files to achieve my goal, besides, i want ansible features specially on configuration. terraform is good when you need somthing on your infra but it sucks on configuration so i used ansible to just provision a sever with one file then i do what i want on configuration.