Ingredients
-
0.5L Extra Virgin Olive Oil, Spanish not Italian :-)
-
4 Big Potatoes (1kg aprox.)
-
1 big onion
-
6 large eggs
Ingredients
0.5L Extra Virgin Olive Oil, Spanish not Italian :-)
4 Big Potatoes (1kg aprox.)
1 big onion
6 large eggs
# theming | |
code --install-extension emmanuelbeziat.vscode-great-icons | |
code --install-extension github.github-vscode-theme | |
# terminal | |
code --install-extension formulahendry.terminal | |
code --install-extension msamueltscott.maximizeterminal | |
# general stuff | |
code --install-extension vscodevim.vim |
/** | |
* This is a generic event class. It simply allows subscription and invocation. | |
*/ | |
class Event<T> { | |
private val handlers = arrayListOf<(Event<T>.(T) -> Unit)>() | |
operator fun plusAssign(handler: Event<T>.(T) -> Unit) { handlers.add(handler) } | |
operator fun invoke(value: T) { for (handler in handlers) handler(value) } | |
} | |
/** |
# Dependencies: | |
# {:httpoison, "~> 1.5"}, | |
# {:floki, "~> 0.21.0"} | |
# {:benchee, "~> 1.0"} (Only for benchmarking – not in the script) | |
defmodule CrawlQueue do | |
use Agent | |
def start_link(urls) do |
#!/usr/bin/env python3 | |
from paramiko import SSHClient, RSAKey, AutoAddPolicy | |
import sys, argparse, time | |
def ssh_connect(host, user, key): | |
ssh = SSHClient() | |
ssh.load_system_host_keys() | |
ssh.set_missing_host_key_policy(AutoAddPolicy()) |
package com.manzanit0; | |
import java.io.*; | |
import java.net.ServerSocket; | |
public class EchoServer { | |
public static void main(String[] args) { | |
int portNumber = 4098; | |
try ( |
// Place your key bindings in this file to overwrite the defaults | |
[ | |
{ | |
"key": "cmd+t cmd+t", | |
"command": "workbench.action.tasks.runTask", | |
"args": "Run All Tests" | |
}, | |
{ | |
"key": "f5", | |
"command": "workbench.action.tasks.runTask", |
Taggin an image: docker tag image username/repository:tag
Publishing images in a remote repository: docker push username/repository:tag
Running an image in a remote repository: docker run -p 4000:80 username/repository:tag
I hereby claim:
To claim this, I am signing this object: