Posts by Felipe Jorge • 1,479 points
70 posts
-
2
votes2
answers528
viewsQ: Standard Builder design, why should I use it?
This example of design pattern can be found mainly in the book Design Patterns Elements of Reusable Object-Oriented Software, a widely known book both in the academic field and also its content is…
-
0
votes1
answer219
viewsQ: How to create/use schema Builder?
I’m trying to create a Builder schema, but I don’t know directly how to make one, looking at the Handbook I come across the following code, but I try to implement in my Java code and cannot create.…
javaasked Felipe Jorge 1,479 -
-1
votes2
answers163
viewsA: Load include PHP from an External ID
You could do using the GET method, for example if you want to pick up by ID 22 you can use this solution. <!-- Box do Cupom --> <article class="box_cupom"> <?php…
-
0
votes1
answer32
viewsA: Automatic selection in drop-down menu
You can just take the and your logic that will be solved. Remove this excerpt: <option value="0">Selecione cidade</option> Will stay like this: <?php $arr = ["Caldas da Rainha",…
phpanswered Felipe Jorge 1,479 -
1
votes1
answer453
viewsA: Why is Serif Font used so little on the Web and in Apps?
Serif type fonts, or serifadas, are indicated for large printed books and text, as they help in reading, giving a greater continuity and without causing visual fatigue. Sans Serif fonts, or…
-
0
votes1
answer118
viewsA: Accent error in PHP
Try setting your characters to utf8 by mysqli command. http://php.net/manual/en/mysqli.set-charset.php <!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="UTF-8">…
phpanswered Felipe Jorge 1,479 -
0
votes2
answers744
viewsA: How to remove line breaking from txt file in PHP array
You can use the explode function, using " n" as line break $texto = "0235.000001-4 0235.213.00001295-8 `DUAS ALIANÇAS, NOVE ANÉIS, QUATRO BRINCOS, UM COLAR, SETE PENDENTES, QUATRO PULSEIRAS, DE:…
-
1
votes1
answer712
viewsA: menu in Wordpress with 3 levels
Wordpress does not have a simple function ready to create 3-level submenus. But with this class I created it allows you to create a 3 level menu easily. The class file can be saved as menu.php or…
-
0
votes1
answer712
viewsQ: menu in Wordpress with 3 levels
I want to build a menu in Wordpress with 3 levels. This example has 2 levels, the father and the son. I want the menu to have one more level, so I can create a 3-level menu with Wordpress. Below, on…
-
0
votes1
answer242
viewsA: tawk.to how to change an iframe that has ! Mportant to force the left align?
I managed to make it go left the secret is that you have to make a pickup that waits for the instantiation class and then applies the treatment via Javascript since it does not via CSS. <script…
-
-1
votes1
answer242
viewsQ: tawk.to how to change an iframe that has ! Mportant to force the left align?
Well I am using something from third parties to be able to talk in a particular store, I am using the tool tawk-to. But it forces the Iframe css with ! Import in style. How could I change to line up…
-
1
votes1
answer404
viewsQ: How do I create a database on HSQLDB?
Usually to create a database is through the command CREATE database and the name of the bank. However, I need to help a friend of mine for a college job, and I can’t figure out how to create a…
-
0
votes3
answers76
viewsA: Wordpress on Localhost
I remember taking a Wordpress plugin to migrate from one server to another. I believe it is the: Duplicator - Wordpress Migration Plugin. https://br.wordpress.org/plugins/duplicator/…
-
2
votes1
answer1119
viewsA: Database Connections in Unity
Hello I am usually using Mysql, the command I used for a while I use and I think good, because you can use a back end language in case I used PHP. The command consists of returning an HTML string…
-
9
votes1
answer1307
viewsQ: What is the advantage of front-end frameworks like React?
I was talking to some friends and in the conversation they told me that frameworks like React would be mandatory for front end programming nowadays. I wanted to know your opinion on this, on why to…
-
4
votes1
answer817
viewsQ: Unity change the order of a game Object via code by C#
Well I have a Game Object called Party Frames. Inside it I have several prefabs with different names (their names are the character Ids) and are Uis of character faces. The only thing I want is to…
-
5
votes1
answer127
viewsQ: SVG mosaic comic style
I’m developing a comic style layout and wanted help to create a svg. in the case the last comic is similar to the photo placed from the DC commics (from Batman). Somebody help me create this last…
-
1
votes2
answers1613
viewsQ: Laravel, foreach and database
I have the following table in the database public function up() { Schema::create('cidades', function (Blueprint $table) { $table->increments('id'); $table->integer('uf');…
-
0
votes1
answer1294
viewsQ: Laravel, increase the default fields of User authentication, already ready in the Windows via Poser
Hello I wanted to increase the number of fields of the authentication form to insert new fields. use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class…
-
1
votes1
answer113
viewsQ: How to take out Grayscale in css :Hover
Hello I put a grayscale on an image, wanted to know how to take this effect when I put the mouse on top of the image... .grayscale { background: url(yourimagehere.jpg); -moz-filter:…
cssasked Felipe Jorge 1,479 -
3
votes2
answers1285
viewsQ: Divide diagonal mosaic in CSS
I need to create a menu with diagonal div that when you pass the mause above for color and each image contains a link to a different category. The problem is that I can’t create a diagonal div, and…
-
0
votes1
answer56
viewsQ: Wordpress , why the plugins I install is without css and javascript?
Hello. i am trying to put a photo gallery in a wordpress template I did, however at the time I put the plugin it inserts the HTML into Pages > Add Page And then add the plugin code [gallery_bank…
-
0
votes0
answers178
viewsQ: phpmailer with gmail
Hello, I’m trying to send email with PHP Mailer... but is giving error... Parse error: syntax error, Unexpected end of file, expecting variable (T_VARIABLE) or '$' in C: Inetpub wwwroot Try…
-
1
votes1
answer961
viewsQ: microsoft sql server connection and configuration in php
I’m trying to connect to a microsoft sql server database using php. The php version is: PHP Version 5.6.3 and the error that gives is Fatal error: Call to Undefined Function mssql_connect() in C:…
-
0
votes1
answer536
viewsQ: Oncick table in the <td> turn the text into an input text and when click out change the value
Hello, I was wondering how I can do to change the value of a td as follows: <table class="tb"> <tr><td>Valor 1</td><td>Valor 2</td></tr>…
-
4
votes1
answer558
viewsQ: With Jquery grab all the elements
Hello I wanted with Jquery to pick up all the product_payment of a shop and change. Changing: In cash R $ 137,66 discounted or 12x with interest of R $ 13,69. To: Cash R $ 137,66 discounted or 12x R…
-
1
votes1
answer200
viewsQ: How to put interest scheme in product listing?
There is a list of products in the layout I am doing with opencode. <div class="borderproduct" itemscope itemtype="http://schema.org/Product"> <a href="{{ product.link }}"…
-
1
votes4
answers2318
viewsQ: H1 stylized with center edge with css
Hello, I wanted to put a border the same way it is in the image. I don’t know what you call this type of border, so it’s hard to search. <h1> Destaques </h1>…
-
2
votes2
answers505
viewsQ: CSS form diagonally without bending the letter together
Hello, I need to make a diagonal form. But the form letters get crooked together "search in store". Someone can solve this with CSS? HTML Used <div id="search" class="col-xs-10 search…
cssasked Felipe Jorge 1,479 -
-1
votes1
answer1134
viewsQ: Ruby installing Opencode GEM (Tray)
I’m new to Ruby, and a client wanted me to create a template using famashop http://www.tray.com.br http://dev.tray.com.br/hc/pt-br/articles/206159587-Iniciando-um-tema I am following the developer…
-
3
votes3
answers4238
viewsQ: Jquery take the first and second tag inside a div
I’m trying to get the first and second element inside a div. But I’m not getting it. I’m looking to get the two inputs inside the shipping_table. And by clicking on the inputs they will make a…
-
1
votes4
answers6129
viewsA: Grab <a> tag link with javascript. For active menu script
As stated earlier, here’s the script I said I would post. <script type="text/javascript"> var tag_li = document.getElementById('lista_menu'); var tag_a = tag_li.getElementsByTagName('a'); for…
-
1
votes4
answers6129
viewsQ: Grab <a> tag link with javascript. For active menu script
I am making a template and need to put the page active with color different from the other buttons. For this I need to take the contents of one and compare with the page link. If it’s the same I put…
-
6
votes8
answers16426
viewsA: Why is using "SELECT * FROM table" bad?
It really is better to use the names instead of *, but this does not mean that the command cannot be used or that it is bad. The * is very useful when you make a query just to query directly in SGBD…
-
1
votes1
answer803
viewsQ: import Gotham book font with css
I’m trying to import the Gotham-book font, it’s in the fonts/GOTHAM-BOOK.ttf folder, but although I try to import it doesn’t change anything. How can I do this? .table td{ border: 0px !important;…
cssasked Felipe Jorge 1,479 -
8
votes3
answers1766
viewsQ: Ajax cross Domain
Hello a while ago I asked this question: Grab content from another page by javascript or jquery Fellow @Sneepsninja made the following algorithm that worked. $(document).ready(function(){…
-
0
votes1
answer2177
viewsQ: Sublime, override/replace codes
Hello, I’m looking to replace all the characters that have the color #a10f2b in Sublime Text 2. I know it’s possible, but I couldn’t find the answer. I want to replace all colors of the CSS theme.…
sublime-text-2asked Felipe Jorge 1,479 -
1
votes1
answer2303
viewsQ: Arrow in menu with CSS only
Arrow under the drop down menu? I’m trying to make a arrow in the dropdown menu, so I used the following code: But the z-index (other objects are getting on top of it) in this code does not work and…
cssasked Felipe Jorge 1,479 -
2
votes2
answers2315
viewsQ: How to send two actions in a single form?
Hello I have a pagseguro button on my site, but when I click on it I want it to take the form data and send it to another page (to then put it in the database). So when you click on the pagseguro…
-
3
votes1
answer5739
viewsQ: Javascript/Jquery copy-paste command (Ctrl + c)
I simply want the Javascript command that copies and pastes, regardless of whether it works on all browsers. There is a similar question here. But it requires it to work on all browsers.…
-
28
votes6
answers2843
viewsQ: What is the correct term to call someone who makes HTML code?
HTML - Hipertext Markup Language We all know that HTML is a text markup language and not programming, but what would be the correct term to call someone who is writing in HTML? Could we say that he…
-
5
votes1
answer1721
viewsQ: Copy and paste Javascript command
I need to know how to give Ctrl c in the contents of a div when clicking on it. In this case it will have multiple Ivs, and it will take the contents of the div clicked. I found some things on the…
-
7
votes2
answers11472
viewsQ: Just grab a div from another page via jQuery
Grab content from another page by javascript or jquery On another question I wanted to know how to get content from a page. In this I wanted through this code to catch only one <div> instead…
-
9
votes5
answers20983
viewsQ: Grab content from another page by javascript or jquery
I need to get content from another page inside the site using Javascript, I tried using ajax, but gives this error "Blocked cross-origin request: The same origin policy (Same Origin Policy) prevents…
-
4
votes2
answers1314
viewsQ: Encryption and its bits. How to explain?
I have this encryption table taken from a book, but I don’t understand how it works. Why is the number of alternative keys 2 raised to 32? Why each bit fits 0 and 1? Why the number needed to decrypt…
cryptographyasked Felipe Jorge 1,479 -
0
votes3
answers182
viewsA: Drupal, put the Web Form on top of the content.
I couldn’t do this in Drupal itself, but I hid the div from the form, inspected the element, copied the HTML and wrote the form in the post HTML itself.
-
4
votes1
answer1666
viewsQ: Proxy project default, why use?
This proxy pattern example can be found on Wikipedia. reference: http://en.wikipedia.org/wiki/Proxy_pattern What I want to know is this: Why should I use this pattern? When should I use it? Why is…
-
0
votes3
answers182
viewsQ: Drupal, put the Web Form on top of the content.
I need to do in the Drupal theme put this Web Form on top of the content instead of at the bottom. I do not know how Drupal works, however I have some knowledge of creating Wordpress templates, I…
-
2
votes2
answers1038
viewsQ: Are hybrid apps safe?
I’m starting to want to develop hybrid applications like Phonegap, Cordova or Intel-XDK. Hybrid applications run in a kind of browser. I wanted to know is possible to steal codes made in hybrid…
-
4
votes2
answers2901
viewsQ: Can iOS apps made in Phonegap be compiled in Windows?
Phonegap Builder serves to compile the apps for you, but in iOS gives error when compiling. What do I need to build on iOS using Phonegap Builder? What kind of key does it take to build it? I found…