This file contains 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
// ==UserScript== | |
// @name Paywall Remover | |
// @namespace https://srizon.com/ | |
// @version 0.1 | |
// @description Remove Paywall from thelocal.dk and thelocal.de | |
// @author Afzal | |
// @match https://www.thelocal.dk/* | |
// @match https://www.thelocal.de/* | |
// @require http://code.jquery.com/jquery-latest.js | |
// @grant none |
This file contains 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
async function handleRequest(request) { | |
const url = new URL(request.url) | |
let apiUrl = url.searchParams.get('apiurl') | |
if (apiUrl == null) { | |
apiUrl = API_URL | |
} | |
// Rewrite request to point to API url. This also makes the request mutable | |
// so we can add the correct Origin header to make the API server think | |
// that this request isn't cross-site. | |
request = new Request(apiUrl, request) |
This file contains 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
LoadModule php7_module "C:/Program Files/php-7.4.2-Win32-vc15-x64/php7apache2_4.dll" | |
AddHandler application/x-httpd-php .php | |
AddType application/x-httpd-php .php .html | |
PHPIniDir "C:/Program Files/php-7.4.2-Win32-vc15-x64" |
This file contains 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
/* | |
Example for receiving | |
https://github.com/sui77/rc-switch/ | |
If you want to visualize a telegram copy the raw data and | |
paste it into http://test.sui.li/oszi/ | |
*/ | |
#include <RCSwitch.h> |
This file contains 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
``` | |
<VirtualHost *:80> | |
AddHandler application/x-httpd-php .php | |
ServerAdmin [email protected] | |
DocumentRoot "C:/Users/Vahid Amiri Motlagh/Documents/dev/phpmyadmin" | |
ServerName phpmyadmin.localhost | |
ServerAlias www.phpmyadmin.localhost | |
ErrorLog "C:/Program Files/Apache24/logs/phpmyadmin.localhost-error.log" | |
CustomLog "C:/Program Files/Apache24/logs/phpmyadmin.localhost-access.log" common | |
<Directory "C:/Users/Vahid Amiri Motlagh/Documents/dev/phpmyadmin"> |
This file contains 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
package main | |
import ( | |
"fmt" | |
"github.com/kardianos/service" | |
"log" | |
"os" | |
"time" | |
) |