Code Tactics
Kanalga Telegramβda oβtish
ur portal to the freshest tech stuff! β‘οΈ What I drop hereβs shit I need, love, think about... not just for u π
Ko'proq ko'rsatish513
Obunachilar
Ma'lumot yo'q24 soatlar
-37 kun
-330 kun
Postlar arxiv
513
https://you-think-you-have-time-huh.vercel.app
As a reminder π
created by @Bilal_AKAG
11 Dek 2025, 09:48
513
So here we goooo, I got my prizes!
I'm so grateful for that. Yegara's are cool tbh...π€
#yegaraDomainChallenge
03 Dek 2025, 17:29
513
They said don't thank AI, but AI does better when you appreciated for good things it's been doing and discourage the bad outputs.
03 Dek 2025, 17:29
513
Repost from BΟ
ΙΎΤΞ±Ι³-Ops
Your skill alone is no longer enough
Learn to market your skill
What is your skill again?
28 Noy 2025, 02:15
513
use rand::TryRngCore;
use rand::rngs::OsRng;
fn gen_psswd(len: usize) -> Result<String, Box<dyn std::error::Error>> {
const CHARSET: &[u8] = b"ABCDEFGHIJKLMNOPQRSTUVWXYZ\
abcdefghijklmnopqrstuvwxyz\
0123456789\
!@#$%^&*()-_=+[]{}|;:,.<>?";
let mut rng = OsRng;
let mut password = String::with_capacity(len);
for _ in 0..len {
let rand_index = rng.try_next_u32()? as usize % CHARSET.len();
password.push(CHARSET[rand_index] as char);
}
Ok(password)
}
fn main() -> Result<(), Box<dyn std::error::Error>> {
let password = gen_psswd(16)?;
println!("Generated secure password: {}", password);
Ok(())
}
π The password generated by the code above uses OsRng, which pulls randomness directly from the operating system. That means it's cryptographically secure, often backed by hardware entropy sources.
Unlike conventional password generators that rely on predictable pseudo-randomness, this one is extremely hard for attackers to guessβeven if they know how it works.
So yeah, if youβve never heard of OS-level randomness... this might just be the most secure password generator youβve seen so far π20 Okt 2025, 13:16
513
Repost from N/a
use rand::TryRngCore;
use rand::rngs::OsRng;
fn gen_psswd(len: usize) -> Result<String, Box<dyn std::error::Error>> {
const CHARSET: &[u8] = b"ABCDEFGHIJKLMNOPQRSTUVWXYZ\
abcdefghijklmnopqrstuvwxyz\
0123456789\
!@#$%^&*()-_=+[]{}|;:,.<>?";
let mut rng = OsRng;
let mut password = String::with_capacity(len);
for _ in 0..len {
let rand_index = rng.try_next_u32()? as usize % CHARSET.len();
password.push(CHARSET[rand_index] as char);
}
Ok(password)
}
fn main() -> Result<(), Box<dyn std::error::Error>> {
let password = gen_psswd(16)?;
println!("Generated secure password: {}", password);
Ok(())
}
π The password generated by the code above uses OsRng, which pulls randomness directly from the operating system. That means it's cryptographically secure, often backed by hardware entropy sources.
Unlike conventional password generators that rely on predictable pseudo-randomness, this one is extremely hard for attackers to guessβeven if they know how it works.
So yeah, if youβve never heard of OS-level randomness... this might just be the most secure password generator youβve seen so far π20 Okt 2025, 13:13
20 Okt 2025, ~13:16
513
Repost from Code Stars
apple/container
A tool for creating and running Linux containers using lightweight virtual machines on a Mac. It's written in Swift, and optimized for Apple silicon.
Language:Swift
Total stars: 958
Stars trend:
9 Jun 2025
8pm ββββββ +52
9pm βββββββββ +81
10pm βββββββββββ +95
11pm ββββββββββββββ +130
10 Jun 2025
12am βββββββββββββββββββ +173
#swift27 Avg 2025, 11:17
513
π³ Building GitHub Bots [EN]
π° This course will introduce you to creating GitHub bots using Python and Probot. You will learn to automate code management and testing processes by creating bots that simplify working with repositories. The course also includes examples of using GitHub Copilot to assist in development.
11 Avg 2025, 13:34
513
Repost from Drogo
Best mental reset Iβve learned:
If your mind is loud β Write.
If your mind is empty β Read.
If your mind is racing β Walk.
If your mind is tired β Sleep.
If your mind is sharp β Build.
08 Avg 2025, 12:21
513
Repost from N/a
btw if you want to get rid of those unkown rules warning in your global.css file add this rule in your ./vscode/settings.json
this will tell your editor to use tailwindcss plugin for your css files you will also get tailwindcss autocompletion when you use @directives and functions in your css files
30 Iyul 2025, 21:32
513
Repost from Hacker News
SIMD within a register: How I doubled hash table lookup performance (Score: 150+ in 13 hours)
Link: https://readhacker.news/s/6yAf4
Comments: https://readhacker.news/c/6yAf4
28 Iyul 2025, 20:59
513
Someone said using Fontawesome in the project is the old fashion and now I end up using
Tabler Iconsπ« π
28 Iyul 2025, 20:51
513
Here's what I tell myself: AI is just a tool, but it's much more powerful than any previous ones created by humans. Centuries ago, people relied on their hands and simple tools like stones and wood. Over time, they transitioned to using metal tools, which were more effective. This evolution in tools has brought us to a modern society where we use computers and advanced technologies. Initially, web development started with HTML, CSS, and vanilla JavaScript. As these languages evolved, frameworks emerged that often outperformed plain scripts. Now, sticking solely to vanilla HTML, CSS, and JS for modern software development seems outdated. Today, AI tools play a crucial role in software development, speeding up processes and helping developers spend less time on documentation and debugging. While some developers overlook AI, itβs clear that coding for long hours without it is inefficient. AI not only enhances productivity but also frees up time for improving existing projects or creating new ones.You may agree with me or not tho
27 Iyul 2025, 14:49
513
As y'all know, AI is changing the way we develop softwares... So what do you guys suggest on this? Am not specific on the language/framework but when it comes to learning/using them:
27 Iyul 2025, 07:30
