Smart 🧠 Fullstack
45 subscribers
168 photos
11 videos
13 files
153 links
About channel: everyday developer hints.

for (💲Coders as 💲Student):
echo("Hello 💲Student->name");
endfor;

Author: @BakirovRoman
Download Telegram
🌪 JestBrains IDE's Feature

File -> Export -> Files or Selection to HTML...

#jetbrains #export #html
Please open Telegram to view this post
VIEW IN TELEGRAM
dump.php.html
3 KB
1👻3
Running Arduino IDE Trouble

Command:
Romaxa@Coder:~/Downloads$ ./arduino-ide_2.3.6_Linux_64bit.AppImage


Problem:
[9871:0822/205312.847155:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_arduinh3PsDe/chrome-sandbox is owned by root and has mode 4755.
Ловушка трассировки/останова (образ памяти сброшен на диск


Reason:
Arduino IDE fails to launch on Linux due to improperly configured Chrome sandbox permissions in the Electron-based application.


Temporary Solution:
./arduino-ide_2.3.6_Linux_64bit.AppImage --no-sandbox


#arduino #ide #chrome #trouble #electron
🖥 How To Clone (Only) One Dir From Giant Project 🤓

Example Giant Repo / Too Long To Clone All:
git clone git@github.com:makhnanov/wesnoth.git


How To Get Only Images Dir:
git clone --filter=blob:none --sparse git@github.com:makhnanov/wesnoth.git
cd wesnoth
git sparse-checkout set data/core/images/


#git
Please open Telegram to view this post
VIEW IN TELEGRAM
Install Claude Code Cli 🤖

🔠🔠🔠🔠🔠🔠🕸❤️

npm install -g @anthropic-ai/claude-code

claude


Useful Links:
- Doc
- IDEA Plugin

Windows
$env:Path += ";C:\Program Files\nodejs" ; npx claude


UPD (Simple way):
curl -fsSL https://claude.ai/install.sh | bash


#ai #claude
Please open Telegram to view this post
VIEW IN TELEGRAM
1
✉️ Currently, for a Telegram bot to be able to send custom emojis, you need to make it premium for a very high price (like an airplane wing) through the Fragment platform. But it would be much cheaper and more straightforward to use something like a userbot, with an additional account, which would be able to edit messages from the main account published in a channel. Well, I’ll need to try this out)

🖥 Useful Links:
- 🖥 Pyrogram
- 🖥 TGUserbot
Please open Telegram to view this post
VIEW IN TELEGRAM
Delta - git diff analog.

Installation:
sudo apt install git-delta


Usage:
delta index.html index.backup.html

# instead of
# diff index.html index.backup.html

#git #diff
1🔥1
Smart 🧠 Fullstack
Delta - git diff analog. Installation: sudo apt install git-delta Usage: delta index.html index.backup.html # instead of # diff index.html index.backup.html #git #diff
🖥 NodeJS Package Manager Update

npm notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher.
You are currently using plaintext http to connect.
Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/

#node #nodejs #npm #update
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from RESTful api
#docker#windows
docker run -it —rm —name windows \
  -p 8006:8006 \
  —device=/dev/kvm \
  —device=/dev/net/tun \
  —cap-add NET_ADMIN \
  -v «${PWD}/windows:/storage» \
  —stop-timeout 120 \

https://github.com/dockur/windows
🖥 Freeze Web Page in Google Chrome 🖥

F12 -> Sources -> F8


#chrome #js #debug
Please open Telegram to view this post
VIEW IN TELEGRAM
Smart Check SSD

sudo apt install smartmontools


sudo smartctl -A /dev/sda


#smartmontools #smartctl #ssd #hdd
Speed Test

sudo apt install speedtest-cli

speedtest-cli

Romaxa@Coder:~$ speedtest-cli
Retrieving speedtest.net configuration...
Testing from ALMATV (8.8.8.8)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by FishNet (Karaganda) [785.21 km]: 20.407 ms
Testing download speed................................................................................
Download: 154.16 Mbit/s
Testing upload speed......................................................................................................
Upload: 285.92 Mbit/s


#speed #test #speedtest #internet
Forwarded from RESTful api