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 | |
| curl -L https://releases.rocket.chat/latest/download -o /tmp/rocket.chat.tgz | |
| tar -xzf /tmp/rocket.chat.tgz -C /tmp | |
| systemctl stop rocketchat.service | |
| mv /opt/Rocket.Chat/ /opt/Rocket.Chat_bak | |
| cd /tmp/bundle/programs/server && npm install | |
| npm i -g npm | |
| sudo mv /tmp/bundle /opt/Rocket.Chat | |
| systemctl start rocketchat.service |
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 | |
| # btrfs-undelete | |
| # Copyright (C) 2013 Jörg Walter <[email protected]> | |
| # This program is free software; you can redistribute it and/or modify it under | |
| # the term of the GNU General Public License as published by the Free Software | |
| # Foundation; either version 2 of the License, or any later version. | |
| if [ ! -b "$1" -o -z "$2" -o -z "$3" ]; then | |
| echo "Usage: $0 <dev> <file/dir> <dest>" 1>&2 | |
| echo |
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
| homeassistant: | |
| # Name of the location where Home Assistant is running | |
| name: [redacted] | |
| # Location required to calculate the time the sun rises and sets | |
| latitude: [redacted] | |
| longitude: [redacted] | |
| # C for Celcius, F for Fahrenheit | |
| temperature_unit: C | |
| # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones | |
| time_zone: America/Los_Angeles |
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
| camara_salon_snapshot: | |
| alias: 'Capturar imagen recibidor' | |
| sequence: | |
| - service: camera.snapshot | |
| data: | |
| entity_id: camera.salon_camera | |
| filename: '/config/www/snapshot/salon.jpg' | |
| - delay: '00:00:06' | |
| - service: notify.pushnotify | |
| data_template: |
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
| curl -L https://releases.rocket.chat/latest/download -o /tmp/rocket.chat.tgz | |
| tar -xzf /tmp/rocket.chat.tgz -C /tmp | |
| sed -r --in-place=.bak -e 's/;[a-z>]+(\?[^;]+"Call Already Ended")/;1\1/' /tmp/bundle/programs/web.browser/*.js | |
| cd /tmp/bundle/programs/server && npm install | |
| # there is time to look at warnings from npm and solving if neccesary | |
| systemctl stop rocketchat | |
| rm -rf /opt/Rocket.Chat | |
| mv /tmp/bundle /opt/Rocket.Chat |
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
| #file /etc/sysconfig/slapd | |
| # OpenLDAP server configuration | |
| # see 'man slapd' for additional information | |
| # Where the server will run (-h option) | |
| # - ldapi:/// is required for on-the-fly configuration using client tools | |
| # (use SASL with EXTERNAL mechanism for authentication) | |
| # - default: ldapi:/// ldap:/// | |
| # - example: ldapi:/// ldap://127.0.0.1/ ldap://10.0.0.1:1389/ ldaps:/// | |
| SLAPD_URLS="ldap:/// ldaps:///" |
OlderNewer