
Search In
If you want to reverse an existing array in objc, you can do it this way.
- (NSMutableArray*)reverseArray {
if ([self.assetsArray count] == 0)
return;
NSUInteger i = 0;
NSUInteger j = [self.assetsArray count] - 1;
while
If you want to make security system in OpenERP(Odoo) follow the below mentioned code and paste it in your ir.model.access.csv file:
"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
"access_idea_idea","id
As explained on post how to archive a snapshot, Now to restore a backup without writing to a compressed gz file from created archive, use the following sequence of commands:
umount /dev/vg0/snap_db-01
lvcreate --size 1G --name mdb-new vg0
dd if=/dev
When using the _inherit and _name attributes together, Odoo creates a new model using the existing one as a base. The new model gets all the fields, methods and meta-information from its base.
For example you can take idea from b
If you want to change the color of an image then you can use the following code :
public Bitmap changeColor(Bitmap srcBitmap, int color) {
Bitmap resBitmap = Bitmap.createBitmap(srcBitmap, 0, 0,
srcBitmap.getWidth() - 1, srcBitmap.getHe
Hello can you please help me how to write correctly in Wolfram Cloud this system of equations(Wolfram just does not see it as a system of equations)
{Limit[l[n][u[n]],u[n]->0]==0,Limit[p[n][h[n]],h[n]->0]==0,v[n]==v[n-1]+x[n-1],v[n]==u[n]*k,t[
BIT_LENGTH(str)
BIT_LENGTH function returns the length of the string str in bits.
for example,
the bit length of text is 32 and hello is 40.
mysql> SELECT BIT_LENGTH('text');
+--------------------+
| BIT_LENGTH('text') |
+--------------------+
I am modifying (Q-Municate) application powered by (QuickBlox) but I am facing one problem. When, I receive calling notification; I launch calling activity but it's not getting appear instead application get's open normally but calling activi
Hello Reader! If you having the timestamp generated by Unix and you want it to be in format of time then you can use the example code below:-
function MakeTime(TimeUnix) {
var d = new Date(TimeUnix);
var h = (d.getHours().toString().length
Through this code we can use NSLOG whenever required. Write this snippet in some common file(say utility) so that it would be easily handled throughout the project. Make sure class should import utility class to handle NSLog.
All you need is to chang
