Tuesday, 1 October 2013

How to enable log messages during boot process

How to enable log messages during boot process

I'm using Linaro Raring Ubuntu for Cubieboard A20.
How can I enable the log messages in boot process?
I've already read this post:
How to enable boot messages to be printed on screen during boot up?
But I don't have grub, it's a SDCARD boot with a DOS partition and .scr,
.bin files and uDev.txt file.

How to solve this question(set cardinality)?

How to solve this question(set cardinality)?


about the cardinality and power set, how to find the bijection?

Monday, 30 September 2013

Is there a continuous bijection between an interval and a square: $[0=?iso-8859-1?Q?=2C1]_\mapsto_[0=2C1]_\times_[0=2C1]$=3F_=96_math.stackexc?=hange.com

Is there a continuous bijection between an interval and a square: $[0,1]
\mapsto [0,1] \times [0,1]$? – math.stackexchange.com

Is there a continuous bijection from $[0,1]$ onto $[0,1] \times [0,1]$?
That is with $I=[0,1]$ and $S=[0,1] \times [0,1]$, is there a continuous
bijection $$ f: I \to S? $$ I know there is a ...

Transferring data from one table to another, some relational columns

Transferring data from one table to another, some relational columns

Table 1 - this table is completely populated from an XLSX file...

Tables 2 and 3 - contain 1-1 references for a couple of the columns in the
final table.

Table 3 - the on I am trying to get populated with first three tables....

As you can see, the tables are sensible, there is no einsteinic equations
or conversions going on. Here is the code that I have already tried,
unsuccessfully:
INSERT INTO att_oem_orders SELECT NULL, ost.om_or_po, (SELECT j.job_id
FROM jobs j WHERE j.project_number = project_no), NULL, (SELECT ao.id FROM
att_oem WHERE ao.item_no = item_no), ost.po_number, (SELECT ol.id FROM
order_lsc WHERE STATUS = ol.line_status_code), ost.ordered_date,
ost.shipment_date, NULL, NULL, ost.item_qty, NULL, NULL, NULL, NULL,
ost.shipping_to, ost.tracking_number, ost.carrier) FROM oem_temp_sync
WHERE ost.item_qty > 0

How to reload view asynchronously when carrierwave_backgrounder processing completes?

How to reload view asynchronously when carrierwave_backgrounder processing
completes?

I am using the carrierwave_backgrounder gem in a Rails 3.2 app to handle
background processing of image files and transfer to S3 via queue_classic.
The gem sets a file_processing boolean to null when processing is
complete, enabling the following:
#partial
<% if file.file_processing.nil? %>
<%= image_tag file %>
<% else %>
<p>processing</p>
<% end %>
I am using jquery to handle multiple file uploads (jquery-fileupload).
When a file upload completes, it triggers an ajax response via create.js
to render the partial.
This is fine, but means I end up with a long list of 'processing'.
Is there a callback I can take advantage of to reload the partial when
background processing is complete?

How To Use MySql in Html Button with php

How To Use MySql in Html Button with php

PHP
$con=mysqli_connect("localhost","root","","mmogezgini");
$menuler = mysqli_query($con,"SELECT * FROM menuler");
while($menu = mysqli_fetch_array($menuler))
{
echo "<button class=\"ust_link\"
onClick=\"window.location.href='Menu_Url.php'\">Menu_Name</button>";
}
mysqli_close($con);
Mysql codes are ready and mysql connection is successful just i dont know
how to place menu['name'] and menu['url'] instead of Menu_Name and
Menu_Url

Sunday, 29 September 2013

Resharper ToString Format Completion

Resharper ToString Format Completion

In the Reshaper 8.1 the new ToString() Format Completion is great, but for
DateTime all the options seem to be in America culture, eg month/ day
/year, being in Australia this is not very useful is there any way you can
chnage the default completion options so that day/month/year and
day-month-year could be added or replace the current list of formats,
If not how can I turn off only the datetime toString code completion ?