# |
Oct 6th 2018, 11:05 |
rrd564 |
How to use variable in like expression? $results = $this->Cimws->find() ->select('telepules') ->where(function (QueryExpression $exp, Query $q) use ($term, $field) { return $exp->like($field, $term . '%'); }) ->order($field); It seems to drop the "%" at the end |
# |
Oct 6th 2018, 10:30 |
joopm |
its seems the admin_layout "burned" into |
# |
Oct 6th 2018, 10:30 |
joopm |
$this->autoRender = false; $this->viewBuilder()->layout('ajax'); |
# |
Oct 6th 2018, 10:29 |
joopm |
seems i can not change if i already add this $this->viewBuilder()->layout('admin_default'); |
# |
Oct 6th 2018, 10:28 |
BotjeqT |
type level is compile time, it's not going to be able to make decisions based on runtime |
# |
Oct 6th 2018, 10:28 |
joopm |
i have a strange issue because i need to render ajax layout for a select list, but the main project already contain a setlayout in the appcontroller |
# |
Oct 6th 2018, 10:28 |
BotjeqT |
play your vid in slow motion |
# |
Oct 6th 2018, 10:28 |
BotjeqT |
XDD |
# |
Oct 6th 2018, 10:27 |
BotjeqT |
PWNED |
# |
Oct 6th 2018, 10:27 |
joopm |
hello all |
# |
Oct 6th 2018, 08:39 |
fredcyeM |
asymptotically: prob is, xmrig and stak both use openssl |
# |
Oct 6th 2018, 08:39 |
fredcyeM |
are even 4-bit microcontroller roms still copyrighted? |
# |
Oct 6th 2018, 06:37 |
NULLx76jl |
i mean, in the sound, not in the video playback |
# |
Oct 6th 2018, 06:37 |
NULLx76jl |
it failed before it started xD |
# |
Oct 6th 2018, 05:31 |
EvanCarroll |
i'm dating myself here... |
# |
Oct 6th 2018, 05:31 |
EvanCarroll |
ChuckWalker: add --user-agent="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6" to the wget line they recommend |
# |
Oct 6th 2018, 05:31 |
EvanCarroll |
I use it to test HDDs |
# |
Oct 6th 2018, 04:43 |
tehExodusnn |
media blah mediaopt x-duplex |
# |
Oct 6th 2018, 04:43 |
tehExodusnn |
you were based in france? |
# |
Oct 6th 2018, 03:41 |
vipul.onus |
Yo WeekEnd :aussieparrot::rightshark::middleparrot: |
# |
Oct 5th 2018, 22:32 |
f8lRC |
apparently pretty similar to coax, but about 90 ohm impedence instead of 75. |
# |
Oct 5th 2018, 22:32 |
f8lRC |
it doesn't get the resolution right at all |
# |
Oct 5th 2018, 22:32 |
f8lRC |
pitti: let's keep the standup in stefw's channel today. I've asked him to update the event, but he's on PTO |
# |
Oct 5th 2018, 22:32 |
f8lRC |
if your computer can do any modern CUDA work, it should also be able to run a VM with no issues |
# |
Oct 5th 2018, 22:32 |
f8lRC |
https://paste.linux.community/view/1f420a21 |
# |
Oct 5th 2018, 22:32 |
f8lRC |
crankharder: https://elliotekj.com/2016/11/22/setup-ctrlp-to-use-ripgrep-in-vim/ |
# |
Oct 5th 2018, 21:04 |
GloriousYellow_ |
there is also info test, which isn't cool. |
# |
Oct 5th 2018, 21:04 |
GloriousYellow_ |
My undergrad differential geometry course talked about those subjects, but it did seem to be what others considered grad-level material |
# |
Oct 5th 2018, 21:04 |
GloriousYellow_ |
104F out here |
# |
Oct 5th 2018, 21:04 |
GloriousYellow_ |
you need 'fi' to terminate the block, yes |
# |
Oct 5th 2018, 21:03 |
GloriousYellow_ |
ayecee: log data of some sensors. |
# |
Oct 5th 2018, 21:03 |
GloriousYellow_ |
ohh nice, let me try |
# |
Oct 5th 2018, 20:40 |
dereuromark |
darn, 0.10 of phinx might solve the "Specified key was too long; max key length is ..." constraint unique issue.. but migrations plugin is still stuck on 0.8 |
# |
Oct 5th 2018, 19:50 |
itmpls |
user_groups._ids is the fieldname, ->save($entity, ['associated' => 'SiteUsers.UserGroups']); and $this->belongsToMany('UserGroups', ['className' => 'SiteUsers.UserGroups', 'joinTable' => 'user_groups_users', 'foreignKey' => 'user_id', 'className' => 'SiteUsers.UserGroups']); |
# |
Oct 5th 2018, 19:48 |
itmpls |
updated associations and field name too |
# |
Oct 5th 2018, 19:48 |
itmpls |
well, renamed the classes to have no prefix and same thing. hmm |
# |
Oct 5th 2018, 19:42 |
itmpls |
yeah i suppose i just wanted to differentiate it but i'll try messing around with it |
# |
Oct 5th 2018, 19:41 |
btx |
you’re in a plugin, right? so everything is already prefixed with the plugin name |
# |
Oct 5th 2018, 19:41 |
itmpls |
it's within the SiteUser plugin, which overrides the Users plugin from cake/dc |
# |
Oct 5th 2018, 19:41 |
btx |
is there a reason you’re prefixing everything? |
# |
Oct 5th 2018, 19:40 |
btx |
Cake is gonna be looking for `site_user_group_id` so you’ll have to correct your primary/foreign keys on your Join and Tables |