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 | |
// env GOOS=linux go build | |
import ( | |
"log" | |
tgbotapi "github.com/go-telegram-bot-api/telegram-bot-api" | |
) | |
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
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
name: kyma-serviceaccount | |
--- | |
kind: ClusterRoleBinding | |
apiVersion: rbac.authorization.k8s.io/v1beta1 | |
metadata: | |
name: cluster-admin-binding | |
subjects: |
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
# -*- coding: utf-8 -*- | |
""" | |
Buradaki tflearn örneğinden uyarlanmıştır: | |
https://github.com/tflearn/tflearn/blob/master/examples/images/convnet_cifar10.py | |
""" | |
from __future__ import division, print_function, absolute_import | |
# tflearn ve bir kaç yardımcı kütüphaneyi ekle | |
import tflearn |
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
#!/usr/bin/python | |
import imaplib | |
import password | |
M=imaplib.IMAP4_SSL("imap.gmail.com","993") | |
M.login("firstaccount@gmail.edu",password.first()) | |
M.select() | |
M.search(None,"UnSeen") | |
rv, data=M.search(None,"UnSeen") | |
n=0 | |
for num in data[0].split(): |