One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| // How to download telegram sticker images | |
| /* | |
| 1. Go to Telegram Web; | |
| 2. Open console (F12); | |
| 3. Paste the code below in the console and press Enter; | |
| 4. Open your stickers menu and make sure you see the sticker pack you want to download (so Telegram will load it). | |
| 5. At the console paste and run "downloadStickers()" any time you want to download a pack. | |
| 6. [Convert .webm to another format](http://www.freewaregenius.com/convert-webp-image-format-jpg-png-format/); | |
| 7. Happy hacking. |
| package main | |
| import ( | |
| "flag" | |
| "fmt" | |
| "os" | |
| "strings" | |
| "unicode" | |
| ) |
| (function (history, trackingId, options) { | |
| const generateId = () => { | |
| return '_' + Math.random().toString(36).substr(2, 9); | |
| }; | |
| const getId = () => { | |
| if (!localStorage.cid) { | |
| localStorage.cid = generateId() | |
| } | |
| return localStorage.cid; | |
| }; |
| #!/usr/bin/env bash | |
| #=============================================================================== | |
| # This script is used to install the vscode extension manually. | |
| # Or to install an extension to the code-server. | |
| # Inspire by https://github.com/codercom/code-server/issues/171#issuecomment-473690326 | |
| # | |
| # It has two way to install the extension: | |
| # 1. by the extension ID | |
| # 2. by the local vsix file |
| # _*_ coding:utf-8 _*_ | |
| from subprocess import Popen, PIPE | |
| class AssociationNotFound(Exception): | |
| # means: File association not found for extension .ext | |
| pass | |
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "math" | |
| "os" | |
| "regexp" | |
| "strconv" |
| #!/bin/bash | |
| ### | |
| ### my-script — does one thing well | |
| ### | |
| ### Usage: | |
| ### my-script <input> <output> | |
| ### | |
| ### Options: | |
| ### <input> Input file to read. | |
| ### <output> Output file to write. Use '-' for stdout. |
| # use bash as the default shell | |
| SHELL := bash | |
| # ensures each Make recipe is ran as one single shell session, rather than one new shell per line | |
| .ONESHELL: | |
| # use bash strict mode. http://redsymbol.net/articles/unofficial-bash-strict-mode/ | |
| .SHELLFLAGS := -eu -o pipefail -c | |
| # remove target files when Make file failed | |
| .DELETE_ON_ERROR: | |
| # warning when referring the undefined variables | |
| MAKEFLAGS += --warn-undefined-variables |