This file contains 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
package main | |
import "fmt" | |
func main() { | |
for i := 1; i < 100; i++ { | |
bölenler := bölenleriGetir(i) | |
if len(bölenler) < 3 || bölenler == nil { | |
continue |
This file contains 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
func uint24touint32(bytes []byte) uint32 { | |
return binary.BigEndian.Uint32(append([]byte{0x00}, bytes...)) | |
} | |
// Just adding 0 to start and export as a uint32 | |
// Easy and fast solution |
This file contains 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
app.SendMail("tryusuf97@gmail.com", | |
"A new user sign up", | |
"A new user sign up\nInformations about new user.\nEmail : "+userDTO.Email+"\nName:"+userDTO.Name) |
This file contains 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
package app | |
import ( | |
"log" | |
"net/smtp" | |
) | |
func SendMail(to, sub, body string) { | |
from := "yusufturhanp@gmail.com" | |
pass := "cfavhrbebdhqtyvq" |
This file contains 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
package main | |
import ( | |
"fmt" | |
"os" | |
"os/exec" | |
"path/filepath" | |
) | |
func main() { |
This file contains 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
package main | |
import ( | |
"log" | |
"net/smtp" | |
) | |
func main() { | |
send("hello bro, This just test.") | |
} |
This file contains 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
{ | |
"rfc460Timestamp": "2020-02-16T14:18:10.669Z", | |
"participants": [ | |
{ | |
"participantId": 3, | |
"level": 5, | |
"kills": 0, | |
"deaths": 1, | |
"assists": 0, | |
"totalGoldEarned": 1868, |
This file contains 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
"esportsGameId": "103495781305002083", | |
"esportsMatchId": "103495781305002082", | |
"gameMetadata": { | |
"patchVersion": "10.3.307.1028", | |
"blueTeamMetadata": { | |
"esportsTeamId": "99566406064558732", | |
"participantMetadata": [ | |
{ | |
"participantId": 1, | |
"esportsPlayerId": "101422616412154641", |
NewerOlder