Skip to content

Instantly share code, notes, and snippets.

@chasetb
chasetb / gist:3e867e455638cb0e932a
Created July 4, 2015 18:07
Apache error log showing errors when trying to access Sal on fresh install of Ubuntu 14 from Firefox on OS 10.10.4
[Sat Jul 04 12:04:36.233321 2015] [mpm_event:notice] [pid 2667:tid 139674885773184] AH00489: Apache/2.4.7 (Ubuntu) mod_wsgi/3.4 Python/2.7.6 configured -- resuming normal operations
[Sat Jul 04 12:04:36.233419 2015] [core:notice] [pid 2667:tid 139674885773184] AH00094: Command line: '/usr/sbin/apache2'
root@ubuntu:/usr/local/sal_env# cat /var/log/apache2/error.log
[Sat Jul 04 12:04:36.233321 2015] [mpm_event:notice] [pid 2667:tid 139674885773184] AH00489: Apache/2.4.7 (Ubuntu) mod_wsgi/3.4 Python/2.7.6 configured -- resuming normal operations
[Sat Jul 04 12:04:36.233419 2015] [core:notice] [pid 2667:tid 139674885773184] AH00094: Command line: '/usr/sbin/apache2'
[Sat Jul 04 12:04:41.601622 2015] [:error] [pid 2668:tid 139674748860160] No handlers could be found for logger "django.request"
[Sat Jul 04 12:04:41.601779 2015] [:error] [pid 2668:tid 139674748860160] [remote 10.0.10.3:59543] mod_wsgi (pid=2668): Exception occurred processing WSGI script '/usr/local/sal_env/sal/sal.wsgi'.
[Sat Jul 04 12:04:41.60180
@chasetb
chasetb / gist:b1b553aee819adc396cf
Created August 17, 2015 15:58
Error running migration on Sal
/sal$ python manage.py migrate
Operations to perform:
Synchronize unmigrated apps: sal, staticfiles, admindocs, messages, api, bootstrap3
Apply all migrations: sessions, admin, sites, auth, server, contenttypes
Synchronizing apps without migrations:
Creating tables...
Running deferred SQL...
Installing custom SQL...
Running migrations:
@chasetb
chasetb / gist:6efe8bde00c7c873e658
Created November 2, 2015 22:21
1061, "Duplicate key name 'inventory_inventoryitem_bundleid_97240f472ca5177_uniq'
/usr/local/sal_env/sal$ python manage.py syncdb
Operations to perform:
Synchronize unmigrated apps: sal, staticfiles, admindocs, axes, messages, api, bootstrap3
Apply all migrations: watson, sessions, admin, sites, auth, server, contenttypes, inventory, licenses
Synchronizing apps without migrations:
Creating tables...
Running deferred SQL...
Installing custom SQL...
Running migrations:
Rendering model states... DONE
@chasetb
chasetb / gist:e68621d374c8031c9841
Created November 3, 2015 20:26
"python manage.py syncdb" on new database
/usr/local/sal_env/sal$ python manage.py migrate
Operations to perform:
Synchronize unmigrated apps: sal, staticfiles, admindocs, axes, messages, api, bootstrap3
Apply all migrations: watson, sessions, admin, sites, auth, server, contenttypes, inventory, licenses
Synchronizing apps without migrations:
Creating tables...
Running deferred SQL...
Installing custom SQL...
Running migrations:
Rendering model states... DONE
@chasetb
chasetb / 0016_auto_20151103_1547.py
Created November 3, 2015 23:18
Updated Server migration
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('server', '0015_auto_20150819_1501'),
@chasetb
chasetb / gist:17e77f8835d3305bb9ccc774d2a414e8
Created May 25, 2016 20:44
AdobeFlashPlayer.jss to CDP
chase$ autopkg run AdobeFlashPlayer.jss --verbose
Processing AdobeFlashPlayer.jss...
AdobeFlashURLProvider
AdobeFlashURLProvider: Found URL http://fpdownload.macromedia.com/get/flashplayer/pdc/21.0.0.242/install_flash_player_osx.dmg
URLDownloader
URLDownloader: Item at URL is unchanged.
URLDownloader: Using existing /Users/chase/Library/AutoPkg/Cache/com.github.jss-recipes.jss.AdobeFlashPlayer/downloads/AdobeFlashPlayer.dmg
EndOfCheckPhase
CodeSignatureVerifier
CodeSignatureVerifier: Mounted disk image /Users/chase/Library/AutoPkg/Cache/com.github.jss-recipes.jss.AdobeFlashPlayer/downloads/AdobeFlashPlayer.dmg
@chasetb
chasetb / gist:4fcd320b88c6c87ce3bfdc3a3b51644d
Created November 19, 2016 17:41
Attempting to run latest webspoof
$ npm run dev
> pokemongo-webspoof@1.2.1 dev /Users/chase/src/public/iam4x/pokemongo-webspoof
> electron main.js | NODE_ENV=development webpack --config webpack.config.babel.js --watch
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
@chasetb
chasetb / webpack.config.babel.js
Created November 19, 2016 17:57
Updated webpack.config.babel.js with '-loader'
import webpack from 'webpack'
export default {
entry: [
'babel-polyfill',
'./src/index.js'
],
output: {
path: './dist',
@chasetb
chasetb / gist:9d337955885d1e0d7f0394f825d4a0c7
Created November 19, 2016 18:00
npm run dev after updating webpack.config.babel.js
$ npm run dev
> pokemongo-webspoof@1.2.1 dev /Users/chase/src/public/iam4x/pokemongo-webspoof
> electron main.js | NODE_ENV=development webpack --config webpack.config.babel.js --watch
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
@chasetb
chasetb / ERROR.log
Created November 23, 2016 16:37
RDS Error log after Bit9 installer begins to create database tables
2016-11-21 12:09:55.61 Server Microsoft SQL Server 2014 - 12.0.4422.0 (X64)
Jul 27 2015 16:56:19
Copyright (c) Microsoft Corporation
Express Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (Hypervisor)
2016-11-21 12:09:55.61 Server UTC adjustment: -7:00
2016-11-21 12:09:55.61 Server (c) Microsoft Corporation.
2016-11-21 12:09:55.61 Server All rights reserved.
2016-11-21 12:09:55.61 Server Server process ID is 3816.
2016-11-21 12:09:55.61 Server System Manufacturer: 'Xen', System Model: 'HVM domU'.