Note
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Test"
Jump to navigation
Jump to search
Line 34: | Line 34: | ||
<div>{{#ev:youtube|https://youtu.be/pZGKsdip4u0|autoresize}}</div> | <div>{{#ev:youtube|https://youtu.be/pZGKsdip4u0|autoresize}}</div> | ||
{{file|lang=python|desc=python test|body= | |||
def fib(n): | |||
a, b = 0, 1 | |||
while a < n: | |||
print(a, end=' ') | |||
a, b = b, a+b | |||
print() | |||
fib(1000) | |||
}} |
Revision as of 09:45, January 31, 2021
Test edit. Another test edit.
{{{title}}}
{{{body}}}
{{{title}}}
{{{body}}}
{{{title}}}
{{{body}}}
Grab me from DockerHub!
This stage3 can be deployed in Docker via
docker run funtoo/stage3-intel64-skylake
root ##g##drobbins@ryzen##!g## ~ $ ssh -i ~/Downloads/drobbins-funtoo-us-east-1.pem ec2-user@54.152.74.161 The authenticity of host '54.152.74.161 (54.152.74.161)' can't be established. ECDSA key fingerprint is SHA256:06VxabD5Gom5FRzpg7jZrBWro+TJkZBFa2+29WTSII4. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '54.152.74.161' (ECDSA) to the list of known hosts. // Welcome to Funtoo Linux for Amazon EC2! This image has been optimized // for the best possible performance by taking advantage of all CPU // instruction sets offered by Amazon Web Services. >>> Release: Funtoo Linux 1.2-release-ec2 >>> Version: 17-Nov-2018 >>> Subarch: intel64-haswell >>> Created by: Daniel Robbins <drobbins@funtoo.org> >>> Open Source Community: Funtoo Linux (https://www.funtoo.org) >>> Commercial Support: BreezyOps (https://breezyops.com) >>> Bug reports: https://bugs.funtoo.org >>> Support email: support@funtoo.org NOTE: This message can be removed by deleting /etc/motd. root ##g##ec2-user@ip-172-31-22-215##!g## ~ $ sudo su root ##r##ip-172-31-22-215##!r## /home/ec2-user # ego sync
(python source code) - python test
def fib(n):
a, b = 0, 1
while a < n:
print(a, end=' ')
a, b = b, a+b
print()
fib(1000)