Skip to content

Instantly share code, notes, and snippets.

CORS_ORIGIN_ALLOW_ALL=True
DB_NAME=netbox
DB_USER=netbox
DB_PASSWORD=J5brHrAXFLQSif0K
DB_HOST=postgres
EMAIL_SERVER=localhost
EMAIL_PORT=25
EMAIL_USERNAME=netbox
EMAIL_PASSWORD=
EMAIL_TIMEOUT=5
Attaching to netbox_nginx_1
nginx_1 | 2019/06/23 23:20:00 [notice] 1#1: using the "epoll" event method
nginx_1 | 2019/06/23 23:20:00 [notice] 1#1: nginx/1.15.12
nginx_1 | 2019/06/23 23:20:00 [notice] 1#1: built by gcc 8.3.0 (Alpine 8.3.0)
nginx_1 | 2019/06/23 23:20:00 [notice] 1#1: OS: Linux 4.12.14-lp150.12.48-default
nginx_1 | 2019/06/23 23:20:00 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
nginx_1 | 2019/06/23 23:20:00 [notice] 1#1: start worker processes
nginx_1 | 2019/06/23 23:20:00 [notice] 1#1: start worker process 6
nginx_1 | 2019/06/23 23:21:20 [info] 6#6: *29 epoll_wait() reported that client prematurely closed connection, so upstream connection is closed too while connecting to upstream, client: 172.30.0.1, server: , request: "GET /netbox/static/img/netbox.ico HTTP/1.0", upstream: "http://172.30.0.6:8001/netbox/static/img/netbox.ico", host: "vt.
Attaching to netbox_netbox_1
netbox_1 | Operations to perform:
netbox_1 | Apply all migrations: admin, auth, circuits, contenttypes, dcim, extras, ipam, secrets, sessions, taggit, tenancy, users, virtualization
netbox_1 | Running migrations:
netbox_1 | No migrations to apply.
netbox_1 | 💡 Username: admin, E-Mail: [email protected]
netbox_1 | ⚙️ Executing '/opt/netbox/startup_scripts/000_users.py'
netbox_1 | ⚙️ Executing '/opt/netbox/startup_scripts/010_groups.py'
netbox_1 | ⚙️ Executing '/opt/netbox/startup_scripts/020_custom_fields.py'
netbox_1 | ⚙️ Executing '/opt/netbox/startup_scripts/030_regions.py'
Attaching to netbox_nginx_1, netbox_netbox_1, netbox_netbox-worker_1, netbox_postgres_1, netbox_redis_1
nginx_1 | 2019/06/23 23:20:00 [notice] 1#1: using the "epoll" event method
nginx_1 | 2019/06/23 23:20:00 [notice] 1#1: nginx/1.15.12
nginx_1 | 2019/06/23 23:20:00 [notice] 1#1: built by gcc 8.3.0 (Alpine 8.3.0)
nginx_1 | 2019/06/23 23:20:00 [notice] 1#1: OS: Linux 4.12.14-lp150.12.48-default
nginx_1 | 2019/06/23 23:20:00 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
nginx_1 | 2019/06/23 23:20:00 [notice] 1#1: start worker processes
nginx_1 | 2019/06/23 23:20:00 [notice] 1#1: start worker process 6
nginx_1 | 2019/06/23 23:21:20 [info] 6#6: *29 epoll_wait() reported that client prematurely closed connection, so upstream connection is closed too while connecting to upstream, client: 172.30.0.1, server: , request: "GET /netbox/static/img/netbox.ico HTTP/1.0",
from Crypto.Cipher import AES
from Crypto.Util import Counter
import struct
"""
typedef struct boot_dat_hdr
{
unsigned char ident[0x10];
unsigned char sha2_s2[0x20];
unsigned int s2_dst;
@Zer0t3ch
Zer0t3ch / habitica-dark.meta.js
Last active December 18, 2015 22:50
A dark userscript theme for Habitica.com
// ==UserScript==
// -- General metadata
// @name Habitica Dark (by Zer0t3ch)
// @namespace http://zer0t3ch.com/
// @description Recolors Habitica.com to a darker style
// @copyright 2015+, Zachary "Zer0t3ch" Hill
// @match https://habitica.com/*
//
// -- Update metadata
// @version 0.0.07
@Zer0t3ch
Zer0t3ch / pacman.log
Created October 15, 2015 23:33
Output of `pacman -Syu`
$ sudo pacman -Syu
:: Synchronizing package databases...
core is up to date
extra 1806.9 KiB 1156K/s 00:02 [################################] 100%
community is up to date
multilib is up to date
pipelight is up to date
:: Starting full system upgrade...
warning: lib32-libtirpc: local (0.3.2-2) is newer than multilib (0.3.2-1)
resolving dependencies...
Graphics Feature Status
Canvas: Software only, hardware acceleration unavailable
Flash: Hardware accelerated
Flash Stage3D: Hardware accelerated
Flash Stage3D Baseline profile: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Enabled
Rasterization: Software only. Hardware acceleration disabled
Video Decode: Software only, hardware acceleration unavailable
Video Encode: Hardware accelerated
@Zer0t3ch
Zer0t3ch / .bashrc
Created February 11, 2015 19:32
dotfiles
#!/bin/bash
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# don't put duplicate lines in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
@Zer0t3ch
Zer0t3ch / fish_prompt.fish
Last active August 29, 2015 14:12
coffee_and_code
# # # # #
#
# name: CoffeeAndCode (modified by zer0t3ch)
#
# # # # #
# Theme colors
set fish_color_normal 5f5f5f
set fish_color_command 5f87ff
set fish_color_quote brown