Discover gists
View Final Score
def explanation_score(score) | |
if score <= 2 | |
"We have a bad and a good news. The bad news is that your website is not doing things properly in terms of marketing at all, you lack many improvements. The good news is that we can help you to fix that. It's actually that simple, just click the green button and you will find it out." | |
elsif score <= 4 | |
"Excellent! So you know something about web marketing after all, you are doing many stuff the right way, however you can do it better than that! Just give us the chance to lend you a hand and improve your score together. Click the green button to start enhancing your website." | |
else | |
"Your website is pretty good in terms of marketing, you have implemented most of the tools that bring visitors to your page. However, no one is perfect and we can always learn new things and get more visitors. Believe us, we are very good on what we do. Contact us and we will prove it to you!" | |
end | |
end |
View rename.php
<?php | |
$dir = 'images/'; | |
$files = scandir($dir); | |
foreach($files as $i => $name) { | |
if($i > 2){ | |
$filename = $name; | |
$newname = $i-2 . '_' . $filename; | |
if ($newname != $filename) { | |
rename($dir.$filename, $dir.$newname); |
View Potential Maintainers
Maintainers: | |
mausch: aws-workspaces |
View Changed Paths
x86_64-linux aws-workspaces |
View untrusted-lvl1-solution.js
/***************** | |
* cellBlockA.js * | |
***************** | |
* | |
* Good morning, Dr. Eval. | |
* | |
* It wasn't easy, but I've managed to get your computer down | |
* to you. This system might be unfamiliar, but the underlying | |
* code is still JavaScript. Just like we predicted. | |
* |
View crash.txt
---- Minecraft Crash Report ---- | |
// There are four lights! | |
Time: 24/02/21 00:11 | |
Description: Initializing game | |
java.lang.RuntimeException: Could not execute entrypoint stage 'client' due to errors, provided by 'imm_ptl_core'! | |
at Not Enough Crashes deobfuscated stack trace.(1.16.4+build.7) | |
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:53) | |
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke(EntrypointUtils.java:36) |
View PY0101EN-2-4-Sets.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View Lab5-Pt1.ino
//Global Variables | |
int buzz = 8; //declare numerical value of pin connected to piezo buzzer to be int variable | |
void setup() { | |
// put your setup code here, to run once: | |
Serial.begin(9600); //allows Arduino and computer to communicate | |
pinMode(OUTPUT, buzz); //assign pin 8 to be a digital output | |
} |
View fractals.html
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<style> | |
body { | |
margin: 0px; | |
padding: 0px; | |
} | |
</style> | |
</head> |
View Dockerfile
FROM php:8.0.2-fpm | |
MAINTAINER Ricardo Coelho <ricardo@nexy.com.br> | |
RUN apt-get update \ | |
&& apt-get install --no-install-recommends -y \ | |
git \ | |
sudo \ | |
libpq-dev \ | |
libicu-dev \ | |
libcurl4-openssl-dev \ |
NewerOlder