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
def new_sign_every_step(): | |
sign = True | |
while(True): | |
yield sign | |
sign = not sign |
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
(ns clj-one.core | |
(:import (java.awt.event KeyEvent ActionListener KeyListener) | |
(java.awt Color Dimension) | |
(javax.swing JPanel JOptionPane JFrame Timer))) | |
(def field-width 50) | |
(def field-height 30) | |
(def point-size 15) |
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
#!/bin/bash | |
# backup database | |
BASE_DIR=/evolve_backup | |
TTL=20 | |
SUFFIX=_evolve_backup.sql | |
declare -a DATABASES_TO_BACKUP=("api_db" "docs_api_db") | |
USER=postgres #change |
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 com.michaelfmnk.jsp | |
import java.time.Duration | |
import java.time.LocalDateTime | |
fun main() { | |
val load = Load() |
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" | |
"github.com/go-co-op/gocron" | |
tgbotapi "github.com/go-telegram-bot-api/telegram-bot-api/v5" | |
"time" | |
) | |
import ( |
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
import time | |
from datetime import datetime, timedelta | |
import dateutil | |
import pandas as pd | |
import schedule | |
import telebot | |
chat_id = '000' | |
token = "[token]" |