RSS

  • YouTube
  • LinkedIn
  • Google

J5 Links

Compartilhe em suas mídias sociais
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Here are some useful links to Samsung J5 cell Phone.

Google Account verification Bypass


Compartilhe em suas mídias sociais
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Remote GSMEdge Download

Share in your social media
  • 1
  •  ;
  •  ;
  •  ;
  •  ;
  •  ;
  •  ;

INFORMATION:

Remote GSMEdge is an Android app.

Your mainly use is to help on unlocking Google Account Proccess, mainly in Samsung cell phones.

Download Remote GSMEdge


Share in your social media
  • 1
  •  ;
  •  ;
  •  ;
  •  ;
  •  ;
  •  ;

Download Odin 3

Compartilhe em suas mídias sociais
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Odin allows you to update your Android firmware without fuss.

Odin3 is a free PC (Windows) application which can flash (and root) some Android-based cell phones.

With Odin3, you can flash roms in your Samsung cell phone. You can install any supported version of the Android OS on your smartphone before your phone manufacturer has released an update, putting you on the bleeding edge of software. Once your phone has been rooted

Continue Reading >>


Compartilhe em suas mídias sociais
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Using jQueryMask Plugin to format dates in different patterns

Compartilhe em suas mídias sociais
  • 1
  •  
  •  
  •  
  •  
  •  
  •  

jQuery Mask Plugin is a great Javascript library to format fields for presentation and/or to force a properly input by users.

Here, I show how to deal with input or another HTML element to display dates when the source date has a different format from target element.

Example:

  • We have a datetime with Year-Month-Day Hour:Minute:Seconds and need to show only the Year/Month/Day part.
  • We have da date in Year-Month-Day and need to format to Day/Month/Year.

jQueryMask is very simple to use. It do not need to much to mask whatever you need. Take a look at examples on his website.

If you need to format a simple date field (even in a non-input element), just use the code below.

The code above can mask and pre-validate dates in YEAR/MONTH/DAY format.

With an input like

would be changed his value to 2018/06/11.

If you try to type another date (after clear, of course) you cannot begin with a number different from 1 or 2. This reason is that our mask have a translation to be done when allowing chars. If the pattern does not match, the char is erased.

The meaning of “TC99/M9/D9” mask is:

  • Must begin with 1 or 2 (Translation T: /[12]/ – Custom format)
  • Must have number 0 or 9 (Translation C: /[09]/ – Custom format)
  • Must have a number (any) (Translation 9 – MaskPlugin Core format)
  • Must have a number (any) (Translation 9 – MaskPlugin Core format)
  • A slash will be added automatic ( / )
  • Must have number 0 or 1 (Translation M: /[01]/ – Custom format)
  • Must have a number (any) (Translation 9: MaskPlugin Core format)
  • A slash will be added automatic ( / )
  • Must have number 0, 1, 2 or 3 (Translation D: /[0-3]/ – Custom format)
  • Must have a number (any) (Translation 9: MaskPlugin Core format)

Of course, there is no real validation. You can type “2999/19/39” and this is not a valid date, but is almost done.

So, to format in another way, just change mask parameter order.

But, if the source date is in a different pattern, like MONTH/DAY/YEAR, the mask do not work. The date output for “06/11/2018 15:40” will be weird “1018/15/0“.

To handle different date formats will be needed more than simple mask. We will need a function.

Look the code below

Now we have two more Translation Pattern (h and m). h means that the n-index position must have numbers 0, 1 or 2 and m numbers between 0 and 5. Keep in mind that CASE matters.

With the above code, we can format and show date in several ways. just change .test() and .replace() pattern to fill your desired pattern.

This is the code that I am using to format Database datetime fields with YEAR-MONTH-DAY HOUR:MINUTE:SECOND in html elements with DAY/YEAR/MONTH HOUR:MINUTE

With an input like

Output will be 11/06/2018 15:40

Hope this help you!


Compartilhe em suas mídias sociais
  • 1
  •  
  •  
  •  
  •  
  •  
  •  

Binding several values in PDO SQL Statement (PDOStatement)

Compartilhe em suas mídias sociais
  • 2
  •  
  •  
  •  
  •  
  •  
  •  

Sometimes we need to search a single value through several columns when building SQL instructions.

Suppose the table below

  • [ENTITY_ONE]
    • ID
    • COLUMN_A
    • COLUMN_B
    • COLUMN_C
    • COLUMN_D
    • COLUMN_E

If we need search a single value on columns B,D and E we will need use the following instruction

In PHP code we can do

Well, this can work but we know that isn’t the best approach. We need use Binding Values to avoid SQL injection and other malicious treats.

So, the code can be modified to

Much better, but, when building complex SQL instruction, things can be confusing with lots of arguments and don’t forget: ORDER MATTERS.

Happily PDO can bind values in different order when using named bindings.

Hmm, seems that this isn’t good enough. We only change the use of 1-indexed placeholder to a :named placeholder. There’s no gain beyond of code readable and the possibility to bind in any order.

Yes, but now we can do the best approach when using one unique search term in several columns. We can use only one bind to one or more :named placeholders ’cause PDO is smart and clever. Look our final code here.

Can save a lot of typing when writing many SQL instruction using same argument.


Compartilhe em suas mídias sociais
  • 2
  •  
  •  
  •  
  •  
  •  
  •  

Correcting modules not loaded error on Centos 6. x

Share in your social media
  • 1
  •  ;
  •  ;
  •  ;
  •  ;
  •  ;
  •  ;

A common problem after upgrading a kernel via yum on Centos is not creating the new kernel modules.
An example of this error happens when you try to use grep as in the print below.

This indicates that the directory 2.6.32-042stab 123.9 and therefore any module in your content can be loaded.

To correct this problem, the simplest way is this recipe:

This will create the directory and dependencies to modules for the kernel currently in use (uname -r).

If the problem is not resolved with the above commands. Try to reinstall the kernel via yum with the commands below.

And then try the commands listed earlier.

I hope you find it useful both when it was for me.


Share in your social media
  • 1
  •  ;
  •  ;
  •  ;
  •  ;
  •  ;
  •  ;

Samsung USB Drivers for Mobile Phones

Share in your social media
  • 1
  •  ;
  •  ;
  •  ;
  •  ;
  •  ;
  •  ;

I advise you read the whole page before download.

This page is actually a kind of backup of the files that I need. To avoid becoming a searching and seeing hundreds of pages full of advertising available here for my own use and thus is available for you also.

The Samsung drivers that allow

Continue Reading >>


Share in your social media
  • 1
  •  ;
  •  ;
  •  ;
  •  ;
  •  ;
  •  ;

How to retrieve a cell phone Samsung Galaxy using the hardware-download mode

Share in your social media
  •  ;
  •  ;
  •  ;
  •  ;
  •  ;
  •  ;
  •  ;

I play enough with cell phones. Currently I'm investing in equipment to do more than open an iPhone to replace battery or set Touch + Screen.

Had it in my hands not long ago a cell phone Samsung Galaxy Ace model GT-S5830C. I played a lot with him flashing ROMs and I taught my teenage son to do the basics and the phone ended up with him.

One day he came to tell me that there was flashed a wrong in the device ROM

Continue Reading >>


Share in your social media
  •  ;
  •  ;
  •  ;
  •  ;
  •  ;
  •  ;
  •  ;