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
| KNOWN_ID_MAP = { 2768409 => 1383264000000, 7679610 => 1388448000000, 11538514 => 1391212000000, 15835244 => 1392940000000, 23646077 => 1393459000000, 38015510 => 1393632000000, 44634663 => 1399334000000, 46145305 => 1400198000000, 54845238 => 1411257000000, 63263518 => 1414454000000, 101260938 => 1425600000000, 101323197 => 1426204000000, 111220210 => 1429574000000, 103258382 => 1432771000000, 103151531 => 1433376000000, 116812045 => 1437696000000, 122600695 => 1437782000000, 109393468 => 1439078000000, 112594714 => 1439683000000, 124872445 => 1439856000000, 130029930 => 1441324000000, 125828524 => 1444003000000, 133909606 => 1444176000000, 157242073 => 1446768000000, 143445125 => 1448928000000, 148670295 => 1452211000000, 152079341 => 1453420000000, 171295414 => 1457481000000, 181783990 => 1460246000000, 222021233 => 1465344000000, 225034354 => 1466208000000, 278941742 => 1473465000000, 285253072 => 1476835000000, 294851037 => 1479600000000, 297621225 => 1481846000000, 328594461 => 1482969000000, 337808429 = |
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
| version: '3.3' | |
| services: | |
| agent: | |
| image: portainer/agent:latest | |
| environment: | |
| AGENT_CLUSTER_ADDR: tasks.agent | |
| volumes: | |
| - /var/run/docker.sock:/var/run/docker.sock | |
| - /var/lib/docker/volumes:/var/lib/docker/volumes |
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 { Api, TelegramClient } from 'telegram' | |
| import { EditMessageParams, SendMessageParams } from 'telegram/client/messages'; | |
| import { Entity, EntityLike } from 'telegram/define' | |
| import { EventBuilder, EventCommon } from "telegram/events/common"; | |
| import { toSignedLittleBuffer } from 'telegram/Helpers'; | |
| import { getInputPeer, _getEntityPair } from 'telegram/Utils'; | |
| import { escapeRegExp } from '../utils'; | |
| export interface NewCallbackQueryInterface { | |
| chats: EntityLike[]; |
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
| // rev 452 | |
| /******************************************************************************** | |
| * * | |
| * Author : Angus Johnson * | |
| * Version : 6.1.3 * | |
| * Date : 19 January 2014 * | |
| * Website : http://www.angusj.com * | |
| * Copyright : Angus Johnson 2010-2014 * | |
| * * | |
| * License: * |
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
| { | |
| "point_left": "\ud83d\udc48", | |
| "mailbox_with_mail": "\ud83d\udcec", | |
| "timer": "\u23f2", | |
| "grinning": "\ud83d\ude00", | |
| "yum": "\ud83d\ude0b", | |
| "strawberry": "\ud83c\udf53", | |
| "ice_skate": "\u26f8", | |
| "middle_finger_tone2": "\ud83d\udd95\ud83c\udffc", | |
| "star_and_crescent": "\u262a", |
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 sine(input, amplitude, phase, frequency = nil, angular_frequency = nil) | |
| if frequency | |
| amplitude * Math.sin(2 * Math::PI * frequency * input + phase) | |
| elsif angular_frequency | |
| amplitude * Math.sin(angular_frequency * input + phase) | |
| else | |
| raise "Either frequency or angular_frequency is required" | |
| end | |
| end |
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
| { | |
| "arch": [ | |
| "arm", | |
| "armeb", | |
| "aarch64", | |
| "aarch64_be", | |
| "aarch64_32", | |
| "arc", | |
| "avr", | |
| "bpfel", |
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
| { | |
| "arch": [ | |
| "arm", | |
| "armeb", | |
| "aarch64", | |
| "aarch64_be", | |
| "aarch64_32", | |
| "arc", | |
| "avr", | |
| "bpfel", |
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
| apt update | |
| apt install -y adwaita-icon-theme autopoint build-essential chrpath cm-super-minimal dconf-gsettings-backend dconf-service debhelper dh-autoreconf dh-strip-nondeterminism doxygen doxygen-latex fontconfig fontconfig-config fonts-dejavu-core gettext ghostscript gir1.2-freedesktop gir1.2-gdkpixbuf-2.0 gir1.2-pango-1.0 gir1.2-rsvg-2.0 git glib-networking glib-networking-common glib-networking-services graphviz gsettings-desktop-schemas gsfonts hicolor-icon-theme intltool-debian libarchive-zip-perl libatspi2.0-0 libavahi-client3 libbz2-dev libcdt5 libcgraph6 libcolord2 libcroco3 libcups2 libcupsimage2 libdatrie1 libdconf1 libdjvulibre-dev libepoxy0 libexpat1-dev libfftw3-bin libfftw3-dev libfftw3-double3 libfftw3-long3 libfftw3-quad3 libfftw3-single3 libfile-stripnondeterminism-perl libfontconfig1 libfontconfig1-dev libfreetype6-dev libfribidi-dev libgd3 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgdk-pixbuf2.0-dev libglib2.0-bin libglib2.0-dev libgraphite2-3 libgraphviz-dev libgs-dev libgs9 libgs9-co |
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
| require "cadmium_transliterator" | |
| module EnsureSlug | |
| macro included | |
| before_save generate_slug_if_not_exists | |
| end | |
| def generate_slug_if_not_exists | |
| title.value.try do |title| | |
| if !slug.value || slug.value.try &.empty? |