Posts

javascript - How to convert normal table to CkEditor Table -

Image
above table table want convert above table below ckeditor table, there way,is there css property can convert below table this table ckeditor table you can thing this demo table { border-collapse: collapse; border: 2px solid #eee; } td, th { border: 2px solid #eee; min-width:200px; box-shadow: 0px 0px 2px 1px #000; }

Meteor registration verification email not sent on production -

i have tested meteor app on dev , verification email sent out. on production not. maybe content of smtp.js? code follows: // server/smtp.js meteor.startup(function () { var smtp = { username: 'dummy@wbs.co.za', password: 'hw783378hjshd', server: 'smtp.wbs.co.za', port: 25 } process.env.mail_url = 'smtp://' + encodeuricomponent(smtp.username) + ':' + encodeuricomponent(smtp.password) + '@' + encodeuricomponent(smtp.server) + ':' + smtp.port; }); // (server-side) meteor.startup(function() { // default, email sent no-reply@meteor.com. if wish receive email users asking account, sure set email address can receive email at. accounts.emailtemplates.from = 'noreply <no-reply@meteor.com>'; // public name of application. defaults dns name of application (eg: awesome.meteor.com). accounts.emailtemplates.sitename = 'no reply'; // function t...

vim - How do I :Ggrep ignoring case for a particular search? -

is there way one-off search using :ggrep ignoring case? is, i'd git grep -i search_term in shell? the standard :vimgrep suggest embedding \c modifier search pattern :ggrep /\csearch_term/ did not appear work @ all. so, question: there way make :ggrep ignore case particular search action? you can use -i / --ignore-case flag :ggrep : :ggrep -i 'pattern'

Writing SQL to develop XML with children -

i'm trying write sql generate xml string complete child elements. can everything, children aren't falling children, showing separate root level items. i've been dinking around xml path statement, not having luck. help appreciated. i'm on sql 2014 server. declare @xmldata xml set @xmldata = ( select adr.account_identifier , adr.first_name , adr.last_name , adr.addr_line1 , adr.addr_line2 , adr.city , adr.state , adr.zip , ( select acct_nbr , loan_orgl_prin_amt , loan_ostd_prin_amt , loan_eftv_int_rt staging.statementofbalance_src sob sob.acct_nbr = crbr.acct_nbr ...

javascript - Add cookies to toggle sidebar -

i have toggling sidebar on side, , want use cookies make remember state it's at. has been brought lot before, haven't been able find solution works code. (or maybe does, i'm new @ this, have used wrong.) var main = function() { $('.icon-menu').click(function() { $('.menu').animate({ left: "0px" }, 200); $('body').animate({ left: "240px" }, 200); }); $('.icon-close').click(function() { $('.menu').animate({ left: "-240px" }, 200); $('body').animate({ left: "0px" }, 200); }); }; i looked this ask , seems i'm looking for, codes different didn't work. same enter link description here viktor's helpful setup here - easier redo code more "standard"? or can set if command both menu , body? grateful tips. cheers! download , in...

excel - How to check if a command is possible before executing it in vba? -

i want use macro change long long column of cells. cells either numbers or text. numbers, though, stored text , want convert them. i'd like `range("a1").value = int(range("a1").value)` , , works fine when converting numbers stored text number, won't work values text , have no numbers. how set command see, if conversion possible it? do them @ once range.texttocolumns method . vba's overhead take care of error control. with worksheets("sheet1") intersect(.usedrange, .columns(1)) .numberformat = "general" .texttocolumns datatype:=xlfixedwidth, fieldinfo:=array(0, 1) end end

How can I create Date Object from Date and Time Strings in Lua NodeMCU? -

i playing around nodemcu on esp8266. have date string , time string web request this: 15.07.16 (german format dd.mm.yy) 19:50 (24 hours format) these datetimes lay little bit in future. want number of minutes current time time strings above. i guess have create time object strings , compare current time. how can lua? unfortunately there no os library on nodemcu (or might have missed how enable it). calculating difference manually huge pain avoid. know way compute available or external libraries? thanks support! there's pending pr rtctime except opposite, unix epoch utc calendar. if convert strings unix epoch x do -- delta in minutes local delta = (x - rtctime.get()) / 60 you can either calculate x yourself, far trivial due leap years & seconds , other date/time oddities, or can send request http://www.convert-unix-time.com/api?date=15.07.2016%2019:50&timezone=vienna&format=german , extract timestamp it.