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
| Class codeGolf.Pyramid | |
| { | |
| ClassMethod Build(f As %Integer) | |
| { | |
| ; Your code here | |
| } | |
| } |
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
| Class codeGolf.OrderOfWords | |
| { | |
| ClassMethod Order(a As %String) As %String | |
| { | |
| ; your code here | |
| Q "" | |
| } | |
| } |
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
| Class CodeGolf.Leet | |
| { | |
| ClassMethod Convert(a As %String) As %String | |
| { | |
| ; your code here | |
| Q "" | |
| } | |
| } |
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
| :root { | |
| --border-color: #cacaca; | |
| --background-color: #ffffff; | |
| --background-box-title: #f7f7f7; | |
| } | |
| html, body { | |
| margin: 0px; | |
| padding: 0px; |
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
| Class codeGolf.Anagram | |
| { | |
| ClassMethod Detector(a As %String, b As %String) As %Boolean | |
| { | |
| ; your code here | |
| Q 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
| Class codeGolf.LabelCode | |
| { | |
| ClassMethod Validate(s As %String) As %Boolean | |
| { | |
| Quit 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
| Class CodeGolf.PairedOpposites | |
| { | |
| ClassMethod Solve(opposites As %String) As %Integer | |
| { | |
| Quit "" | |
| } | |
| } |
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
| Class dc.golf.Encoder | |
| { | |
| ClassMethod Compress(coordinates As %String) As %String | |
| { | |
| Quit "" | |
| } | |
| } |
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
| """ | |
| Simple Bot to reply to Telegram messages taken from the python-telegram-bot examples. | |
| Deployed using heroku. | |
| Author: liuhh02 https://medium.com/@liuhh02 | |
| """ | |
| import logging | |
| from telegram.ext import Updater, CommandHandler, MessageHandler, Filters | |
| import os |
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
| FROM golang:1.16.7-alpine AS builder | |
| # git is needed to download those packages | |
| # use this if u called to any https service | |
| RUN apk --update add --no-cache ca-certificates openssl git && update-ca-certificates | |
| # without ssl | |
| RUN apk --update add --no-cache git | |
| WORKDIR /app | |
| copy go.mod ./ | |
| copy go.sum ./ | |
| RUN go mod download |
NewerOlder