- Create your bot with botfather
- Make you bot an admin of your channel
Go to Telegram web and open a channel, get the ID from -[channel id] from hash in the path
https://web.telegram.org/k/#-9999999999999
This is a sample script for the resumable upload of Files to Google Drive using Golang. This script uses the library of google-api-go-client. About the installation of google-api-go-client, please check the Quickstart for golang at the official site.
package main
import (| #!/usr/bin/env python3 | |
| import subprocess | |
| import json | |
| import os | |
| from pathlib import Path | |
| import requests | |
| from requests.compat import urljoin |
| /** | |
| * Include the PrivateDependencyModuleNames entries below in your project build target configuration: | |
| * PrivateDependencyModuleNames.AddRange(new string[] { "Json", "JsonUtilities" }); | |
| */ | |
| #include "Runtime/Online/HTTP/Public/Http.h" | |
| #include "Serialization/JsonSerializer.h" | |
| FHttpResponsePtr Response; |
| @echo off | |
| REM Usage: dll2lib [32|64] some-file.dll | |
| REM | |
| REM Generates some-file.lib from some-file.dll, making an intermediate | |
| REM some-file.def from the results of dumpbin /exports some-file.dll. | |
| REM | |
| REM Requires 'dumpbin' and 'lib' in PATH - run from VS developer prompt. | |
| REM | |
| REM Script inspired by http://stackoverflow.com/questions/9946322/how-to-generate-an-import-library-lib-file-from-a-dll |
| //! An HTTP server based on `hyper`. | |
| //! | |
| //! Run with: | |
| //! | |
| //! ``` | |
| //! cargo run --example hyper-server | |
| //! ``` | |
| //! | |
| //! Open in the browser any of these addresses: | |
| //! |
void-live-x86_64-YYYYMMDD.iso - as of this writing (2020-03-20) the newest one is void-live-x86_64-20191109.iso| #!/bin/bash | |
| # | |
| # By: Brady Shea - 10FEB2020 | |
| # | |
| # Usage (ip4 only): | |
| # geoip2lookup IP_ADDRESS | |
| # | |
| # ** Install GeoIP Tool and Updater ** | |
| # | |
| # sudo add-apt-repository ppa:maxmind/ppa |