Posts by Gabriel Tadra Mainginski • 707 points
21 posts
-
0
votes1
answer82
viewsQ: Assign the same value to internal and external Formcontrol using Controlvalueaccessor with Reactiveforms
I have a directive to put the value treated by Decimalpipe in the input value without changing the Formcontrol value, or better yet, I make a change in Formcontrol without assigning it to the input.…
angularasked Gabriel Tadra Mainginski 707 -
1
votes2
answers975
viewsA: Save PDF Form - Bootstrap
You can set the columns to media print manually by following what is already established in Bootstrap, for example: @media print { .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6,…
-
0
votes5
answers1659
viewsA: What is the best way to pass data between php files
You must separate into several controllers (remember that it is object orientation, unstructured). You define instances and they will have 1 controller, each. Example: question instance, question…
-
1
votes4
answers2028
viewsA: Side by side in Bootstrap, jumping line
Put a height EQUAL for all items marked with col-Md-2. PS: using styling in HTML is highly not advisable, that’s why Bootstrap is there, so you don’t have to do this.
twitter-bootstrapanswered Gabriel Tadra Mainginski 707 -
1
votes1
answer280
viewsA: Laravel: Model-Form Binding Undefined variable
First of all, this is very complex to understand, let’s assume that when you need a foreach to look for some data in your database, it is very sure to have something wrong, not that it will not…
-
3
votes1
answer928
viewsA: What code do I use to share on facebook the content of a page with a specific photo, title and description?
Actually, this is neither php nor css, but html! <meta property="og:title" content="Título" /> <meta property="og:description" content="Descrição" /> <meta property="og:image"…
-
0
votes3
answers273
viewsA: Incorrectly applied width media queries on mobile devices
You can use @viewport within a media query to determine the size of the view at a given resolution. Example: @media all and (min-width: 540px) { @viewport { width: 480px; } } That way, when the…
-
4
votes2
answers547
viewsA: Force CSS in IE
Unfortunately, it seems that old CSS implementations in Internet Explorer do not allow using the !important conventionally. If you simply overwrite or update an attribute won’t work out. This will…
-
3
votes2
answers820
viewsA: An application for multiple customers with Laravel
If you’re going to keep the same tables for customers, or the same basis, there’s no point in doing it. Just make a 1-to-1 relationship in each table with a user table that the data would not mix…
-
0
votes1
answer253
viewsA: Sybase 15 and Laravel 5.1 via ODBC and Error 3811
Somehow I was able to discover the nature of the mistake but I couldn’t find another alternative. Basically Sybase (or ODBC, but kick that does not) does not support this type of insertion:…
-
0
votes1
answer253
viewsQ: Sybase 15 and Laravel 5.1 via ODBC and Error 3811
I have a database in Sybase (Adaptive Server Enterprise) and we started using the Laravel framework to transfer existing systems to it (a migration in BD cannot be contemplated). Laravel by default…
-
1
votes1
answer90
viewsQ: Cell reordering in Bootstrap
At the moment I have a layout that is like this, using Bootstrap: [-nav/header] [-1-][-2][-4] [---3---][-4] [---3---][-4] [---footer--] And I would like to display it like this in mobile navigation:…
-
10
votes2
answers124
viewsQ: Minified pages and processing for each request
If I want to minify an HTML page from PHP I will be more winning or losing? More clearly: I want to keep the formatting and practicality for when editing the page, preserving the edentation. But I…
-
3
votes2
answers1526
viewsQ: Hidden fields appear/are modified with a select Multiple
Hello, I have the following select: <select name="hierarquia[]" multiple> <option value="Usuário" selected> Usuário</option> <option value="Moderador" selected>…
-
4
votes4
answers11127
viewsA: How to hide the Scrollbar, but without deactivating it
To disable the bar you use CSS without secret, as you may have tried with overflow-x: hidden;. jQuery only makes the page be scrollable. To do so, you can use the plugin mousewheel for emulate the…
-
3
votes2
answers479
viewsQ: Login to a web site by the program
I have a site programmed in PHP with login and I’m making a desktop application (Windows) and I’m trying to log in to it from these system on the web. My system in PHP works as follows: it creates a…
-
3
votes2
answers616
viewsQ: "Convert" an HTML list to Mysql with PHP
I have a large list in HTML with about 106000 lines of code. Where these lines are records and these records are subdivided into: 6 lines of information about a game (As name and year of…
-
5
votes1
answer1701
viewsQ: How to get information from another running program?
Updated I thought my question would get lost and I honestly didn’t even see it reopened. But taking advantage that now there was a move to update on my app. It is being developed in C# and therefore…
c#asked Gabriel Tadra Mainginski 707 -
3
votes1
answer154
viewsQ: Two elements with same height with jQuery - all the time
I’m taking advantage of a gallery system that I found on the web where, depending on the proximity of the mouse image, it expands proportionally. Link: Image gallery Well, I adapted the code to be…
-
2
votes1
answer642
viewsA: Relative sidebar in responsive layout
I found the best solution using CSS3. I did some calculations in my head and I ended up discovering the function Calc() (can be 'hacked' in some other ways using relative width and absolute margin).…
-
7
votes1
answer642
viewsQ: Relative sidebar in responsive layout
Solved, look at my answer * I asked this question in the gringas, but I don’t think I could express myself well there. Ask there: https://stackoverflow.com/questions/25481613/side-menu-align I have…