Disable ModSecurity in cpanel.
HTTP 403 is an HTTP status code meaning access to the requested resource is forbidden. The server understood the request, but will not fulfill it, if it was correct.
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Gauntlet-like Game</title> | |
<link rel="stylesheet" href="styles.css"> | |
</head> | |
<body> | |
<canvas id="gameCanvas" width="800" height="600"></canvas> |
#include <Constants.au3> | |
#include <GUIConstantsEx.au3> | |
#include <WindowsConstants.au3> | |
$count = 125 | |
$label = 0 | |
$button = 0 | |
Func _WriteErrorLog($ErrorMessage) | |
FileWriteLine(@ScriptDir & "\" & @ScriptName & ".log", @HOUR & ":" & @MIN & ":" & @SEC & ": " & $ErrorMessage) |
#include <Constants.au3> | |
#include <GUIConstantsEx.au3> | |
#include <WindowsConstants.au3> | |
$count = 125 | |
$label = 0 | |
$button = 0 | |
Func _WriteErrorLog($ErrorMessage) | |
FileWriteLine(@ScriptDir & "\" & @ScriptName & ".log", @HOUR & ":" & @MIN & ":" & @SEC & ": " & $ErrorMessage) |
using System.Diagnostics; | |
using Microsoft.AspNetCore.Mvc; | |
using ReverseLinkedListApp.Models; | |
namespace ReverseLinkedListApp.Controllers; | |
public class HomeController : Controller | |
{ | |
private readonly ILogger<HomeController> _logger; |
// in your extension's background script | |
chrome.browserAction.onClicked.addListener(function(tab) { | |
// inject the content script to the current tab | |
chrome.tabs.executeScript(tab.id, {file: 'content.js'}); | |
}); | |
// listen for messages from the content script | |
chrome.runtime.onMessage.addListener(function(message, sender, sendResponse) { | |
if (message.action == 'getImages') { | |
// message.data is an array of image urls |
/** | |
* const PriorityQueue = require('priority-queue-js'); | |
*/ | |
class Solution { | |
/** | |
* @param {number} n | |
* @param {number[][]} edges | |
* @param {number} src | |
* @returns {Object} |
from typing import List | |
from collections import namedtuple | |
Pair = namedtuple('Pair', ['key', 'value']) | |
# Definition for a pair. | |
# class Pair: | |
# def __init__(self, key: int, value: str): | |
# self.key = key | |
# self.value = value |
class Node { | |
constructor(value, next) { | |
this.value = value; | |
this.next = next; | |
} | |
} | |
class LinkedList { | |
constructor() { | |
this.head = null; |
class DynamicArray { | |
/** | |
* @constructor | |
* @param {number} capacity | |
*/ | |
constructor(capacity) { | |
this.data = new Array(capacity); | |
this.num_elements = 0; | |
} |