Handy one-liners for sed
Mar. 23, 2001 - version 5.1 - compiled by Eric Pement pemente@northpark.edu
Latest version of this file is usually at:
-
This file is also available in Portuguese at:
#!/bin/bash | |
sudo apt install neofetch | |
sudo cp motd.sh /etc/profile.d/motd.sh | |
sudo chmod +x /etc/profile.d/motd.sh |
curl -L http://bit.ly/10hA8iC | bash |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
</head> | |
<body> | |
<script> | |
// Test if service workers are supported | |
if ('serviceWorker' in navigator) { |
import java.io.IOException; | |
import java.net.URLClassLoader; | |
import java.nio.file.Files; | |
import java.nio.file.Paths; | |
import java.nio.file.Path; | |
/** | |
* Example demonstrating a ClassLoader leak. | |
* | |
* <p>To see it in action, copy this file to a temp directory somewhere, |
-- Two dashes start a one-line comment. | |
--[[ | |
Adding two ['s and ]'s makes it a | |
multi-line comment. | |
--]] | |
---------------------------------------------------- | |
-- 1. Variables and flow control. | |
---------------------------------------------------- |
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
. ~/.bashrc | |
mkdir ~/local | |
mkdir ~/node-latest-install | |
cd ~/node-latest-install | |
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
./configure --prefix=~/local | |
make install # ok, fine, this step probably takes more than 30 seconds... | |
curl https://www.npmjs.org/install.sh | sh |
Mar. 23, 2001 - version 5.1 - compiled by Eric Pement pemente@northpark.edu
Latest version of this file is usually at:
This file is also available in Portuguese at: