- Install WSL (https://linoxide.com/distros/how-install-ubuntu-windows-10/)
- Install Ubuntu ⤴
- Update software:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential
sudo apt install python
install python
Downloaded
- Captain America: The First Avenger (2011)
- Captain Marvel (2019)
- Iron Man (2008)
- Iron Man 2 (2010)
- The Incredible Hulk (2008)
- Thor (2011)
- The Avengers (2012)
- Thor: The Dark World (2013)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[profile] | |
layer_height = 0.15 | |
wall_thickness = 1.2 | |
retraction_enable = True | |
solid_layer_thickness = 1.2 | |
fill_density = 15 | |
print_speed = 50 | |
print_temperature = 200 | |
print_temperature2 = 0 | |
print_temperature3 = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// Choose either "stable" for receiving highly polished, | |
// or "canary" for less polished but more frequent updates | |
updateChannel: 'stable', |
- Install Docker-CE into your server as-per the official instructions here: https://docs.docker.com/install/linux/docker-ce/ubuntu/
- Optional: add your user account to the “docker”
- Optional: enable a TCP socket for dockerd:
# /etc/systemd/system/docker.service.d/override.conf
[Service]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Package raindrops provides all the tools for the raindrops exercism task. | |
package raindrops | |
import "strconv" | |
// Convert gets an integer number and returns the right string output as requested in the task. | |
func Convert(number int) string { | |
var raindrop string | |
if number%3 == 0 { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Package raindrops provides all the tools for the raindrops exercism task. | |
package raindrops | |
import ( | |
"strconv" | |
"strings" | |
) | |
// Contains check if string exists in slice | |
func Contains(text string, slice []string) bool { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DIR=/home/parse/big_lists2/ | |
i=1 | |
for fullfile in $DIR*.txt; do | |
filename=$(basename -- "$fullfile") | |
extension="${filename##*.}" | |
filename="${filename%.*}" | |
hash=$(md5sum "${fullfile}"|cut -d' ' -f1) | |
echo "Moving" $filename".txt to "$filename | |
echo "[$i] Making directory folder_$i" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Define imports. | |
from time import time, strftime | |
from datetime import datetime | |
from glob import iglob | |
from os import path, system | |
from sys import exc_info | |
from subprocess import Popen, PIPE | |
from curses import initscr, noecho, cbreak, echo, nocbreak, endwin | |
from psycopg2 import connect |