valet uninstall
composer global remove laravel/valet
sudo rm /usr/local/bin/valet
$ npm run build | |
> create-wasm-app@0.1.0 build | |
> webpack --config webpack.config.js | |
node:internal/crypto/hash:71 | |
this[kHandle] = new _Hash(algorithm, xofLen); | |
^ | |
Error: error:0308010C:digital envelope routines::unsupported |
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>PageBuilder</title> | |
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9, user-scalable=no"> | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/grapesjs@0.15.9/dist/css/grapes.min.css"> | |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.13.12/css/bootstrap-select.min.css" integrity="sha256-l3FykDBm9+58ZcJJtzcFvWjBZNJO40HmvebhpHXEhC0=" crossorigin="anonymous"> |
valet uninstall
composer global remove laravel/valet
sudo rm /usr/local/bin/valet
<?php | |
if (!function_exists('authorize')) { | |
/* @throws UnauthorizedUserException */ | |
function authorize($ability, $policy, $arguments = []): bool | |
{ | |
if ($policy::{$ability}(...$arguments)) { | |
return false; | |
} |
var plaintext = (window.prompt("plaintext:")); | |
var key = Number(window.prompt("key:")); | |
var result=""; | |
for(let p of plaintext) | |
{ | |
if ( p >= 'a' && p <= 'z') | |
{ |
// CHALLENGE 1 | |
function createFunction() { | |
return function outerFunction() | |
{ | |
console.log('hello'); | |
} | |
} | |
// /*** Uncomment these to check your work! ***/ | |
const function1 = createFunction(); |
fname = input("Enter file name: ") | |
try: | |
fh = open(fname) | |
lst = list() | |
for line in fh: | |
lst.append( line.split()) | |
newlist = sum(lst,[]) | |
newlist.sort() | |
print([newlist[i] for i in range(len(newlist)) if i == newlist.index(newlist[i])]) | |
except : |
#include<stdio.h> | |
#include<cs50.h> | |
#include<string.h> | |
#include<math.h> | |
void Count(string text); | |
void print(double index); | |
double Letter = 0.0; | |
double Sentence = 0.0; | |
double words =1.0; | |
int main(void) |
#include<stdio.h> | |
#include<cs50.h> | |
#include<math.h> | |
int main(void) | |
{ float dollars=0; | |
do | |
{ | |
dollars = get_float("Chang owned:"); | |
}while(dollars<0); |
fname = input("Enter file name: ") | |
fh = open(fname) | |
count = 0 | |
total = 0.0 | |
for line in fh: | |
if not line.startswith("X-DSPAM-Confidence:") : continue | |
count = count + 1 | |
line = line[20:] | |
line = float(line) | |
total = total+line |