Skip to content

Instantly share code, notes, and snippets.

@jamland
jamland / empr.js
Last active September 9, 2015 16:40
<script type="text/javascript">
(function(){var p=this,fa=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
else if("function"==b&&"undefined"==typeof a.call)return"object";return b},ga=function(a){var b=fa(a);return"array"==b||"object"==b&&"number"==typeof a.length},ha=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},ia=function(a,b,c){return a.call.apply(a.bind,arguments)},ja=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.p
// I'd love someone to do things like answer the following questions:
// What should the general page layout be?
div.view
div.navbar
h1 Title
div.content
"Hello World!"
div.bottom-toolbar
// What should the general layout of a table page be?
@jamland
jamland / php
Created August 12, 2015 17:59
pages/contact-hubspot.php
<?php
/**
* Template Name: Contact Hubspot Page
*
* @package ironio
*/
?>
<?php get_header(); ?>
<!-- Subheader -->
Started GET "/api/providers?page=1&per_page=100&project_id=55c4de9b6236b70008000093" for 127.0.0.1 at 2015-08-08 21:16:02 +0300
Processing by Api::ProvidersController#index as JSON
Parameters: {"page"=>"1", "per_page"=>"100", "project_id"=>"55c4de9b6236b70008000093"}
Completed 500 Internal Server Error in 1ms
NameError (uninitialized constant Billy::Provider):
app/controllers/api/providers_controller.rb:3:in `index'
Rendered /Users/Andy/.rvm/gems/ruby-2.1.1@hud-e/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms)
CATEGORIES
About EMPR FR
About EMPR page
About EMPR page – PL
About EMPR RU
Analityka
Analysen
Analyses
Analytics
Import Joomla Premium (FG) + K2 module
Yoast SEO has been updated to version 2.3.2. Click here to find out what's new!
Dismiss this notice.
[fgj2wpp] 117 categories imported
[fgj2wpp] 94 posts imported
[fgj2wpp] 33 medias imported
[fgj2wpp] 3 links categories imported
[fgj2wpp] Can't copy http://empr.media/file:///D:/Downloads%20and%20stuff/Sitrep%2014_Ukraine_final%20(1).pdf to /Users/Andy/Sites/temp/empr/wp-content/uploads/2014/10/Sitrep 14_Ukraine_final (1).pdf : Category not found
[fgj2wpp] Can't copy http://empr.media/media/k2/items/src/474f4cdd4383ff91fd1d98bcb039d93b.jpg to /Users/Andy/Sites/temp/empr/wp-content/uploads/2014/07/474f4cdd4383ff91fd1d98bcb039d93b.jpg : Operation timed out after 4947 milliseconds with 1116089 out of 2332796 bytes received
[fgj2wpp] Can't copy http://empr.media/media/k2/items/src/474f4cdd4383ff91fd1d98bcb039d93b.jpg to /Users/Andy/Sites/temp/empr/wp-content/uploads/2014/07/474f4cdd4383ff91fd1d98bcb039d93b.jpg : Operation timed out after 4970 milliseconds with 1101609 out of
<?php
/**
* The base configurations of the WordPress.
*
* This file has the following configurations: MySQL settings, Table Prefix,
* Secret Keys, and ABSPATH. You can find more information by visiting
* {@link http://codex.wordpress.org/Editing_wp-config.php Editing wp-config.php}
* Codex page. You can get the MySQL settings from your web host.
*
* This file is used by the wp-config.php creation script during the
@jamland
jamland / gist:fe087c71603e553f6504
Created January 30, 2015 17:09
Kernel Panic. Jan 26 2014
Anonymous UUID: A1261779-EAE0-0E32-F71A-95A171C3FCA0
Sun Jan 25 14:44:17 2015
*** Panic Report ***
panic(cpu 6 caller 0xffffff8009179085): "zalloc: zone map exhausted while allocating from zone kalloc.4096, likely due to memory leak in zone kalloc.64 (1358808192 total bytes, 21231365 elements allocated)"@/SourceCache/xnu/xnu-2782.1.97/osfmk/kern/zalloc.c:2521
Backtrace (CPU 6), Frame : Return Address
0xffffff8116c6b7e0 : 0xffffff800913a811
0xffffff8116c6b860 : 0xffffff8009179085
0xffffff8116c6b990 : 0xffffff8009142ef1
@jamland
jamland / gist:2d029ac7e4dd0de6f21f
Created January 30, 2015 17:00
Jan 30 2015. Kernel panic report
Anonymous UUID: A1261779-EAE0-0E32-F71A-95A171C3FCA0
Fri Jan 30 18:44:56 2015
*** Panic Report ***
panic(cpu 3 caller 0xffffff8001179085): "zalloc: zone map exhausted while allocating from zone kalloc.8192, likely due to memory leak in zone kalloc.64 (1610046144 total bytes, 25156942 elements allocated)"@/SourceCache/xnu/xnu-2782.1.97/osfmk/kern/zalloc.c:2521
Backtrace (CPU 3), Frame : Return Address
0xffffff8112a0bc00 : 0xffffff800113a811
0xffffff8112a0bc80 : 0xffffff8001179085
0xffffff8112a0bdb0 : 0xffffff8001142ef1
4th-dimension:hud andy$ rails s
STARTED LOADING HUD AT 2014-10-11 17:57:29 +0300...
Digest::Digest is deprecated; use Digest
Digest::Digest is deprecated; use Digest
Using ActiveModel validations.
=> Booting WEBrick
=> Rails 3.2.18 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Initializing appoxy_rails Railtie