View gist:723921da68749328c751f1aae78f4d52
$criteria = Criteria::create()->where(Criteria::expr()->eq("id", $listId));
$desiredList = $property->getLists()->matching($criteria);
## $desiredList is an empty ArrayCollection()
## The following works:
View blink.c
View excelMergeContents.vba
' This excel subroutine that will merge the contents of a selected range,
' concantenate and move all the contents into into the top cell.
' keywords: merge, cell, concatenate, join, range, selection
' The MIT License (MIT)
' Copyright (c) 2016 Lloyd Leung
' Permission is hereby granted, free of charge, to any person obtaining a
' copy of this software and associated documentation files (the "Software"),
View chat-frontend.js
$(function () {
"use strict";
// for better performance - to avoid searching in DOM
var content = $('#content');
var input = $('#input');
var status = $('#status');
// my color assigned by the server
var myColor = false;
View gist:10133064
Sub convert_all_inline_shapes()
Dim s As InlineShape
For Each s In ActiveDocument.InlineShapes
If s.Type = wdInlineShapeLinkedPicture Then
' use debug print to get a list of images converted.. not necessary though...
Debug.Print s.Type & " <>"
s.LinkFormat.SavePictureWithDocument = True
View gist:5886740
listen MySQL localhost:3306
mode tcp
balance roundrobin
server mysql_box1 check
server mysql_box2 check
View gist:3129224
Directory tree structure:
└── hosts
├── project1
│   └── www
├── project2
│   └── www
View LAB#1
<!doctype html>
<!-- Conditional comment for mobile ie7 -->
<!--[if IEMobile 7 ]> <html class="no-js iem7" lang="en"> <![endif]-->
<!--[if (gt IEMobile 7)|!(IEMobile)]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<meta charset="utf-8">
<title>Some sample add, with html5 mobile boiler template</title>
<meta name="description" content="blah">