Skip to content

Instantly share code, notes, and snippets.

--------- beginning of main
03-04 14:01:10.364 0 589 I SELinux : SELinux: Loaded service_contexts from:
03-04 14:01:10.366 0 589 I SELinux : /system/etc/selinux/plat_service_contexts
03-04 14:01:10.366 0 589 I SELinux : /vendor/etc/selinux/nonplat_service_contexts
03-04 14:01:10.369 0 591 I SELinux : SELinux: Loaded service_contexts from:
03-04 14:01:10.369 0 591 I SELinux : /vendor/etc/selinux/vndservice_contexts
03-04 14:01:03.447 588 588 W auditd : type=2000 audit(0.0:1): initialized
03-04 14:01:06.059 588 588 I auditd : type=1403 audit(0.0:2): policy loaded auid=4294967295 ses=4294967295
03-04 14:01:06.059 588 588 W auditd : type=1404 audit(0.0:3): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295
03-04 14:01:10.199 569 569 W resize2fs: type=1400 audit(0.0:4): avc: denied { read } for name="swaps" dev="proc" ino=4026532171 scontext=u:r:resize:s0 tcontext=u:object_r:proc:s0 tclass=file permissive=0
@jat001
jat001 / verification.js
Last active January 4, 2016 15:19
Two-step verification for WordPress.
var $ = jQuery;
var host = '.' + location.host;
$(document).ready(function() {
$.removeCookie('wait', {path: '/', domain: host});
});
$('#content #respond #comment').focus(function() {
if (!$.cookie('wait')) {
var timestamp = Math.round($.now()/1000);
$.getJSON('/', {'action': 'verifycode', 'timestamp': timestamp}, function(json) {
var id = '#content #respond #submit';
@jat001
jat001 / base16-monokai.soda-dark.tmTheme
Created November 11, 2013 14:42
Base16 Monokai Color Scheme for Theme Soda Dark.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>comment</key>
<string>Wimer Hazenberg (http://www.monokai.nl)</string>
<key>name</key>
<string>Base16 Monokai Dark</string>
<key>semanticClass</key>
<string>base16.monokai.dark</string>
#!/usr/bin/perl
#-----------------------------------------------------------------------------
# HostInfo AWStats plugin
# This plugin allow you to add information on hosts, like a whois fields.
#-----------------------------------------------------------------------------
# Perl Required Modules: XWhois
#-----------------------------------------------------------------------------
# $Revision: 1.12 $ - $Author: eldy $ - $Date: 2004/03/27 18:09:00 $
use strict;