This is the best I have so far using regex:
Find:
<((?!\s*((a)\s+))\w+)(.*?)((?:src|href)\s*=\s*")((?!\{\{\s*)[^"]+)"
Replace with:
<$1$4$5{{ asset('$6') }}"
RewriteEngine On | |
RewriteCond %{REQUEST_URI} !^/public/ | |
RewriteRule ^(.*)$ /public/$1 [L,QSA] |
const arr = [ | |
{ id: 1, name: "king" }, | |
{ id: 2, name: "master" }, | |
{ id: 3, name: "lisa" }, | |
{ id: 4, name: "ion" }, | |
{ id: 5, name: "jim" }, | |
{ id: 6, name: "gowtham" }, | |
{ id: 1, name: "jam" }, | |
{ id: 1, name: "lol" }, | |
{ id: 2, name: "kwick" }, |
This is the best I have so far using regex:
Find:
<((?!\s*((a)\s+))\w+)(.*?)((?:src|href)\s*=\s*")((?!\{\{\s*)[^"]+)"
Replace with:
<$1$4$5{{ asset('$6') }}"
$('form').submit(function (event) { | |
event.preventDefault(); | |
var _this = $(this); | |
$.ajax({ | |
type: "POST", | |
url: _this.attr('action'), | |
data: new FormData(this), | |
processData: false, | |
contentType: false, | |
success: function (data) { |
// Lists of countries with ISO 3166 codes, presented in various formats. | |
// Last Updated: Nov 15, 2019 | |
// If you're using PHP, I suggest checking out: | |
// https://github.com/thephpleague/iso3166 | |
// | |
// JS developers can check out: | |
// https://www.npmjs.com/package/iso3166-2-db | |
// List of all countries in a simple list / array. |
import os | |
folderName = 'folderName' | |
fileurl = "fileurl" | |
m3u8file = folderName+"/m3u8/480p.m3u8" | |
if not os.path.exists(folderName): | |
os.makedirs(folderName) |
<?xml version="1.0" encoding="UTF-8"?> | |
<Response> | |
<Say>$content</Say> | |
<Play>https://vttts.readspeaker.com/cgi-bin/nph-voicetext/17c6a09ed76c9306e9cedcc9c645cce9.mp3</Play> | |
</Response> |
google.com, pub-5651806558038479, DIRECT, f08c47fec0942fa0 |
One useful Git tip is to use the command "git stash", to find the commit that introduced a bug in your code. This command allows you to perform a binary search through your commits to quickly locate the commit that caused the bug.
For example, let's say you have a bug in your code and you know it was not present in a previous version. You can use the command "git bisect" to start the search process:
$ git bisect start