- Install Heroku CLI
- Install flask and gunicorn
$ pip install flask gunicorn
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
# the following two lines give a two-line status, with the current window highlighted | |
hardstatus alwayslastline | |
hardstatus string '%{= kG}[%{G}%H%? %1`%?%{g}][%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}][%{B}%m/%d %{W}%C%A%{g}]' | |
# huge scrollback buffer | |
defscrollback 5000 | |
# no welcome message | |
startup_message off |
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
Basic echo between Python3 client and C server, and vice versa, via socket using Python ctypes |
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
// 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. |
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
--[[ | |
Youtube playlist importer for VLC media player 1.1 and 2.0 | |
Copyright 2012 Guillaume Le Maout | |
Authors: Guillaume Le Maout | |
Contact: http://addons.videolan.org/messages/?action=newmessage&username=exebetche | |
This program is free software; you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation; either version 2 of the License, or |
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
{ | |
"type": "playlist", | |
"ownerId": 196090362, | |
"id": 3, | |
"isOfficial": 0, | |
"title": "HOME Discographic", | |
"subTitle": null, | |
"description": "", | |
"rawDescription": "", | |
"authorLine": "", |
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
cd\Program Files\Microsoft Office\Office16 | |
cd\Program Files (x86)\Microsoft Office\Office16 | |
cscript OSPP.VBS /sethst:kms.digiboy.ir | |
cscript OSPP.VBS /actcscript OSPP.VBS /dstatus | |
slmgr.vbs /ckms |
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
OSPP.VBS in one of these folders | |
Program Files\Microsoft Office\Office[##] | |
Program Files (x86)\Microsoft Office\Office[##] | |
First, install product key for version of office | |
cscript OSPP.VBS /inpkey: | |
office 2010: VYBBJ-TRJPB-QFQRF-QFT4D-H3GVB | |
office 2013: YC7DK-G2NP3-2QQC3-J6H88-GVGXT | |
office 2016: XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99 | |
office 2019: NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP |
OlderNewer