Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I started on a project where we want to go from a Wordpress site we currently have to a non-cms based site for specific reasons. I downloaded a plugin for the site which converted all my pages and such to HTML but now I have a bunch of pages with absolute links to certain wordpress folders that will not be there anymore.
I would like to (for the time) convert all links that use absolute paths to relative paths as I have changed the file structure of the website. I currently use Sublime 3 and Phpstorm, but if those tools can't help me I can absolutely get another one to help me with this task.
Thanks!
Notepad++ is powerful for this. Use Find and replace in all files from a selected directory.
If you are on linux, use grep.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I have to build a webservice in order to send a webpage to some others websites.
Theses websites will integrate this webpage inside another one.
I have to send the assets separetely from the webpage.
For performances issues, I musn't use AJAX requests.
One of my javascript files, need businness data in order to display and validate form fields according to complex business rules (Administration).
So far I'm using a "js.twig" template, so I can easily add my data to my script.
However, I'm asked to minify this file (performance and intellectual property).
How can I minify my file "on the fly" ?
Update :
I'm not asking for a tool. I already have one. I need leads about calling a "minifyier on the fly". Filo gave a pretty good on the subject.
probably this answer can help you:
https://stackoverflow.com/a/15947488/3625883
If you want a library in pure php to perform the compression, you can use https://code.google.com/p/minify/
For installation:
add in composer.json
"mrclay/minify": "2.2.0"
Then you can use Assetic filter: jsminplus (https://github.com/jbroadway/assetic/blob/master/lib/JSMinPlus.php )
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I use multiple javascript libraries, such as bootstrap, jquery, knockout and etc. Every time I start a new project, I have to add them manually to my layout page. It annoys me even its once per project. Nuget packager has been helpful for doing this. But as I use more libraries, nuget packager no longer fits my needs. So I'm looking for a better solution. My question is: Is there a place or visual studio plugin that can help me adding the popular and latest javascript libraries mentioned above?
I always use CDNs. That way from one project to the next, I just need the same links in my html to get the same resources. Here is a good resource.
Javascripts CDN
Example code:
<script src="//cdnjs.cloudflare.com/ajax/libs/knockout/3.1.0/knockout-min.js"></script>
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Improve this question
I have a resume that I've made in HTML, but I need to make it into a PDF. I could print it and then scan it, but I don't have that option at the moment.
The website is made using HTML, CSS3, and very little javascript.
I've tried using HTML to PDF converters, but my fonts don't show up and some other things don't work out.
So simply put, is there a way I can save it while keeping all the styles?
If you use Firefox's Print to File option and change the printer settings like below (especially the "Header and Footer" setting, you can come up with a pretty decent result.
The result:
If you install some PDF software like Foxit PDF creator, you can print your webpage as a PDF
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
when i was browsing I found a website that using single page only but using different background each navigation...I'm just a new web programmer does anyone know a good basic tutorial to learn this stuff? I wanna build a website that uses single help me please.
http://mypizzaoven.nl/#data-home
If you manually zoom out you can see that they've literally just laid the page out that way. They use overflow: hidden: to make the page unscrollable, and then set the margins to be negative so that they can put things off of the page.
The primary thing they do, though, is use ids and the #id to then go to that part of the page.
Example:
<div id="pizza"></div>
You would then use thispage.html#pizza to focus on that part of the page.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm performing a site review for one of our properties and it's a spectacular mess. One of the issues is that there are 123 files in the .js folder, and I'm not certain how many of them are used because each page on the site has it's own head calling specific dependencies.
I'm wondering if there is a chrome plugin that will keep track of the dependency files/names I'm loading as I bounce around a site. Or perhaps there's a method I can use that I'm not seeing?
Using Chrome Developer tools, you can go under the Network tabs and see what files are being requested from the server. You can then sort them by type to get a glance at the scripts being loaded.