langs a-z

This commit is contained in:
Ingy döt Net 2013-04-10 22:43:41 -07:00
parent db842d013d
commit d066446780
11389 changed files with 98361 additions and 1020 deletions

View file

@ -0,0 +1,4 @@
/* NetRexx */
options replace format comments java crossref savelog symbols binary
say InetAddress.getLocalHost.getHostName

View file

@ -0,0 +1 @@
(! "hostname")

View file

@ -0,0 +1 @@
Unix.gethostname()

View file

@ -0,0 +1,9 @@
use Net;
bundle Default {
class Hello {
function : Main(args : String[]) ~ Nil {
TCPSocket->HostName()->PrintLine();
}
}
}

View file

@ -0,0 +1 @@
NSLog(@"%@", [[NSProcessInfo processInfo] hostName]);

View file

@ -0,0 +1 @@
2010-09-16 16:20:00.000 Playground[1319:a0f] sierra117.local // Hostname is sierra117.local.

View file

@ -0,0 +1 @@
uname().nodename

View file

@ -0,0 +1 @@
{System.showInfo {OS.getHostByName 'localhost'}.name}

View file

@ -0,0 +1,4 @@
SET serveroutput on
BEGIN
DBMS_OUTPUT.PUT_LINE(UTL_INADDR.GET_HOST_NAME);
END;

View file

@ -0,0 +1,8 @@
Program HostName;
uses
unix;
begin
writeln('The name of this computer is: ', GetHostName);
end.

View file

@ -0,0 +1 @@
my $host = qx[hostname];

View file

@ -0,0 +1,5 @@
import System;
int main(){
write(gethostname() + "\n");
}

View file

@ -0,0 +1 @@
lvars host = sys_host_name();

View file

@ -0,0 +1 @@
HOST NAME TO hostname$

View file

@ -0,0 +1 @@
HOST NAME ipAddress& TO hostname$

View file

@ -0,0 +1 @@
$Env:COMPUTERNAME

View file

@ -0,0 +1 @@
[Net.Dns]::GetHostName()

View file

@ -0,0 +1,2 @@
InitNetwork()
answer$=Hostname()

View file

@ -0,0 +1 @@
print system/network/host

View file

@ -0,0 +1,3 @@
print Platform$ ' OS where Run BASIC is being hosted
print UserInfo$ ' Information about the user's web browser
print UserAddress$ ' IP address of the user

View file

@ -0,0 +1,2 @@
output = host(4,"HOSTNAME")
end

View file

@ -0,0 +1,7 @@
$ include "seed7_05.s7i";
include "socket.s7i";
const proc: main is func
begin
writeln(getHostname);
end func;

View file

@ -0,0 +1 @@
Platform current nodeName

View file

@ -0,0 +1 @@
NetHostDB.getHostName ()

View file

@ -0,0 +1,2 @@
$$ MODE TUSCRIPT
host=HOST ()

View file

@ -0,0 +1,4 @@
2 import gethostname
1024 chars is-array foo
foo 1024 gethostname
foo type

View file

@ -0,0 +1 @@
hostname

View file

@ -0,0 +1 @@
uname -n

View file

@ -0,0 +1,3 @@
#import cli
hostname = ~&hmh+ (ask bash)/<>+ <'hostname'>!

View file

@ -0,0 +1,3 @@
#import flo
creative_accounting = (hostname== 'kremvax')?(sqrt,sqr)