This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Prevent WP Admin from being accessed (except admin-ajax.php) | |
| #RewriteCond %{HTTP_HOST} ^(|www\.)yourdomain\.(com|net|org)$ [NC] # This line is optional, but useful if you only want to apply the rules to certain domains | |
| RewriteCond %{REQUEST_URI} ^/wp-admin/ [NC] | |
| RewriteCond %{REQUEST_URI} !^/wp-admin/admin-ajax\.php$ [NC] | |
| RewriteRule (.*) %{REQUEST_SCHEME}://%{HTTP_HOST}/ [L,R=301] | |
| # Prevent the WP login form from being accessed | |
| #RewriteCond %{HTTP_HOST} ^(|www\.)yourdomain\.(com|net|org)$ [NC] # This line is optional, but useful if you only want to apply the rules to certain domains | |
| RewriteCond %{REQUEST_URI} ^/wp-login\.php$ [NC] | |
| RewriteRule (.*) %{REQUEST_SCHEME}://%{HTTP_HOST}/ [L,R=301] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function GI_itemHaveCheckedState(element, state, delay) { | |
| var valid = element.checked === state; | |
| if ( valid ) { | |
| if ( ! delay ) delay = 0; | |
| setTimeout(function() { | |
| element.style.outline = '5px solid rgba(98, 191, 103, 1)'; | |
| setTimeout(function() { | |
| element.style.outline = 'initial'; | |
| }, 500); | |
| }, delay); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| find . -type f -name "*.flac" | while read line; do | |
| newFilename="${line/%flac/aiff}" | |
| ffmpeg -y -nostdin -i "${line}" -write_id3v2 1 -c:v copy "${newFilename}" | |
| rm "${line}" | |
| done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| svn delete http://plugins.svn.wordpress.org/plugin-slug/tags/1.0.0/ -m "Revert" --username your-username |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| toConvertFolder="to-convert/" | |
| convertedFolder="converted/" | |
| mkdir -p $convertedFolder | |
| # FLAC to AIFF | |
| find $toConvertFolder -type f -name "*.flac" | while read line; do | |
| newFilename="${line/%.flac/.aiff}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| toConvertFolder="to-convert/" | |
| convertedFolder="converted/" | |
| maxKhz=48000 | |
| mkdir -p $convertedFolder | |
| formats=( "aiff" "wav" ) | |
| for i in "${formats[@]}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -v -s http://awesome-site.com 1> /dev/null |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "name": "Ima Prohaska", | |
| "email": "[email protected]", | |
| "phone": "+17273931388", | |
| "company": "Sawayn-Mueller", | |
| "company_email": "[email protected]", | |
| "company_phone": "1-540-346-3726", | |
| "project_url": "pfeffer.com", | |
| "address": "7185 Considine Shore\nNew Justyn, ID 15204" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| netsh interface portproxy add v4tov4 listenport=3000 listenaddress=0.0.0.0 connectport=3000 connectaddress=192.168.0.69 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| wsl -- ip -o -4 -json addr list eth0 ` | |
| | ConvertFrom-Json ` | |
| | %{ $_.addr_info.local } ` | |
| | ?{ $_ } |