Posts by Vico • 444 points
25 posts
-
0
votes1
answer19
viewsA: Determining the top-20 in a given year from a last.fm scrobbles table
Adapting of the reply of my reply in the world OS: If you want for a single year, you can aggregate, classify and limit: select artist, album, title, count(*) cnt from scrobbles where datahora >=…
-
0
votes1
answer19
viewsQ: Determining the top-20 in a given year from a last.fm scrobbles table
Good afternoon! I created a table in a Mariadb test base (XAMPP) to store all my scrobbles (times I listened to some music) from the site Last.FM. I used that tool to generate the CSV and imported…
-
1
votes3
answers240
viewsQ: Randomly choose files in Nodejs
I’m trying to create a bot for Twitter/Facebook/Discord that reads a pair of files randomly in a certain folder to post on networks. Basically in the folder there will be several JPG or PNG images,…
-
2
votes0
answers42
viewsQ: Check if program has been compiled for 32 or 64 bits
Good afternoon, I am setting up my fpc here for cross-Pilation and would like to make sure that it is working properly, I want to do a test program and compile on each platform, soon after checking…
-
1
votes1
answer31
viewsA: libav - save (segmented) stream capture with timestamp in file name
As discussed in the English version of this question, a user recommended me to change pro ffmpeg which already has an attribute supporting timestamp, so I got what I needed with this command: ffmpeg…
-
1
votes1
answer31
viewsQ: libav - save (segmented) stream capture with timestamp in file name
I was looking on the internet to make a home DVR (using a Linux machine) and what I found was this avconv command: avconv -i rtsp://<user>:<password>@xxx.xxx.xxx.xxx:xxx/play1.sdp -c…
-
1
votes1
answer1285
viewsQ: Add suffix to first line text file using BAT
Good staff! I’m editing some F1C game mods, which uses text files to store pilots' AI data. In the first line of each file come the name of the pilot: Michael Schumacher ... and I’d like to add a…
-
2
votes1
answer297
viewsQ: Lazarus - Error running program with fpCEF
I’m having trouble following this simple tutorial building a Webbrowser using fpCEF. I downloaded the latest version of fpCEF straight from Github, for version 3.2526 of CEF, and its binaries I took…
-
1
votes2
answers428
viewsA: Github - How to create a second Fork from a particular repository?
I ended up finding an article about how to do this. The procedure is called "Dupliforking" and the article link is this: https://github.com/enyojs/enyo/wiki/Dupliforking Below a translation: Suppose…
-
1
votes2
answers428
viewsQ: Github - How to create a second Fork from a particular repository?
Let’s say I have a repository layout user\original as meuser\original. If I want to create a new Fork from the first one, how do I do it? On github when you click to create a new Fork it just…
-
2
votes2
answers1943
viewsQ: PHP - Check for GET parameters in a URL
Good night! This doubt is more of a curiosity. I have a php page that displays certain topics of a phpbb forum. Among the data stored is the path (url) of the topic, which comes in the format…
-
0
votes0
answers159
viewsQ: "Translate" date returned in Portuguese to English
Good night people! I have a problem with a php script attached to phpbb cms, which returns the topics of certain forums and presents them in RSS 2.0 format. The problem is that the date, while being…
-
0
votes2
answers369
viewsA: PHP - Function to remove character and concatenate strings (relative URL to absolute)
Well, as commented above, the path I get is physical, and I need to turn to an absolute URL. Anyway, an international stack user answered me: $url = str_replace('./', 'http://example.com/', $url);…
-
0
votes2
answers369
viewsQ: PHP - Function to remove character and concatenate strings (relative URL to absolute)
Good staff! I have a small problem (problem because I don’t work much with php). I’m using a script attached to phpbb that displays the topics of a given forum on an external page, but cms returns…
-
3
votes2
answers1100
viewsQ: GIT - "import" content from another branch
My question is this:: I have a repository called "site-layout" with only the master branch, where I develop a layout with bootstrap v4. I still have another repository called "site-old" also only…
-
0
votes1
answer181
viewsA: After reversing a merge from a Repo to Fork, git does not allow another (already up-to-date)
I managed to solve the problem. I had to give, on the command line, a git reset --hard <ultima commit antes do merge> and then a git push --force to force the change on the server.…
-
1
votes1
answer181
viewsQ: After reversing a merge from a Repo to Fork, git does not allow another (already up-to-date)
Good guys! I have little experience with GIT (so I mostly work with Github Desktop more than with the command line), and today I’ve had some problems with a phpbb theme repository Fork that I’ve…
-
1
votes1
answer161
viewsQ: How to use a Collapsible without an id for the target element?
I’m implementing a bbcode of spoilers for a phpbb forum, which uses Bootstrap and jQuery in theme. The code is this: <div class="panel-group"> <div class="panel panel-warning"> <div…
-
1
votes0
answers326
viewsQ: What is the best way to organize files in a web project?
First of all, a thousand excuses if this question does not fit the objectives of the site. I want to create a "pack" of themes/skins for wordpress (maybe with some mu plugins), phpbb (or similar)…
-
3
votes1
answer1084
viewsA: Bootstrap - Trying to centralize a Nav (not navbar)
Answered question in the English post. the class .nav-pills has float:left by default. Then just put to None and then show all in a row with display: inline-block. FIDDLE UPDATED #page_footer {…
-
3
votes1
answer1084
viewsQ: Bootstrap - Trying to centralize a Nav (not navbar)
I’m having a big problem trying to center a Nav on a grid. The fiddle is here, and I wanted that when the space ran out and the "cells" piled, the Nav would be centered like the wordpress paragraph.…
-
7
votes3
answers23448
viewsQ: Footer "glued" at the bottom of the page and responsive (variable height - using bootstrap)
I’ve been following similar issues here on stackoverflow and other web sites, in addition to tutorials on the internet, but the vast majority of solutions do not work as I need, or even are…
-
1
votes1
answer24
viewsA: Problems with nested shortcodes
SOLVED! The problem was simply the fact of wordpress do not accept (as well as standards w3c), two nested p tags. Changing to span the tag daughter solved everything.…
-
0
votes1
answer24
viewsQ: Problems with nested shortcodes
Hello! I’m trying to use some nested shortcodes, but I’m not succeeding. The shortcodes are these, in statement order in functions.php: function p_generico_shortcode( $atts , $content = null ) {…
-
1
votes0
answers103
viewsQ: Mediaelement.js - Pause/Stop all other audios/videos in the same class when starting any
I’m having some headaches to implement a BGM and BGS system for a fanfic site here. I’m using mediaelement.js for mobile interoperability and support for Youtube videos. Anyway, I’m trying to…