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
| #!/bin/bash | |
| rev="12" | |
| _log(){ | |
| echo "$(date '+%Y-%m-%d %H:%M:%S') - ${streamid} - $1" >> /tmp/ffmpeg.log | |
| } | |
| _log_para(){ | |
| echo "$1" | fold -w 120 | sed "s/^.*$/$(date '+%Y-%m-%d %H:%M:%S') - ${streamid} - = &/" >> /tmp/ffmpeg.log |
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
| # Imports | |
| import discord | |
| from discord.ext import commands | |
| import operator | |
| # Credentials | |
| TOKEN = 'OTg5MTEzNzk5NzQ5NTYyNDA5.GK4kHY.saVA3UDLAdyh2ZvuPWt03FYyka2Ui4xA9dBLng' |
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
| # Imports | |
| import discord | |
| from discord.ext import commands | |
| import operator | |
| # Credentials | |
| TOKEN = 'OTg5MTEzNzk5NzQ5NTYyNDA5.GK4kHY.saVA3UDLAdyh2ZvuPWt03FYyka2Ui4xA9dBLng' |
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
| # -*- coding: utf-8 -*- | |
| # FreeCAD sheet metal workbench: addWall tool. | |
| # (c) 2014 Javier Martínez García | |
| #*************************************************************************** | |
| #* (c) Javier Martínez García 2014 * | |
| #* * | |
| #* This program is free software; you can redistribute it and/or modify * | |
| #* it under the terms of the GNU Lesser General Public License (LGPL) * | |
| #* as published by the Free Software Foundation; either version 2 of * |