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 | |
set -e | |
# originally based on https://stackoverflow.com/a/10847242/545346 | |
# CC-BY-SA 3.0 | |
if [ ! -z "${DRONE_NETRC_FILE}" ]; then | |
echo $DRONE_NETRC_FILE > $HOME/.netrc | |
chmod 600 $HOME/.netrc | |
fi |
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
# This simple scripts dumps all logs from drone to a format | |
# compatible with drone s3 storage (cfr https://docs.drone.io/server/reference/drone-s3-bucket/ ) | |
# MIT license - https://opensource.org/licenses/MIT | |
import sqlite3 | |
conn = sqlite3.connect("drone_database.sqlite") | |
select_logs(conn) | |
cur = conn.cursor() | |
cur.execute("select * FROM logs") |
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
export LD_LIBRARY_PATH=/home/johan/git/gdal/gdal/.libs:$LD_LIBRARY_PATH | |
export GDAL_DATA=/home/johan/git/gdal/gdal/data | |
export PATH=$PATH:/home/johan/git/gdal/gdal/apps |
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
Applying mapdata.0085_assign_location_level_room...Traceback (most recent call last): | |
File "/c3nav/env/lib/python3.6/site-packages/django/db/models/fields/related_descriptors.py", line 178, in __get__ | |
rel_obj = getattr(instance, self.cache_name) | |
AttributeError: 'Space' object has no attribute '_locationslug_ptr_cache' | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "manage.py", line 10, in <module> | |
execute_from_command_line(sys.argv) |
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
- hosts: c3nav | |
become: yes | |
tasks: | |
- name: Install git | |
apt: | |
name: git | |
update_cache: yes | |
- name: Install header files for different packages | |
apt: |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder