9 Temmuz 2022 Cumartesi

Quectel M66 Notes

 1- if you don't want to AT command back to you:)

Command: ATE0\r     (for reopen-> ATE1\r)

4 Temmuz 2022 Pazartesi

Economic notes

1- read below article for learning "Simple Moving Average(SMA)" and "Exponential Moving Average(EMA)". this article is simple calculation for future prediction.

https://sciencing.com/calculate-exponential-moving-averages-8221813.html



6 Mayıs 2022 Cuma

Ubuntu

 Ubuntu Network:

 1- tek bir interface'den sanal networkler kurmayı anlatıyor. LINK

 2-  if ubuntu 22.04 usb serial port converter not working please remove brltty:

        "sudo apt-get remove brltty" after reboot all usb serial converters will be working

 3-  namp -p0- localhost--> tüm acik protları tarıyor.

 

16 Nisan 2022 Cumartesi

JsNotes

 +buradaki kavram önemli. ('==' vs '===')

+jsx react için kullanılan yapı. bundan sonra biraz oraya bak. gerçek gelişmeler orada tamamlanmış.

11 Nisan 2022 Pazartesi

c# Notes

  • The fact that in Fig. 4.1 we could create and manipulate an Account object without knowing its implementation details is called abstraction. This is one of the most powerful software-engineering benefits of object-oriented programming
  • https://www.w3schools.com/cs/cs_properties.php
  • If you declare one or more constructors for a class, the compiler will not create a default
    constructor
    for that class.

Visual Studio ShortCuts:

CTRL+A then CTRL+K+F code auto align
 
 
  • if you want to Windows Form with auto scale and without DPI problem check below links for good designin.
  1. Layout , Docking , Anchor

26 Mart 2022 Cumartesi

Book List


Bazen bu listeyi güncellicem.

 1- Design Patterns: Elements of Reusable Object-Oriented Software (by Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides)


24 Mart 2022 Perşembe

HM-10 yada MLT-BT05

Robotistan firmasından aldığım ürün; HM-10(cc2541)
ilk olarak ürün  beslemelerini verdiğimde "MLT-BT05" olarak bulundu. ve  android uygulamasında "Serial Bluetooth Terminal" ile test ettim.
 haberleşme ilk olarak 9600 8N1 geliyor.

Baud Değiştirmek için;
AT+BAUD8\r\n --> 115200
AT+BAUD7\r\n --> 57600
AT+BAUD6\r\n --> 38400
AT+BAUD5\r\n --> 19200
AT+BAUD4\r\n --> 9600
AT+BAUD3\r\n --> 4800
AT+BAUD2\r\n --> 2400
AT+BAUD1\r\n --> otomatik hata verdi ve baudrate'i 9600'e aldı.

Cihaz ismi Degiştirmek için;
"NRS-TRM1" ismi için
AT+NAMENKS-TRM1\r\n

Cihaz Help Menusu icin;
-->AT+HELP\r\n   gönderince gelen cevap;

*******************************************************************
* Command             Description           
*----------------------------------------------------------------
* AT                  Check if the command terminal work normally 
* AT+DEFAULT          Restore factory default   
* AT+BAUD             Get/Set baud rate           
* AT+RESET            Software reboot   
* AT+ROLE             Get/Set current role.                   
* AT+DISC             Disconnect connection                       
* AT+ADVEN            Broadcast switch             
* AT+ADVI             Broadcast interval           
* AT+NINTERVAL        Connection interval                         
* AT+POWE             Get/Set RF transmit power    
* AT+NAME             Get/Set local device name                   
* AT+LADDR            Get local bluetooth address   
* AT+VERSION          Get firmware, bluetooth, HCI and LMP version
* AT+TYPE             Binding and pairing settings   
* AT+PIN              Get/Set pin code for pairing                
* AT+UUID             Get/Set system SERVER_UUID .               
* AT+CHAR             Get/Set system CHAR_UUID .               
* AT+INQ              Search from device           
* AT+RSLV             Read the scan list MAC address   
* AT+CONN             Connected scan list device   
* AT+CONA             Connection specified MAC           
* AT+BAND             Binding from device           
* AT+CLRBAND          Cancel binding               
* AT+GETDCN           Number of scanned list devices   
* AT+SLEEP            Sleep mode                    
* AT+HELP             List all the commands           
* --------------------------------------------------------------- 
******************************************************************






22 Mart 2022 Salı

Code Composer Studio Notlarım

 Kodu Fold ve Unfold yapabilmek için;

1- "Window->Preferences" seçip çıkan ekranın sol altarafında "Show Advanced Settings" kısmına tıklayıp, "type filter text" boşluğuna fold yazman yeterli. ondan sonra aşağıdaki fotoğraftaki gibi olcak.


Kısa Yolları ise;

CTRL+NumPad Divider-> kodu fold/unfold yapıyor.

CTRL+NumPad * -> sadece açıyor.






Ayrıca;

CTRL+R-> istediğin dosyanın adını yazıp gitmeni sağlıyor.

CTRL+SHIFT+T -> tüm değişken fonksiyon vb. şeyleri anlık olarak aramanı sağlıyor.

CTRL+SHIFT+H-> genel arama yapmanı sağlıyor.

CTRL+SHIFT+F -> kodu otomatik düzenliyor(align) ama bence sağlıklı değil görseli baya kötü.


20 Eylül 2021 Pazartesi

Ubuntu commands

  1. lsb_release -a


    
    Başıma gelen en komik şey, orange pi'da "nmap -sP 192.168.1.0/24" komutuna yalnızca 1 cihaz varmış gibi gözükürken "sudo nmap -sP 192.168.1.0/24" için tüm bağlı cihazların ip adreslerini verdi. teee allahım ya 😅

18 Eylül 2021 Cumartesi

Flask Notlar

Python'da virtual env vermek için

1- python -m venv env

2- source env/bin/activate // 1. kodla ürettiğim env'yi system'e tanıtıyor.

3- export FLASK_APP=app.py

4- export FLASK_ENV=development

5- flask run

6- deactivate -> bu komut "source env/bin/activate" 

komutu ile verdiğimiz envoriment'ı bozmak için kullanılıyor.

bu sayfadaki

(https://pythonise.com/series/learning-flask/flask-application-structure)

__init_.py dosyasındaki sırayı bozma çalışmıyor.!!!!!!!


WebDeviDaily

05/26/2024 Sunday -> This is my first day of web developer. I am new career for my life. This step will never end with lies and not givin...