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
#!/bin/bash | |
# Simple example Rocket.Chat password changer for sysadmins | |
# Usage: ./reset_rocketchat_user_password.sh | |
# You can optionally store these here (NOT recommended) or pass via environment variables | |
# RC_ADMIN_AUTH_TOKEN=token | |
# RC_ADMIN_USER_ID=userid | |
# RC_SERVER_URL=https://chat.website.com |
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
# Upstreams | |
upstream backendChat { | |
server 127.0.0.1:3000; | |
server 127.0.0.1:3001; | |
server 127.0.0.1:3002; | |
server 127.0.0.1:3003; | |
} | |
# HTTPS Server | |
log_format upstreamlog '[$time_local] $remote_addr - $remote_user - $server_name to: $upstream_addr: $request upstream_response_time $upstream_response_time msec $msec request_time $request_time'; | |
server { |
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
import os | |
from progressbar import ProgressBar, Percentage, Bar, ETA | |
print "----------------- Icon Generator ------------------" | |
print "Usage: icon-generator.py" | |
print "See files_ios { } in icon-generator.py" | |
print "icon-ios.png and icon-android.png" | |
print "---------------------------------------------------" | |
input_ios = './icon-ios.png' |