setup-interfaces
rc-service networking restart
setup-apkrepos
apk update
apk upgrade
apk add build-base
my $url = URI->new("http://tc6.travian.fr/dorf1.php"); | |
my $info = POST $url, [ | |
'action' => 'dorf1.php', | |
'login' => 's1', | |
'name' => '[name]', | |
'password' => '[password]', | |
'login' => '', | |
'autologin' => 'ja', | |
]; | |
$browser->request($info)->as_string; |
require 'date' | |
def days_in_month(year, month) | |
Date.new(year, month, -1).day | |
end |
<form> | |
<select name="multiple_select[]" size="10" multiple> <!-- Note the brackets --> | |
</select> | |
</div> |
colour = "%06x" % (rand * 0xffffff) |
# (cf. https://www.ruby-forum.com/topic/140570#624505) | |
lazy = lambda { |h,k| h[k] = Hash.new(&lazy) } | |
my_hash = Hash.new(&lazy) |
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: nginx | |
# Required-Start: $local_fs $remote_fs $network $syslog $named | |
# Required-Stop: $local_fs $remote_fs $network $syslog $named | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: starts the nginx web server | |
# Description: starts nginx using start-stop-daemon |
#!/usr/bin/env python | |
"""Simple server using epoll.""" | |
from __future__ import print_function | |
from contextlib import contextmanager | |
import socket | |
import select | |
setup-interfaces
rc-service networking restart
setup-apkrepos
apk update
apk upgrade
apk add build-base
Equity: A stock or any other security representing an ownership interest.
Futures Contract: a type of derivative instrument, or financial contract, in which two parties agree to transact a set of financial instruments or physical commodities for future delivery at a particular price.
Fixed-income Security: An investment that provides a return in the form of fixed periodic payments and the eventual return of principal at maturity. Unlike a variable-income security, where payments change based on some underlying measure such as short-term interest rates, the payments of a fixed-income security are known in advance.
Security: a tradable financial asset. It is commonly used to mean any form of financial instrument, but the legal definition of a "security" varies by legal and regulatory jurisdiction.
Derivatives: A derivative is a security with a price that is dependent upon or derived from one or more underlying assets. The derivative itself is a contract between two or more part
Algebraic" refers to the property that an Algebraic Data Type is created by "algebraic" operations. The "algebra" here is "sums" and "products":