This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| echo "aattk.net tarafından oluşturuldu. " | |
| sudo apt update -y | |
| sudo apt upgrade -y | |
| curl -sSL https://get.docker.com | sh | |
| sudo usermod -aG docker $USER | |
| logout | |
| groups |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| int hex2int(char * hex,int size) | |
| { | |
| int sonuc,sayac = 0,val; | |
| while(1) | |
| { | |
| if (hex[sayac] != '\0') | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def a(lst,k): | |
| for i in lst: | |
| b = int(k) - i | |
| if list.count(b) > 0: | |
| print(f"{i}+{b}={i+b}") | |
| return True | |
| return False | |
| list = [10,15,3,10,7] | |
| num = input("Bir sayi giriniz : ") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| int main(){ | |
| int a = 5; | |
| int b = 12; | |
| printf("Old > A : %d B: %d\n",a,b); | |
| a = a * b; | |
| b = a / b; | |
| a = a / b; | |
| printf("New > A : %d B: %d",a,b); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [connection] | |
| id=my-network | |
| uuid=72111c67-4a5d-4d5c-925e-f8ee26efb3c3 | |
| type=802-11-wireless | |
| [802-11-wireless] | |
| mode=infrastructure | |
| ssid= Wifi Adı | |
| # Uncomment below if your SSID is not broadcasted | |
| #hidden=true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| body .gist .gist-file { | |
| margin-bottom: 0; | |
| border: 1px dashed #adb5bd; | |
| border-radius: 0; | |
| } | |
| body .gist .gist-data { | |
| border-bottom: none; | |
| border-radius: 0; | |
| background-color: #f1f3f5; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <SPI.h> | |
| #include "RF24.h" | |
| RF24 radio(9,10); | |
| void setup() { | |
| // put your setup code here, to run once: | |
| Serial.begin(9600); | |
| radio.begin(); | |
| radio.setPALevel(RF24_PA_MAX); | |
| radio.setChannel(0x76); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import RPi.GPIO as GPIO | |
| from lib_nrf24 import NRF24 | |
| import spidev | |
| from time import sleep | |
| pipes = [[0xF0,0xF0,0xF0,0xF0,0xE1]] | |
| radio = NRF24(GPIO,spidev.SpiDev()) | |
| radio.begin(0,17) | |
| radio.setPayloadSize(32) | |
| radio.setChannel(0x76) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [share] | |
| path = /home/pi/shared | |
| writeable=Yes | |
| create mask=0777 | |
| directory mask=0777 | |
| public=no |
NewerOlder