Skip to content

Instantly share code, notes, and snippets.

View ShurikAg's full-sized avatar

Alex Agulyansky ShurikAg

View GitHub Profile
------------------------------------------------------------
Root project
------------------------------------------------------------
agent
+--- org.springframework:springloaded: -> 1.2.8.RELEASE
\--- io.methvin:directory-watcher: -> 0.3.0
+--- org.scala-lang:scala-library:2.12.3
+--- net.java.dev.jna:jna:4.2.1 -> 4.2.2
+--- com.google.guava:guava:23.0
| Column | Type | Modifiers |
|----------------------------+--------------------------+-------------|
| id | uuid | not null |
| assignment_type | character varying(20) | not null |
| created_date | timestamp with time zone | not null |
| created_by_id | uuid | not null |
| updated_date | timestamp with time zone | not null |
| updated_by_id | uuid | not null |
| organization_id | uuid | not null |
| organization_membership_id | uuid | not null |
Limit (cost=3748.55..3748.60 rows=20 width=82) (actual time=0.069..0.069 rows=0 loops=1)
-> Sort (cost=3748.55..3748.85 rows=119 width=82) (actual time=0.066..0.066 rows=0 loops=1)
Sort Key: t.due_date
Sort Method: quicksort Memory: 25kB
-> HashAggregate (cost=3743.00..3744.19 rows=119 width=30) (actual time=0.046..0.046 rows=0 loops=1)
-> Append (cost=10.74..3742.11 rows=119 width=30) (actual time=0.040..0.040 rows=0 loops=1)
-> Nested Loop (cost=10.74..2078.71 rows=83 width=30) (actual time=0.024..0.024 rows=0 loops=1)
-> Bitmap Heap Scan on assignments a (cost=10.17..892.60 rows=138 width=22) (actual time=0.021..0.021 rows=0 loops=1)
Recheck Cond: (organization_membership_id = '006ff3ea-8e4e-4aed-8051-47fe70bc7079'::uuid)
Filter: ((assignment_type)::text = 'Task'::text)
import {Directive, Injector, Attribute, ElementRef, DynamicComponentLoader, Input} from 'angular2/core';
import {Router, RouterOutlet, RouteParams, ComponentInstruction} from 'angular2/router';
import {AuthenticationService} from '../services/authentication.service';
@Directive({
selector: 'secure-outlet'
})
export class SecureRouterOutlet extends RouterOutlet {
@Input()
signin: string;
@ShurikAg
ShurikAg / gist:546ec455e5edc8edd723
Created October 15, 2014 06:55
wp-content/themes/oxygen/woocommerce/content-product.php
$post = $post_cloned;
unset($post_cloned);
// if($product_images)
// {
foreach($product_images as $attachment_id):
$image_link = wp_get_attachment_url( $attachment_id );
if( ! $image_link)