PCAP-FILTER
Section: Environments, Tables, and Troff Macros (7)
Updated: 3 August 2015
Index
Return to Main Contents
NAME
pcap-filter - packet filter syntax
DESCRIPTION
pcap_compile()
is used to compile a string into a filter program.
The resulting filter program can then be applied to
some stream of packets to determine which packets will be supplied to
pcap_loop(),
pcap_dispatch(),
pcap_next(),
or
pcap_next_ex().
The filter expression consists of one or more
primitives.
Primitives usually consist of an
id
(name or number) preceded by one or more qualifiers.
There are three
different kinds of qualifier:
- type
-
type
qualifiers say what kind of thing the id name or number refers to.
Possible types are
host,
net ,
port
and
portrange.
E.g., `host foo', `net 128.3', `port 20', `portrange 6000-6008'.
If there is no type
qualifier,
host
is assumed.
- dir
-
dir
qualifiers specify a particular transfer direction to and/or from
id.
Possible directions are
src,
dst,
src or dst,
src and dst,
ra,
ta,
addr1,
addr2,
addr3,
and
addr4.
E.g., `src foo', `dst net 128.3', `src or dst port ftp-data'.
If
there is no dir qualifier,
src or dst
is assumed.
The
ra,
ta,
addr1,
addr2,
addr3,
and
addr4
qualifiers are only valid for IEEE 802.11 Wireless LAN link layers.
For some link layers, such as SLIP and the ``cooked'' Linux capture mode
used for the ``any'' device and for some other device types, the
inbound
and
outbound
qualifiers can be used to specify a desired direction.
- proto
-
proto
qualifiers restrict the match to a particular protocol.
Possible
protos are:
ether,
fddi,
tr,
wlan,
ip,
ip6,
arp,
rarp,
decnet,
tcp
and
udp.
E.g., `ether src foo', `arp net 128.3', `tcp port 21', `udp portrange
7000-7009', `wlan addr2 0:2:3:4:5:6'.
If there is
no proto qualifier, all protocols consistent with the type are
assumed.
E.g., `src foo' means `(ip or arp or rarp) src foo'
(except the latter is not legal syntax), `net bar' means `(ip or
arp or rarp) net bar' and `port 53' means `(tcp or udp) port 53'.
[`fddi' is actually an alias for `ether'; the parser treats them
identically as meaning ``the data link level used on the specified
network interface.'' FDDI headers contain Ethernet-like source
and destination addresses, and often contain Ethernet-like packet
types, so you can filter on these FDDI fields just as with the
analogous Ethernet fields.
FDDI headers also contain other fields,
but you cannot name them explicitly in a filter expression.
Similarly, `tr' and `wlan' are aliases for `ether'; the previous
paragraph's statements about FDDI headers also apply to Token Ring
and 802.11 wireless LAN headers. For 802.11 headers, the destination
address is the DA field and the source address is the SA field; the
BSSID, RA, and TA fields aren't tested.]
In addition to the above, there are some special `primitive' keywords
that don't follow the pattern:
gateway,
broadcast,
less,
greater
and arithmetic expressions.
All of these are described below.
More complex filter expressions are built up by using the words
and,
or
and
not
to combine primitives.
E.g., `host foo and not port ftp and not port ftp-data'.
To save typing, identical qualifier lists can be omitted.
E.g.,
`tcp dst port ftp or ftp-data or domain' is exactly the same as
`tcp dst port ftp or tcp dst port ftp-data or tcp dst port domain'.
Allowable primitives are:
- dst host host
-
True if the IPv4/v6 destination field of the packet is host,
which may be either an address or a name.
- src host host
-
True if the IPv4/v6 source field of the packet is host.
- host host
-
True if either the IPv4/v6 source or destination of the packet is host.
-
Any of the above host expressions can be prepended with the keywords,
ip, arp, rarp, or ip6 as in:
ip host host
which is equivalent to:
ether proto \ip and host host
If host is a name with multiple IP addresses, each address will
be checked for a match.
- ether dst ehost
-
True if the Ethernet destination address is ehost.
Ehost
may be either a name from /etc/ethers or a numerical MAC address of the
form "xx:xx:xx:xx:xx:xx", "xx.xx.xx.xx.xx.xx", "xx-xx-xx-xx-xx-xx",
"xxxx.xxxx.xxxx", "xxxxxxxxxxxx", or various mixes of ':', '.', and '-',
where each "x" is a hex digit (0-9, a-f, or A-F).
- ether src ehost
-
True if the Ethernet source address is ehost.
- ether host ehost
-
True if either the Ethernet source or destination address is ehost.
- gateway host
-
True if the packet used host as a gateway.
I.e., the Ethernet
source or destination address was host but neither the IP source
nor the IP destination was host.
Host must be a name and
must be found both by the machine's host-name-to-IP-address resolution
mechanisms (host name file, DNS, NIS, etc.) and by the machine's
host-name-to-Ethernet-address resolution mechanism (/etc/ethers, etc.).
(An equivalent expression is
ether host ehost and not host host
which can be used with either names or numbers for host / ehost.)
This syntax does not work in IPv6-enabled configuration at this moment.
- dst net net
-
True if the IPv4/v6 destination address of the packet has a network
number of net.
Net may be either a name from the networks database
(/etc/networks, etc.) or a network number.
An IPv4 network number can be written as a dotted quad (e.g., <IP_ADDRESS>),
dotted triple (e.g., 192.168.1), dotted pair (e.g, 172.16), or single
number (e.g., 10); the netmask is <IP_ADDRESS> for a dotted quad
(which means that it's really a host match), <IP_ADDRESS> for a dotted
triple, <IP_ADDRESS> for a dotted pair, or <IP_ADDRESS> for a single number.
An IPv6 network number must be written out fully; the netmask is
ff:ff:ff:ff:ff:ff:ff:ff, so IPv6 "network" matches are really always
host matches, and a network match requires a netmask length.
- src net net
-
True if the IPv4/v6 source address of the packet has a network
number of net.
- net net
-
True if either the IPv4/v6 source or destination address of the packet has a network
number of net.
- net net mask netmask
-
True if the IPv4 address matches net with the specific netmask.
May be qualified with src or dst.
Note that this syntax is not valid for IPv6 net.
- net net/len
-
True if the IPv4/v6 address matches net with a netmask len
bits wide.
May be qualified with src or dst.
- dst port port
-
True if the packet is ip/tcp, ip/udp, ip6/tcp or ip6/udp and has a
destination port value of port.
The port can be a number or a name used in /etc/services (see
tcp(4P)
and
udp(4P)).
If a name is used, both the port
number and protocol are checked.
If a number or ambiguous name is used,
only the port number is checked (e.g., dst port 513 will print both
tcp/login traffic and udp/who traffic, and port domain will print
both tcp/domain and udp/domain traffic).
- src port port
-
True if the packet has a source port value of port.
- port port
-
True if either the source or destination port of the packet is port.
- dst portrange port1-port2
-
True if the packet is ip/tcp, ip/udp, ip6/tcp or ip6/udp and has a
destination port value between port1 and port2.
port1
and
port2
are interpreted in the same fashion as the
port
parameter for
port.
- src portrange port1-port2
-
True if the packet has a source port value between port1 and
port2.
- portrange port1-port2
-
True if either the source or destination port of the packet is between
port1 and port2.
-
Any of the above port or port range expressions can be prepended with
the keywords, tcp or udp, as in:
tcp src port port
which matches only tcp packets whose source port is port.
- less length
-
True if the packet has a length less than or equal to length.
This is equivalent to:
len <= length.
- greater length
-
True if the packet has a length greater than or equal to length.
This is equivalent to:
len >= length.
- ip proto protocol
-
True if the packet is an IPv4 packet (see
ip(4P))
of protocol type protocol.
Protocol can be a number or one of the names
icmp, icmp6, igmp, igrp, pim, ah,
esp, vrrp, udp, or tcp.
Note that the identifiers tcp, udp, and icmp are also
keywords and must be escaped via backslash (\).
Note that this primitive does not chase the protocol header chain.
- ip6 proto protocol
-
True if the packet is an IPv6 packet of protocol type protocol.
Note that this primitive does not chase the protocol header chain.
- proto protocol
-
True if the packet is an IPv4 or IPv6 packet of protocol type
protocol. Note that this primitive does not chase the protocol
header chain.
- tcp, udp, icmp
-
Abbreviations for:
proto p
where p is one of the above protocols.
- ip6 protochain protocol
-
True if the packet is IPv6 packet,
and contains protocol header with type protocol
in its protocol header chain.
For example,
ip6 protochain 6
matches any IPv6 packet with TCP protocol header in the protocol header chain.
The packet may contain, for example,
authentication header, routing header, or hop-by-hop option header,
between IPv6 header and TCP header.
The BPF code emitted by this primitive is complex and
cannot be optimized by the BPF optimizer code, and is not supported by
filter engines in the kernel, so this can be somewhat slow, and may
cause more packets to be dropped.
- ip protochain protocol
-
Equivalent to ip6 protochain protocol, but this is for IPv4.
- protochain protocol
-
True if the packet is an IPv4 or IPv6 packet of protocol type
protocol. Note that this primitive chases the protocol
header chain.
- ether broadcast
-
True if the packet is an Ethernet broadcast packet.
The ether
keyword is optional.
- ip broadcast
-
True if the packet is an IPv4 broadcast packet.
It checks for both the all-zeroes and all-ones broadcast conventions,
and looks up the subnet mask on the interface on which the capture is
being done.
-
If the subnet mask of the interface on which the capture is being done
is not available, either because the interface on which capture is being
done has no netmask or because the capture is being done on the Linux
"any" interface, which can capture on more than one interface, this
check will not work correctly.
- ether multicast
-
True if the packet is an Ethernet multicast packet.
The ether
keyword is optional.
This is shorthand for `ether[0] & 1 != 0'.
- ip multicast
-
True if the packet is an IPv4 multicast packet.
- ip6 multicast
-
True if the packet is an IPv6 multicast packet.
- ether proto protocol
-
True if the packet is of ether type protocol.
Protocol can be a number or one of the names
ip, ip6, arp, rarp, atalk, aarp,
decnet, sca, lat, mopdl, moprc,
iso, stp, ipx, or netbeui.
Note these identifiers are also keywords
and must be escaped via backslash (\).
-
[In the case of FDDI (e.g., `fddi proto arp'), Token Ring
(e.g., `tr proto arp'), and IEEE 802.11 wireless LANS (e.g.,
`wlan proto arp'), for most of those protocols, the
protocol identification comes from the 802.2 Logical Link Control (LLC)
header, which is usually layered on top of the FDDI, Token Ring, or
802.11 header.
-
When filtering for most protocol identifiers on FDDI, Token Ring, or
802.11, the filter checks only the protocol ID field of an LLC header
in so-called SNAP format with an Organizational Unit Identifier (OUI) of
0x000000, for encapsulated Ethernet; it doesn't check whether the packet
is in SNAP format with an OUI of 0x000000.
The exceptions are:
-
- iso
-
the filter checks the DSAP (Destination Service Access Point) and
SSAP (Source Service Access Point) fields of the LLC header;
- stp and netbeui
-
the filter checks the DSAP of the LLC header;
- atalk
-
the filter checks for a SNAP-format packet with an OUI of 0x080007
and the AppleTalk etype.
-
In the case of Ethernet, the filter checks the Ethernet type field
for most of those protocols. The exceptions are:
-
- iso, stp, and netbeui
-
the filter checks for an 802.3 frame and then checks the LLC header as
it does for FDDI, Token Ring, and 802.11;
- atalk
-
the filter checks both for the AppleTalk etype in an Ethernet frame and
for a SNAP-format packet as it does for FDDI, Token Ring, and 802.11;
- aarp
-
the filter checks for the AppleTalk ARP etype in either an Ethernet
frame or an 802.2 SNAP frame with an OUI of 0x000000;
- ipx
-
the filter checks for the IPX etype in an Ethernet frame, the IPX
DSAP in the LLC header, the 802.3-with-no-LLC-header encapsulation of
IPX, and the IPX etype in a SNAP frame.
- ip, ip6, arp, rarp, atalk, aarp, decnet, iso, stp, ipx, netbeui
-
Abbreviations for:
ether proto p
where p is one of the above protocols.
- lat, moprc, mopdl
-
Abbreviations for:
ether proto p
where p is one of the above protocols.
Note that not all applications using
pcap(3PCAP)
currently know how to parse these protocols.
- decnet src host
-
True if the DECNET source address is
host,
which may be an address of the form ``10.123'', or a DECNET host
name.
[DECNET host name support is only available on ULTRIX systems
that are configured to run DECNET.]
- decnet dst host
-
True if the DECNET destination address is
host.
- decnet host host
-
True if either the DECNET source or destination address is
host.
- llc
-
True if the packet has an 802.2 LLC header. This includes:
-
Ethernet packets with a length field rather than a type field that
aren't raw NetWare-over-802.3 packets;
-
IEEE 802.11 data packets;
-
Token Ring packets (no check is done for LLC frames);
-
FDDI packets (no check is done for LLC frames);
-
LLC-encapsulated ATM packets, for SunATM on Solaris.
-
- llc Fitype
-
True if the packet has an 802.2 LLC header and has the specified
type.
type
can be one of:
-
- i
-
Information (I) PDUs
- s
-
Supervisory (S) PDUs
- u
-
Unnumbered (U) PDUs
- rr
-
Receiver Ready (RR) S PDUs
- rnr
-
Receiver Not Ready (RNR) S PDUs
- rej
-
Reject (REJ) S PDUs
- ui
-
Unnumbered Information (UI) U PDUs
- ua
-
Unnumbered Acknowledgment (UA) U PDUs
- disc
-
Disconnect (DISC) U PDUs
- sabme
-
Set Asynchronous Balanced Mode Extended (SABME) U PDUs
- test
-
Test (TEST) U PDUs
- xid
-
Exchange Identification (XID) U PDUs
- frmr
-
Frame Reject (FRMR) U PDUs
- ifname interface
-
True if the packet was logged as coming from the specified interface (applies
only to packets logged by OpenBSD's or FreeBSD's
pf(4)).
- on interface
-
Synonymous with the
ifname
modifier.
- rnr num
-
True if the packet was logged as matching the specified PF rule number
(applies only to packets logged by OpenBSD's or FreeBSD's
pf(4)).
- rulenum num
-
Synonymous with the
rnr
modifier.
- reason code
-
True if the packet was logged with the specified PF reason code. The known
codes are:
match,
bad-offset,
fragment,
short,
normalize,
and
memory
(applies only to packets logged by OpenBSD's or FreeBSD's
pf(4)).
- rset name
-
True if the packet was logged as matching the specified PF ruleset
name of an anchored ruleset (applies only to packets logged by OpenBSD's
or FreeBSD's
pf(4)).
- ruleset name
-
Synonymous with the
rset
modifier.
- srnr num
-
True if the packet was logged as matching the specified PF rule number
of an anchored ruleset (applies only to packets logged by OpenBSD's or
FreeBSD's
pf(4)).
- subrulenum num
-
Synonymous with the
srnr
modifier.
- action act
-
True if PF took the specified action when the packet was logged. Known actions
are:
pass
and
block
and, with later versions of
pf(4)),
nat,
rdr,
binat
and
scrub
(applies only to packets logged by OpenBSD's or FreeBSD's
pf(4)).
- wlan ra ehost
-
True if the IEEE 802.11 RA is
ehost.
The RA field is used in all frames except for management frames.
- wlan ta ehost
-
True if the IEEE 802.11 TA is
ehost.
The TA field is used in all frames except for management frames and
CTS (Clear To Send) and ACK (Acknowledgment) control frames.
- wlan addr1 ehost
-
True if the first IEEE 802.11 address is
ehost.
- wlan addr2 ehost
-
True if the second IEEE 802.11 address, if present, is
ehost.
The second address field is used in all frames except for CTS (Clear To
Send) and ACK (Acknowledgment) control frames.
- wlan addr3 ehost
-
True if the third IEEE 802.11 address, if present, is
ehost.
The third address field is used in management and data frames, but not
in control frames.
- wlan addr4 ehost
-
True if the fourth IEEE 802.11 address, if present, is
ehost.
The fourth address field is only used for
WDS (Wireless Distribution System) frames.
- type wlan_type
-
True if the IEEE 802.11 frame type matches the specified wlan_type.
Valid wlan_types are:
mgt,
ctl
and data.
- type wlan_type subtype wlan_subtype
-
True if the IEEE 802.11 frame type matches the specified wlan_type
and frame subtype matches the specified wlan_subtype.
-
If the specified wlan_type is mgt,
then valid wlan_subtypes are:
assoc-req,
assoc-resp,
reassoc-req,
reassoc-resp,
probe-req,
probe-resp,
beacon,
atim,
disassoc,
auth and
deauth.
-
If the specified wlan_type is ctl,
then valid wlan_subtypes are:
ps-poll,
rts,
cts,
ack,
cf-end and
cf-end-ack.
-
If the specified wlan_type is data,
then valid wlan_subtypes are:
data,
data-cf-ack,
data-cf-poll,
data-cf-ack-poll,
null,
cf-ack,
cf-poll,
cf-ack-poll,
qos-data,
qos-data-cf-ack,
qos-data-cf-poll,
qos-data-cf-ack-poll,
qos,
qos-cf-poll and
qos-cf-ack-poll.
- subtype wlan_subtype
-
True if the IEEE 802.11 frame subtype matches the specified wlan_subtype
and frame has the type to which the specified wlan_subtype belongs.
- dir dir
-
True if the IEEE 802.11 frame direction matches the specified
dir.
Valid directions are:
nods,
tods,
fromds,
dstods,
or a numeric value.
- vlan [vlan_id]
-
True if the packet is an IEEE 802.1Q VLAN packet.
If [vlan_id] is specified, only true if the packet has the specified
vlan_id.
Note that the first vlan keyword encountered in expression
changes the decoding offsets for the remainder of expression on
the assumption that the packet is a VLAN packet. The vlan
[vlan_id] expression may be used more than once, to filter on VLAN
hierarchies. Each use of that expression increments the filter offsets
by 4.
-
For example:
vlan 100 && vlan 200
filters on VLAN 200 encapsulated within VLAN 100, and
vlan && vlan 300 && ip
filters IPv4 protocols encapsulated in VLAN 300 encapsulated within any
higher order VLAN.
- mpls [label_num]
-
True if the packet is an MPLS packet.
If [label_num] is specified, only true is the packet has the specified
label_num.
Note that the first mpls keyword encountered in expression
changes the decoding offsets for the remainder of expression on
the assumption that the packet is a MPLS-encapsulated IP packet. The
mpls [label_num] expression may be used more than once, to
filter on MPLS hierarchies. Each use of that expression increments the
filter offsets by 4.
-
For example:
mpls 100000 && mpls 1024
filters packets with an outer label of 100000 and an inner label of
1024, and
mpls && mpls 1024 && host <IP_ADDRESS>
filters packets to or from <IP_ADDRESS> with an inner label of 1024 and
any outer label.
- pppoed
-
True if the packet is a PPP-over-Ethernet Discovery packet (Ethernet
type 0x8863).
- pppoes [session_id]
-
True if the packet is a PPP-over-Ethernet Session packet (Ethernet
type 0x8864).
If [session_id] is specified, only true if the packet has the specified
session_id.
Note that the first pppoes keyword encountered in expression
changes the decoding offsets for the remainder of expression on
the assumption that the packet is a PPPoE session packet.
-
For example:
pppoes 0x27 && ip
filters IPv4 protocols encapsulated in PPPoE session id 0x27.
- geneve [vni]
-
True if the packet is a Geneve packet (UDP port 6081). If [vni]
is specified, only true if the packet has the specified vni.
Note that when the geneve keyword is encountered in
expression, it changes the decoding offsets for the remainder of
expression on the assumption that the packet is a Geneve packet.
-
For example:
geneve 0xb && ip
filters IPv4 protocols encapsulated in Geneve with VNI 0xb. This will
match both IP directly encapsulated in Geneve as well as IP contained
inside an Ethernet frame.
- iso proto protocol
-
True if the packet is an OSI packet of protocol type protocol.
Protocol can be a number or one of the names
clnp, esis, or isis.
- clnp, esis, isis
-
Abbreviations for:
iso proto p
where p is one of the above protocols.
- l1, l2, iih, lsp, snp, csnp, psnp
-
Abbreviations for IS-IS PDU types.
- vpi n
-
True if the packet is an ATM packet, for SunATM on Solaris, with a
virtual path identifier of
n.
- vci n
-
True if the packet is an ATM packet, for SunATM on Solaris, with a
virtual channel identifier of
n.
- lane
-
True if the packet is an ATM packet, for SunATM on Solaris, and is
an ATM LANE packet.
Note that the first lane keyword encountered in expression
changes the tests done in the remainder of expression
on the assumption that the packet is either a LANE emulated Ethernet
packet or a LANE LE Control packet. If lane isn't specified, the
tests are done under the assumption that the packet is an
LLC-encapsulated packet.
- oamf4s
-
True if the packet is an ATM packet, for SunATM on Solaris, and is
a segment OAM F4 flow cell (VPI=0 & VCI=3).
- oamf4e
-
True if the packet is an ATM packet, for SunATM on Solaris, and is
an end-to-end OAM F4 flow cell (VPI=0 & VCI=4).
- oamf4
-
True if the packet is an ATM packet, for SunATM on Solaris, and is
a segment or end-to-end OAM F4 flow cell (VPI=0 & (VCI=3 | VCI=4)).
- oam
-
True if the packet is an ATM packet, for SunATM on Solaris, and is
a segment or end-to-end OAM F4 flow cell (VPI=0 & (VCI=3 | VCI=4)).
- metac
-
True if the packet is an ATM packet, for SunATM on Solaris, and is
on a meta signaling circuit (VPI=0 & VCI=1).
- bcc
-
True if the packet is an ATM packet, for SunATM on Solaris, and is
on a broadcast signaling circuit (VPI=0 & VCI=2).
- sc
-
True if the packet is an ATM packet, for SunATM on Solaris, and is
on a signaling circuit (VPI=0 & VCI=5).
- ilmic
-
True if the packet is an ATM packet, for SunATM on Solaris, and is
on an ILMI circuit (VPI=0 & VCI=16).
- connectmsg
-
True if the packet is an ATM packet, for SunATM on Solaris, and is
on a signaling circuit and is a Q.2931 Setup, Call Proceeding, Connect,
Connect Ack, Release, or Release Done message.
- metaconnect
-
True if the packet is an ATM packet, for SunATM on Solaris, and is
on a meta signaling circuit and is a Q.2931 Setup, Call Proceeding, Connect,
Release, or Release Done message.
- expr relop expr
-
True if the relation holds, where relop is one of >, <, >=, <=, =,
!=, and expr is an arithmetic expression composed of integer
constants (expressed in standard C syntax), the normal binary operators
[+, -, *, /, %, &, |, ^, <<, >>], a length operator, and special packet data
accessors. Note that all comparisons are unsigned, so that, for example,
0x80000000 and 0xffffffff are > 0.
-
The % and ^ operators are currently only supported for filtering in the
kernel on Linux with 3.7 and later kernels; on all other systems, if
those operators are used, filtering will be done in user mode, which
will increase the overhead of capturing packets and may cause more
packets to be dropped.
-
To access data inside the packet, use the following syntax:
proto [ expr : size ]
Proto is one of ether, fddi, tr, wlan, ppp, slip, link,
ip, arp, rarp, tcp, udp, icmp, ip6 or radio, and
indicates the protocol layer for the index operation.
(ether, fddi, wlan, tr, ppp, slip and link all refer to the
link layer. radio refers to the "radio header" added to some
802.11 captures.)
Note that tcp, udp and other upper-layer protocol types only
apply to IPv4, not IPv6 (this will be fixed in the future).
The byte offset, relative to the indicated protocol layer, is
given by expr.
Size is optional and indicates the number of bytes in the
field of interest; it can be either one, two, or four, and defaults to one.
The length operator, indicated by the keyword len, gives the
length of the packet.
For example, `ether[0] & 1 != 0' catches all multicast traffic.
The expression `ip[0] & 0xf != 5'
catches all IPv4 packets with options.
The expression
`ip[6:2] & 0x1fff = 0'
catches only unfragmented IPv4 datagrams and frag zero of fragmented
IPv4 datagrams.
This check is implicitly applied to the tcp and udp
index operations.
For instance, tcp[0] always means the first
byte of the TCP header, and never means the first byte of an
intervening fragment.
Some offsets and field values may be expressed as names rather than
as numeric values.
The following protocol header field offsets are
available: icmptype (ICMP type field), icmp6type (ICMP v6 type field)
icmpcode (ICMP code field), icmp6code (ICMP v6 code field), and
tcpflags (TCP flags field).
The following ICMP type field values are available: icmp-echoreply,
icmp-unreach, icmp-sourcequench, icmp-redirect,
icmp-echo, icmp-routeradvert, icmp-routersolicit,
icmp-timxceed, icmp-paramprob, icmp-tstamp,
icmp-tstampreply, icmp-ireq, icmp-ireqreply,
icmp-maskreq, icmp-maskreply.
The following ICMPv6 type fields are available: icmp6-echo,
icmp6-echoreply, icmp6-multicastlistenerquery,
icmp6-multicastlistenerreportv1, icmp6-multicastlistenerdone,
icmp6-routersolicit, icmp6-routeradvert,
icmp6-neighborsolicit, icmp6-neighboradvert, icmp6-redirect,
icmp6-routerrenum, icmp6-nodeinformationquery,
icmp6-nodeinformationresponse, icmp6-ineighbordiscoverysolicit,
icmp6-ineighbordiscoveryadvert, icmp6-multicastlistenerreportv2,
icmp6-homeagentdiscoveryrequest, icmp6-homeagentdiscoveryreply,
icmp6-mobileprefixsolicit, icmp6-mobileprefixadvert,
icmp6-certpathsolicit, icmp6-certpathadvert,
icmp6-multicastrouteradvert, icmp6-multicastroutersolicit,
icmp6-multicastrouterterm.
The following TCP flags field values are available: tcp-fin,
tcp-syn, tcp-rst, tcp-push,
tcp-ack, tcp-urg, tcp-ece,
tcp-cwr.
Primitives may be combined using:
-
A parenthesized group of primitives and operators.
-
Negation (`!' or `not').
-
Concatenation (`&&' or `and').
-
Alternation (`||' or `or').
Negation has highest precedence.
Alternation and concatenation have equal precedence and associate
left to right.
Note that explicit and tokens, not juxtaposition,
are now required for concatenation.
If an identifier is given without a keyword, the most recent keyword
is assumed.
For example,
not host vs and ace
is short for
not host vs and host ace
which should not be confused with
not ( host vs or ace )
EXAMPLES
To select all packets arriving at or departing from sundown:
-
host sundown
To select traffic between helios and either hot or ace:
-
host helios and \( hot or ace \)
To select all IP packets between ace and any host except helios:
-
ip host ace and not helios
To select all traffic between local hosts and hosts at Berkeley:
-
net ucb-ether
To select all ftp traffic through internet gateway snup:
-
gateway snup and (port ftp or ftp-data)
To select traffic neither sourced from nor destined for local hosts
(if you gateway to one other net, this stuff should never make it
onto your local net).
-
ip and not net localnet
To select the start and end packets (the SYN and FIN packets) of each
TCP conversation that involves a non-local host.
-
tcp[tcpflags] & (tcp-syn|tcp-fin) != 0 and not src and dst net localnet
To select all IPv4 HTTP packets to and from port 80, i.e. print only
packets that contain data, not, for example, SYN and FIN packets and
ACK-only packets. (IPv6 is left as an exercise for the reader.)
-
tcp port 80 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)
To select IP packets longer than 576 bytes sent through gateway snup:
-
gateway snup and ip[2:2] > 576
To select IP broadcast or multicast packets that were
not
sent via Ethernet broadcast or multicast:
-
ether[0] & 1 = 0 and ip[16] >= 224
To select all ICMP packets that are not echo requests/replies (i.e., not
ping packets):
-
icmp[icmptype] != icmp-echo and icmp[icmptype] != icmp-echoreply
SEE ALSO
pcap(3PCAP)
BUGS
To report a security issue please send an e-mail to<EMAIL_ADDRESS>To report bugs and other problems, contribute patches, request a
feature, provide generic feedback etc please see the file
CONTRIBUTING
in the libpcap source tree root.
Filter expressions on fields other than those in Token Ring headers will
not correctly handle source-routed Token Ring packets.
Filter expressions on fields other than those in 802.11 headers will not
correctly handle 802.11 data packets with both To DS and From DS set.
ip6 proto
should chase header chain, but at this moment it does not.
ip6 protochain
is supplied for this behavior.
Arithmetic expression against transport layer headers, like tcp[0],
does not work against IPv6 packets.
It only looks at IPv4 packets.
Index
- NAME
-
- DESCRIPTION
-
- EXAMPLES
-
- SEE ALSO
-
- BUGS
-
This document was created by
man2html,
using the manual pages.
Time: 22:33:27 GMT, November 05, 2017


I am a student in mathematics and computer science in university of Dschang Cameroon.
I like coding and make research in science domain. Like open source initiative and contribute to open source projects.
I like working, honesty, perseverance, sports, risk, games, movies, kids, girls, ...
Think that is more important to estimate someone than to love him
.
One of my favorite citation by Gandhi is:
Be the change you want to see in the world.
My passion is to use science and technology based solutions, to help solve real world challenges.
General knowledge in:
Languages:
Library and Frameworks:
Tools & expertise:
Below you'll find some of my recent work.
Use the Space key to navigate through all slides.
The important is not who you are but what you do.


General
Problem:
__NAME__
Executed:
__EXECUTED__
Version:
__VERSION__
Time[lhs]:
__LHS_TIME__
Time[cnv]:
__CNV_TIME__
Time[sol]:
__SOL_TIME__
Time[all]:
__ALL_TIME__


Before Change
tau_mul_up = 1.6511111
tau_min = 1e-6
tau_mul_down = 0.1
if point_type == "matrix":
raise NotImplementedError(
"The Frechet mean with adaptive gradient descent is only"
" implemented for lists of vectors, and not matrices.")
n_points = 1
if gs.ndim(points) == 2:
n_points = gs.shape(points)[0]
if n_points == 1:
return points
if weights is None:
weights = gs.ones((n_points,))
//weights = gs.array(weights)
//weights = gs.to_ndarray(weights, to_ndim=2, axis=1)
sum_weights = gs.sum(weights)
if init_point is None:
current_mean = points[0]
else:
current_mean = init_point
tau = 1.0
iteration = 0
logs = metric.log(point=points, base_point=current_mean)
current_tangent_mean = gs.einsum("...,...j->j", weights, logs)
current_tangent_mean /= sum_weights
sq_norm_current_tangent_mean = metric.squared_norm(
current_tangent_mean, base_point=current_mean)
while (sq_norm_current_tangent_mean > epsilon ** 2
and iteration < max_iter):
iteration = iteration + 1
shooting_vector = gs.to_ndarray(
tau * current_tangent_mean,
to_ndim=2)
next_mean = metric.exp(
tangent_vec=shooting_vector,
base_point=current_mean)
logs = metric.log(point=points, base_point=next_mean)
After Change
current_mean: array-like, shape=[n_samples, dim]
Weighted Frechet mean of the points.
if point_type == "matrix":
raise NotImplementedError(
"The Frechet mean with adaptive gradient descent is only"
" implemented for lists of vectors, and not matrices.")
tau_max = 1e6
tau_mul_up = 1.6511111
tau_min = 1e-6
tau_mul_down = 0.1
n_points = geomstats.vectorization.get_n_points(
points, point_type)
points = gs.to_ndarray(points, to_ndim=2)
if n_points == 1:
return points[0]
if weights is None:
weights = gs.ones((n_points,))
//weights = gs.array(weights)
//weights = gs.to_ndarray(weights, to_ndim=2, axis=1)
sum_weights = gs.sum(weights)
current_mean = points[0] if init_point is None else init_point
tau = 1.0
iteration = 0
logs = metric.log(point=points, base_point=current_mean)
current_tangent_mean = gs.einsum("...,...j->j", weights, logs)
current_tangent_mean /= sum_weights
sq_norm_current_tangent_mean = metric.squared_norm(
current_tangent_mean, base_point=current_mean)
print("init")
print(current_tangent_mean.shape)
while (sq_norm_current_tangent_mean > epsilon ** 2
and iteration < max_iter):
iteration += 1
shooting_vector = tau * current_tangent_mean
next_mean = metric.exp(
tangent_vec=shooting_vector, base_point=current_mean)
logs = metric.log(point=points, base_point=next_mean)
next_tangent_mean = gs.einsum("...,...j->j", weights, logs)
next_tangent_mean /= sum_weights
sq_norm_next_tangent_mean = metric.squared_norm(
next_tangent_mean, base_point=next_mean)
if sq_norm_next_tangent_mean < sq_norm_current_tangent_mean:
current_mean = next_mean
current_tangent_mean = next_tangent_mean
sq_norm_current_tangent_mean = sq_norm_next_tangent_mean
tau = min(tau_max, tau_mul_up * tau)
else:
tau = max(tau_min, tau_mul_down * tau)
print(current_tangent_mean.shape)
if iteration == max_iter:
logging.warning(
"Maximum number of iterations {} reached. "


| 031:009 Khan | : |
To abide therein. It is a Promise of Allah in truth. And He is the All-Mighty, the All-Wise. |
| 031:009 Maulana | : |
To abide therein. A promise of Allah in truth! And He is the Mighty, the Wise. |
| 031:009 Pickthal | : |
Wherein they will abide. It is a promise of Allah in truth. He is the Mighty, the Wise. |
| 031:009 Rashad | : |
Eternally they abide therein. This is the truthful promise of GOD. He is the Almighty, Most Wise. |
| 031:009 Sarwar | : |
wherein they will live forever. It is the true promise of God. He is Majestic and All-wise. |
| 031:009 Shakir | : |
Abiding in them; the promise of Allah; (a) true (promise), and He is the Mighty, the Wise. |
| 031:009 Sherali | : |
Wherein they will abide. ALLAH has made a true promise; and HE is the Mighty, the Wise. |
| 031:009 Yusufali | : |
To dwell therein. The promise of Allah is true: and He is Exalted in Power, Wise. |
Concepts/Themes Covered: الإيمان > الغيب > الجنة > صفات الجنة Faith> The Unseen World> The Paradise> Characteristics of Paradise الإيمان > الغيب > الخلود > الخلود في النعيم Faith> The Unseen World> The Eternity> The Immortality in Happiness
This tool uses eight English parallel translations for the Holy Quran imported from Mr. Clay Smith. You can also visit Qurany Concepts for browsing the Quran themes or topics. If you want to search the Holy Quran for keywords, please visit Qurany Keywords.


#include <uwoptical-phy.h>
Definition at line 68 of file uwoptical-phy.h.
◆ UwOpticalPhy()
| UwOpticalPhy::UwOpticalPhy |
( |
| ) |
|
◆ ~UwOpticalPhy()
| virtual UwOpticalPhy::~UwOpticalPhy |
( |
| ) |
|
|
inlinevirtual |
◆ command()
| int UwOpticalPhy::command |
( |
int |
argc, |
|
|
const char *const * |
argv |
|
) |
| |
|
virtual |
TCL command interpreter.
It implements the following OTcl methods:
- Parameters
-
| argc | Number of arguments in argv. |
| argv | Array of strings which are the command parameters (Note that argv[0] is the name of the object). |
- Returns
- TCL_OK or TCL_ERROR whether the command has been dispatched successfully or not.
Definition at line 81 of file uwoptical-phy.cpp.
◆ endRx()
| void UwOpticalPhy::endRx |
( |
Packet * |
p | ) |
|
|
virtual |
◆ getNoisePower()
| double UwOpticalPhy::getNoisePower |
( |
Packet * |
p | ) |
|
|
virtual |
◆ getSNRdB()
| double UwOpticalPhy::getSNRdB |
( |
Packet * |
p | ) |
|
|
virtual |
◆ getVarTemperature()
| double UwOpticalPhy::getVarTemperature |
( |
Packet * |
p | ) |
|
|
protected |
◆ initializeLUT()
| void UwOpticalPhy::initializeLUT |
( |
| ) |
|
|
protectedvirtual |
◆ linearInterpolator()
| double UwOpticalPhy::linearInterpolator |
( |
double |
x, |
|
|
double |
x1, |
|
|
double |
y1, |
|
|
double |
x2, |
|
|
double |
y2 |
|
) |
| |
|
protectedvirtual |
◆ lookUpLightNoiseE()
| double UwOpticalPhy::lookUpLightNoiseE |
( |
double |
depth | ) |
|
|
protectedvirtual |
◆ startRx()
| void UwOpticalPhy::startRx |
( |
Packet * |
p | ) |
|
|
virtual |
◆ Ar_
◆ Id
◆ Il
◆ lut_file_name_
| string UwOpticalPhy::lut_file_name_ |
|
private |
◆ lut_map
Lookup table map of the solar noise versus the depth.
Definition at line 131 of file uwoptical-phy.h.
◆ lut_token_separator_
| char UwOpticalPhy::lut_token_separator_ |
|
private |
◆ use_woss_
| bool UwOpticalPhy::use_woss_ |
|
protected |
◆ variable_temperature_
| bool UwOpticalPhy::variable_temperature_ |
|
private |
Flag to set whether the temperature is costant or varialbe with the depth.
Definition at line 132 of file uwoptical-phy.h.
The documentation for this class was generated from the following files:


The Pleasure of Getting Things done Tweet
I told one of our postdocs today that I “got bored” and still worked today. Been soldiering through and I am glad I did. I intermittently take naps to combat the nausea from the legal opioids I got for the surgery. And I got a shot of “happiness” after solving one of the connectivity issues I had for the software we are developing. It’s not really a big deal but it is for me because I sort of accomplished something and the “reward” part of the brain sort of lit up. smilee Haven’t had that in a while.
I got the title from Feynman’s “The Pleasure of Finding Things out”. While I sort of am cautious about the “artificiality” of just checking off minor things off one’s to-do list, sometimes, getting “minor” things done for yourself, deserve to be celebrated. I got my visa, took care of all the logistics quite ahead of time. I’ve done packing way early, e.g. spent the past 3 weeks pre-accident emptying my cabinets, giving away things. I felt good doing them early even if the idea of moving is a tedious and thankless thing to do. Now, I only need to make sure to move the furniture out to people who want them. And of course, the final vacuuming. My luggages, are sort of ready too. I don’t know if it’s me just being paranoid and knowing I’m not the best person with stress that I do things really early in bits and pieces. So, even if I’m one-legged (or three-legged), I don’t feel too rushed right now. With help from friends of course!
I think, I think of work in terms of making several iterations. I approach learning the same way. I learn about something, get a rough idea about what it is and then I refine my understanding by filling in the details with further iterations. Kinda nice way of looking at it. So maybe, that’s probably helped me with putting things off, and “failing”. It’s a lot of work though. And I do envy those who are pretty good with pressure and can stay very calm under stress. And actually those who are “great procrastinators”. They do exist and its funny how some Ivy league students claim to deliberately train to be good at “procrastinating” to be good with pressure. Dunno how true it is but it’s not super unbelievable.


Welcome to Joe's Hot Dog Stand!
Hot Dog
$3.25
French Fries
$2.00
Drink
$1.50
RECEIPT
Item
Quantity
Value
Hot Dog
French Fries
Drink
SUBTOTAL
DISCOUNT
TAX
TOTAL
$0.00


Before Change
def load_test_model(opt, dummy_opt):
checkpoint = torch.load(opt.model,
map_location=lambda storage, loc: storage)
fields = onmt.io.load_fields_from_vocab(
checkpoint["vocab"], data_type=opt.data_type)
model_opt = checkpoint["opt"]
After Change
model_opt.__dict__[arg] = dummy_opt[arg]
model = make_base_model(model_opt, fields,
use_gpu(opt), checkpoint)
model.eval()
model.generator.eval()
return fields, model, model_opt
def make_base_model(model_opt, fields, gpu, checkpoint=None):
Args:
model_opt: the option loaded from checkpoint.
fields: `Field` objects for the model.
gpu(bool): whether to use gpu.
checkpoint: the model gnerated by train phase, or a resumed snapshot
model from a stopped training.


--- layout: page title: Contact seo_title: Contact Jamie Smith Estates, Henley-on-Thames date: 2018-07-02 ---
Let us know what you're looking for in a new property. We'll take a look and see if this could be the start of something beautiful.


is_dir
(PHP 4, PHP 5, PHP 7)
is_dir — 判断给定文件名是否是一个目录
说明
bool is_dir ( string $filename )
判断给定文件名是否是一个目录。
参数
filename
如果文件名存在并且为目录则返回 TRUE。如果 filename 是一个相对路径，则按照当
前工作目录检查其相对路径。 If filename is a symbolic or hard link then the
link will be resolved and checked. If you have enabled 安全模式, or
open_basedir further restrictions may apply.
返回值
如果文件名存在，并且是个目录，返回 TRUE，否则返回FALSE。
范例
Example #1 is_dir() 例子
以上例程会输出：
bool(false)
bool(false)
bool(true)
错误／异常
失败时抛出E_WARNING警告。
注释
Note: 此函数的结果会被缓存。参见 clearstatcache() 以获得更多细节。
Tip
自 PHP 5.0.0 起, 此函数也用于某些 URL 包装器。请参见支持的协议和封装协议以获得
支持 stat() 系列函数功能的包装器列表。
参见
• chdir() - 改变目录
• dir() - 返回一个 Directory 类实例
• opendir() - 打开目录句柄
• is_file() - 判断给定文件名是否为一个正常的文件
• is_link() - 判断给定文件名是否为一个符号连接
User Contributed Notes 18 notes
===============================================================================
Just a note for anyone who encounters is_dir() returning false on CIFS mount
points or directories within those mount points on 2.6.31 and newer kernels:
Apparently in new kernels they've started using the CIFS serverino option by
default. With Windows shares this causes huge inode numbers and which
apparently can cause is_dir() to return false. Adding the noserverino option
to the CIFS mount will prevent this. This may only occur on 32 systems but I
don't have a 64 bit install to test against.
===============================================================================
My solution to the problem that you must include the full path to make "is_dir"
work properly as a complete example:
// findfiles.php - what is in directory "videoarchive"
$dir = 'images/videoarchive/'; // path from top
$files = scandir($dir);
$files_n = count($files);
$i=0;
while($i<=$files_n){
// "is_dir" only works from top directory, so append the $dir before
the file
if (is_dir($dir.'/'.$files[$i])){
$MyFileType[$i] = "D" ; // D for Directory
} else{
$MyFileType[$i] = "F" ; // F for File
}
// print itemNo, itemType(D/F) and itemname
echo '
'.$i.'. '. $MyFileType[$i].'. ' .$files[$i] ;
$i++;
}
?>
===============================================================================
This is the "is_dir" function I use to solve the problems :
function Another_is_dir ($file)
{
if ((fileperms("$file") & 0x4000) == 0x4000)
return TRUE;
else
return FALSE;
}
or, more simple :
function Another_is_dir ($file)
{
return ((fileperms("$file") & 0x4000) == 0x4000);
}
I can't remember where it comes from, but it works fine.
===============================================================================
PITFALL in sub dir processing
After struggeling with a sub-dir processing (some subdirs were skipped) AND
reading the posts, I realized that virutally no-one clearly told what were
wrong.
The common traverse dir code was:
-----------------------------------------
opendir("myphotos"); // Top dir to process from (example)
while (false !== ($fname = readdir($h_dir))) { // process current dir (read a
directory entry)
if ($fname{0} == '.') continue; // skip dirs . and .. by first char test
if (is_dir($fname)) call_own_subdir_process; // process this subdir by
calling a routine
}
PROBLEM IS :
The "is_dir()" must have the FULL PATH or it will skip some dirs. So the above
code need to INSERT THE PATH before the filename. This would give this change
in above...
if (is_dir("myphotos\" . $fname)) call_own_subdir_process; // skip subdirs
The pitfall really was, that without full path some subdirs were found...hope
this clears all up
===============================================================================
One note regarding checking for empty directories :
>>echo (count(glob("$dir/*")) === 0) ? 'Empty' : 'Not empty';
This does not work correctly on Linux.
The '.' and '..' will always be returned even if no files are present in the
directory.
===============================================================================
use this function to get all files inside a directory (including
subdirectories)
===============================================================================
Note that on Linux is_dir returns FALSE if a parent directory does not have +x
(executable) set for the php process.
===============================================================================
Note that this functions follows symbolic links. It will return true if the
file is actually a symlink that points to a directory.
An example:
Prints out:
bool(true)
(Windows Note: Under recent versions of Windows you can set symlinks as long as
you're administrator, but you cannot remove directory symlinks with "unlink()",
you will have to use "rmdir testlink" from the shell to get rid of it.)
===============================================================================
When trying (no 'pear') to enumerate mounted drives on a win32 platform (Win
XP SP3, Apache/2.2.11, PHP/5.2.9), I used:
which yielded:
A: C: D: E: F: G: H: I:
===============================================================================
better ;)
===============================================================================
An even better (PHP 5 only) alternative to "Davy Defaud's function":
NOTE: you should obviously be checking beforehand if $dir is actually a
directory, and that it is readable, as only relying on this you would assume
that in both cases you have a non-empty readable directory.
===============================================================================
If you are using Mac, or others systems that store information about the
directory layout and etc, the function:
function empty_dir($dir) {
if (($files = @scandir($dir)) && count($files) <= 3)
return true;
else
return false;
}
Must have the count($files) comparing with the number of hidden files!
For example, I'm using Mac and the empty directory shows me three files: ".",
".." and ".DS_Store", so if I am planning to put the website online on my Mac,
I've to count in the ".DS_Store" file!
===============================================================================
this function bypasses open_basedir restrictions.
function my_is_dir($dir)
{
// bypasses open_basedir restrictions of is_dir and fileperms
$tmp_cmd = `ls -dl $dir`;
$dir_flag = $tmp_cmd[0];
if($dir_flag!="d")
{
// not d; use next char (first char might be 's' and is still
directory)
$dir_flag = $tmp_cmd[1];
}
return ($dir_flag=="d");
}
?>
example:
....
echo is_dir("/somewhere/i/dont/have/access/to");
?>
output:
Warning: open_basedir restriction in effect
....
echo my_is_dir("/somewhere/i/dont/have/access/to");
?>
output:
true (or false, depending whether it is or not...)
---
visit puremango.co.uk for other such wonders
===============================================================================
When I run a scandir I always run a simple filter to account for file system
artifacts (especially from a simple ftp folder drop) and the "." ".." that
shows up in every directory:
===============================================================================
Running PHP 5.2.0 on Apache Windows, I had a problem (likely the same one as
described by others) where is_dir returned a False for directories with certain
permissions even though they were accessible.
Strangely, I was able to overcome the problem with a more complete path. For
example, this only displays "Works" on subdirectories with particular
permissions (in this directory about 1 out of 3):
$d = opendir("./albums/mydir");
while(false !== ($f = readdir($d))) {
echo "
";
if(is_dir($f)) {
echo "Works:" . $f . "";
}
}
However, this works properly for all directories:
$d = opendir("./albums/mydir");
while(false !== ($f = readdir($d))) {
echo "
";
$dName = "./albums/mydir/" . $f;
if(is_dir($dName)) {
echo "Works:" . $dName . "";
}
}
I don't understand the hit-and-miss of the first code, but maybe the second
code can help others having this problem.
===============================================================================
Here is another way to test if a directory is empty, which I think is much
simpler than those posted below:
===============================================================================
Ah ha! Maybe this is a bug, or limitation to be more precise, of php. See
http://bugs.php.net/bug.php?id=27792
A workaround is posted on the page (above) and seems to work for me:
function is_dir_LFS($path){
return (('d'==substr(exec("ls -dl '$path'"),0,1))?(true):(false));
}
PS: I'm using PHP 4.3.10-16, posts report this problem up to 5.0
===============================================================================
Unfortunately, the function posted by p dot marzec at bold-sg dot pl does not
work.
The corrected version is:
// returns true if folder is empty or not existing
// false if folde is full
function is_empty_folder($dir) {
if (is_dir($dir)) {
$dl=opendir($dir);
if ($dl) {
while($name = readdir($dl)) {
if (!is_dir("$dir/$name")) { //<--- corrected here
return false;
break;
}
}
closedir($dl);
}
return true;
} else return true;
}


Ganja valued at $4.5M seized in St Ann, six men charged
Six men have been charged following the seizure of more than 1,000 pounds of ganja in Exchange, Ocho Rios, St Ann on Wednesday.
The police say drugs have an estimated street value of $4.5 Million.
Charged with possession of ganja, dealing in ganja and taking preparatory steps to export ganja are 53-year-old Rueben Simpson, a businessman, 60-yea-old Maxfield Mignott, 44-year-old Desmond Gordon, a taxi operator, 63-year-old farmer Desmond Gordo, 31-year-old Ricardo West and 56-year-old Stanley Morris, a taxi operator, all of StAnn addresses.
The police report that about 4:00 p.m. a team was on operation in the area when the saw the men reportedly removing the illicit drug from a premises.
They were subsequently arrested and later charged.
They are scheduled to appear before the St Ann Parish Court on Friday, November 22.


When it’s a race against nap time to escape the house,
we'll help you find what's on near you
Designed and built by mum-coders
Use filters tailored for baby and toddler classes. Find drop-ins, free trials and what's suitable for younger babies
Check how to get to the venue, find out if it's buggy friendly and what else is on there during the week
We want everyone to find the fun.
We won't charge anyone to list or use our platform
Our website is designed to work on any size screen. No downloading nonsense required
noun
1. The baby smile that makes it all worthwhile.
We’re stay-at-home-mums, solving a problem we know lots of other parents face too.
We’re fed up of endless Googling, checking old-school websites and repeatedly asking mum friends what can we do today.
Our mission is to support you in those early days of parenthood and to make this one thing super easy.
We offer ‘mumternships’ and are committed to flexible work opportunities. If you’re wondering ‘what next?’ and think you’d like to join us, get in touch.
We also promote awesome parent-led products, inventions and interesting blogs. Drop us a line if this is you.


We have developed a platform where you need to do a minimum of steps to place an order.
The platform keeps statistics of orders for you.
Get up-to-date data in real time.
Using the platform is easy and intuitive for both you and your customers.
Our support will answer your questions and help you at any time.
Join our brand new platform in 3 easy steps
It will take just a couple of minutes.
Create a menu that will be available to your customers.
A unique QR code will be generated for you. QR code must be placed on the notable place.


| Name | Description | |
|---|---|---|
| Append<T> | Append an item to the end of an enumeration. | |
| Apply<T> | Apply a function to each element of the collection. | |
| CompareTo<T> | Performs an ordered comparison on two sequences. | |
| Consume<T> | Consumes the entire sequence. | |
| CopyTo<T> | Copy the elements of the stream to the given array starting at the given index. | |
| Do<T> | Consumes a sequence while applying a function to each element. | |
| Flatten<T> | Flattens a nested enumerable. | |
| Format<T> | Overloaded. Formats each element of the stream with the given separator between them. | |
| Generate<T> | Generate a sequence of elements given a generator function. | |
| Push<T> | Adds the given item to the beginning of a sequence. | |
| Transpose<T> | Swaps the rows and columns of a nested sequence. |


| Concept Framework 2.2 documentation | Contents | Index |
| Name | Version | Deprecated |
| curl_getdate | version 1.0 | no |
| number curl_getdate(string datestring) |
| datestring | the date string |
|
Convert a date string to number of seconds since January 1, 1970.
This function returns the number of seconds since January 1st 1970 in the UTC time zone, for the date and time that the datestring parameter specifies. A "date" is a string containing several items separated by whitespace. The order of the items is immaterial. A date string may contain many flavors of items: calendar date items Can be specified several ways. Month names can only be three-letter english abbrivations, numbers can be zero-prefixed and the year may use 2 or 4 digits. Examples: 06 Nov 1994, 06-Nov-94 and Nov-94 6. time of the day items This string specifies the time on a given day. You must specify it with 6 digits with two colons: HH:MM:SS. To not include the time in a date string, will make the function assume 00:00:00. Example: 18:19:21. time zone items Specifies international time zone. There are a few acronyms supported, but in general you should instead use the specific relative time compared to UTC. Supported formats include: -1200, MST, +0100. day of the week items Specifies a day of the week. Days of the week may be spelled out in full (using english): `Sunday', `Monday', etc or they may be abbreviated to their first three letters. This is usually not info that adds anything. pure numbers If a decimal number of the form YYYYMMDD appears, then YYYY is read as the year, MM as the month number and DD as the day of the month, for the specified calendar date. EXAMPLES Sun, 06 Nov 1994 08:49:37 GMT Sunday, 06-Nov-94 08:49:37 GMT Sun Nov 6 08:49:37 1994 06 Nov 1994 08:49:37 GMT 06-Nov-94 08:49:37 GMT Nov 6 08:49:37 1994 06 Nov 1994 08:49:37 06-Nov-94 08:49:37 1994 Nov 6 08:49:37 GMT 08:49:37 06-Nov-94 Sunday 94 6 Nov 08:49:37 1994 Nov 6 06-Nov-94 Sun Nov 6 94 1994.Nov.6 Sun/Nov/6/94/GMT Sun, 06 Nov 1994 08:49:37 CET 06 Nov 1994 08:49:37 EST Sun, 12 Sep 2004 15:05:58 -0700 Sat, 11 Sep 2004 21:32:11 +0200 20040912 15:05:58 -0700 20040911 +0200 |
| Documented by Eduard Suica, generation time: Sun Jan 27 18:15:21 2013 GMT | (c)2013 Devronium Applications |


polarsprings's products
XTC Pills / 10 PILLS 300g+ / WorldWide S...
Co Codamol 50/300mg 100 Tabs
METHADONE HYDRO 10MG
50 Pills Q-Dance Mario Mushrooms
Pharmacy Ketamine Powder / 10g / WorldWi...
Legit Western Union Transfer
56g Green Crack -24.5% THC- (FREE SHIPPI...
BENSEDIN PHARMA A++ 24boxes(720tabs)
Ambien (zolpidem)-100 pills
Adderall XR 30mg 100 Tabs
10g cocaine
Elvanse/Vyvanse 10 x 50mg Capsules
10g Magic Mushrooms cubensis shrooms Zau...
Oxycontin 80mg (Oxycodone) Sandoz Pharma...
7g Pure MDMA -ROCKS- (FREE SHIPPING)
Apply for genuine EU/ German Driving Lic...
120 count 8mg Dilaudid (Hydromorphone) X...
2 Gr Afghan Heroin AA+ Quality
14 grams Grinded up shroom capsules
KETAMINE INJECTABLE +10mg/ml 200milliter...
Dihydrocodeine 30mg 8 boxes(224tabs)
BENSEDIN PHARMA A++ 12boxes(360tabs)
50x || 2CB YELLOW BATMAN 30MG 2CB
Indoor Super Lemon Haze 30g Top Qualitä...
MORPHINE 30/100mg
RITALIN 30mg IR(Methylphenidate)
5x Suboxone 8mg/2mg Filim
Pfizer Xanax 1mg 100% Genuine and Authen...
HIGH QUALITY Undetectable BILLS,DOLLARS,...


Safe Route Planner
Home
Project
Prototype
Features
Introduction
Total Amount of Incidents Queried
Category
All
Submit


#123456789
Damage report! I recommend you don't fire until you're within 40,000 kilometers.
bug
#234567891
Some days you get the bear, and some days the bear gets you. Maybe if we felt any human loss as keenly as we feel one of those close to us, human history would be far less bloody.
feature (1)
#345678912
Then maybe you should consider this: if anything happens to them, Starfleet is going to want a full investigation.
chore


| simpleparse.examples.py_ebnf | index /home/mcfletch/pylive/simpleparse/examples/py_ebnf.py |
This module defines a parser for the EBNF format used to define Python's grammar
The grammar in the language reference (as seen in Python 2.2.1)
seems to be somewhat messed up. I've tried to fix the glaring
errors (such as control codes included in the text version) and
have saved this in the examples directory.
This parser does parse the entire (fixed) grammar, with the
exception of the <XXX> style comments which were used in a few
places in the grammar to say "range of characters"
What this doesn't do, is try to _use_ the parsed grammar. The
grammar is assuming a very different parser type than SimpleParse,
for instance, it assumes that alternation (|) will use longest-of
semantics, so that:
int := blah
long_int := int, [lL]
all_ints := int, long_int
Would match long_int (because it's longest), rather than int, which
is what the base SimpleParse FOGroup would do. You could fairly
trivially make a processor similar to the simpleparsegrammar one
to make objectgenerator objects from the parsed format, but the
resulting parser just wouldn't work because of the differences in
parser capability.
Basically, we'll want to have a new back-end before continuing on
with this demo.
The grammar being parsed (and included) is part of Python, so
here's the copyright notice:
Python is Copyright (c) 2001, 2002 Python Software Foundation.
All Rights Reserved.
Copyright (c) 2000 BeOpen.com.
All Rights Reserved.
Copyright (c) 1995-2001 Corporation for National Research Initiatives.
All Rights Reserved.
Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.
All Rights Reserved.
You should have a full copy of the Python license in your Python
distribution.
| Modules | ||||||
|
| Data | ||
| declaration = "\n\ndeclarationset := declaration+\ndeclarati... := string, ts, '...', ts, string\n\n" parser = <simpleparse.parser.Parser instance> |


|
BrawlCrate v0.40a
Wii File Editor
|
Plugins listed here can be easily installed via the subscription service. In BrawlCrate, go to Settings > Updater > Manage Subscriptions
and paste the link to the repository (you can get this by right-clicking and copying the link address for the plugin you want on this page).
*BrawlBox v0.78 bboxapi
scripts are partially forwards compatible with BrawlAPI
. When running them, the program will attempt to properly convert them to the new API. It is still recommended to use scripts originally designed for BrawlCrate for the best results. BrawlBox plugins do not work with the subscription service.


Elon Musk explains why windows broke during CyberTruck unveiling
The Tesla boss said the ‘shatterproof’ windows had been damaged by an earlier demonstration.
Elon Musk has said hitting the door of Tesla’s new CyberTruck with a sledgehammer damaged its armoured glass which then broke during a failed demonstration of the new vehicle.
The unveiling of Tesla’s first electric pick-up truck was marred by the incident, which saw two supposedly armoured glass windows shatter when hit with a metal ball.
Mr Musk had spent some time during the live unveiling in Los Angeles last week detailing how robust the new vehicle would be.
Responding to comments on Twitter about the incident, he said the windows had broken because a previous demo of the vehicle’s steel doors – in which they had been hit with a sledgehammer – had damaged the glass.
“Sledgehammer impact on door cracked base of glass, which is why steel ball didn’t bounce off,” he said in response to one commenter.
“Should have done steel ball on window, *then* sledgehammer the door. Next time…”
Mr Musk also tweeted a video of the same window test being carried out backstage before the incident during the live unveiling.
As had been the case on stage, it showed Tesla head of design Franz von Holzhausen throwing a metal ball at the window from close range.
After the glass cracked during the on-stage demo, a clearly shocked Mr Musk told the audience “at least it didn’t go through” and admitted there was “room for improvement”.
Despite the embarrassing incident, he also claimed Tesla has already received 200,000 orders for the CyberTruck.
The futuristic-looking vehicle will be released at the end of 2021, with a range of up to 500 miles.
Tesla has said the top of the range, triple electric motor version will be capable of going from zero to 60mph in 2.9 seconds – comparable with many sports cars.
The truck will start at 39,900 dollars (£31,000) for the single motor version.


--- layout: page title: About header-img: "img/creativity-819371_1920.jpg" ---
Future-driven, aspiring coder and learner of all things that are hard to take in. I constantly strive for improvement in my surroundings, be it an exercise in efficiency, or an upgrade in the overall work atmosphere. I believe communication and consistency to be two of the most essential aspects in any human-to-human interaction. My greatest wish is to contribute to this society as a professional developer.


Training feature classifiers with q2-feature-classifier¶
Note
This guide assumes you have installed QIIME 2 using one of the procedures in the install documents.
This tutorial will demonstrate how to train q2-feature-classifier
for a particular dataset. We will train the Naive Bayes classifier using Greengenes reference sequences and classify the representative sequences from the Moving Pictures dataset.
Note that several pre-trained classifiers are provided in the QIIME 2 data resources. These can be used for some common marker-gene targets (e.g., 16S rRNA genes). Pre-trained classifiers for other marker genes are also available on the QIIME 2 forum.
We will download and create several files, so first create a working directory.
mkdir training-feature-classifiers
cd training-feature-classifiers
Obtaining and importing reference data sets¶
Two elements are required for training the classifier: the reference sequences and the corresponding taxonomic classifications. To reduce computation time for this tutorial we will use the relatively small Greengenes 13_8 85% OTU data set. Do not use the 85% OTU data set used in this tutorial for classification of real experimental data. We recommend using more information-rich sequences, e.g., reference sequences clustered at 99% sequence similarity, for classification of real data. See the QIIME 2 data resources page for links to complete QIIME-compatible reference datasets.
We will also download the representative sequences from the Moving Pictures tutorial to test our classifier.
Download URL: https://data.qiime2.org/2018.6/tutorials/training-feature-classifiers/85_otus.fasta
Save as: 85_otus.fasta
wget -O "85_otus.fasta" "https://data.qiime2.org/2018.6/tutorials/training-feature-classifiers/85_otus.fasta"
curl -sL "https://data.qiime2.org/2018.6/tutorials/training-feature-classifiers/85_otus.fasta" > "85_otus.fasta"
Download URL: https://data.qiime2.org/2018.6/tutorials/training-feature-classifiers/85_otu_taxonomy.txt
Save as: 85_otu_taxonomy.txt
wget -O "85_otu_taxonomy.txt" "https://data.qiime2.org/2018.6/tutorials/training-feature-classifiers/85_otu_taxonomy.txt"
curl -sL "https://data.qiime2.org/2018.6/tutorials/training-feature-classifiers/85_otu_taxonomy.txt" > "85_otu_taxonomy.txt"
Download URL: https://data.qiime2.org/2018.6/tutorials/training-feature-classifiers/rep-seqs.qza
Save as: rep-seqs.qza
wget -O "rep-seqs.qza" "https://data.qiime2.org/2018.6/tutorials/training-feature-classifiers/rep-seqs.qza"
curl -sL "https://data.qiime2.org/2018.6/tutorials/training-feature-classifiers/rep-seqs.qza" > "rep-seqs.qza"
Next we import these data into QIIME 2 Artifacts. Since the Greengenes reference taxonomy file (85_otu_taxonomy.txt
) is a tab-separated (TSV) file without a header, we must specify HeaderlessTSVTaxonomyFormat
as the source format since the default source format requires a header.
qiime tools import \
--type 'FeatureData[Sequence]' \
--input-path 85_otus.fasta \
--output-path 85_otus.qza
qiime tools import \
--type 'FeatureData[Taxonomy]' \
--source-format HeaderlessTSVTaxonomyFormat \
--input-path 85_otu_taxonomy.txt \
--output-path ref-taxonomy.qza
Extract reference reads¶
It has been shown that taxonomic classification accuracy of 16S rRNA gene sequences improves when a Naive Bayes classifier is trained on only the region of the target sequences that was sequenced (Werner et al., 2012). This may not necessarily generalize to other marker genes (see note on fungal ITS classification below). We know from the Moving Pictures tutorial that the sequence reads that we’re trying to classify are 120-base single-end reads that were amplified with the 515F/806R primer pair for 16S rRNA gene sequences. We optimize for that here by extracting reads from the reference database based on matches to this primer pair, and then slicing the result to 120 bases.
qiime feature-classifier extract-reads \
--i-sequences 85_otus.qza \
--p-f-primer GTGCCAGCMGCCGCGGTAA \
--p-r-primer GGACTACHVGGGTWTCTAAT \
--p-trunc-len 120 \
--o-reads ref-seqs.qza
Note
The --p-trunc-len
parameter should only be used to trim reference sequences if query sequences are trimmed to this same length or shorter. Paired-end sequences that successfully join will typically be variable in length. Single-end reads that are not truncated at a specific length may also be variable in length. For classification of paired-end reads and untrimmed single-end reads, we recommend training a classifier on sequences that have been extracted at the appropriate primer sites, but are not trimmed.
Note
The primer sequences used for extracting reads should be the actual DNA-binding (i.e., biological) sequence contained within a primer construct. It should NOT contain any non-biological, non-binding sequence, e.g., adapter, linker, or barcode sequences. If you are not sure what section of your primer sequences are actual DNA-binding, you should consult whoever constructed your sequencing library, your sequencing center, or the original source literature on these primers. If your primer sequences are > 30 nt long, they most likely contain some non-biological sequence.
Train the classifier¶
We can now train a Naive Bayes classifier as follows, using the reference reads and taxonomy that we just created.
qiime feature-classifier fit-classifier-naive-bayes \
--i-reference-reads ref-seqs.qza \
--i-reference-taxonomy ref-taxonomy.qza \
--o-classifier classifier.qza
Test the classifier¶
Finally, we verify that the classifier works by classifying the representative sequences from the Moving Pictures tutorial and visualizing the resulting taxonomic assignments.
qiime feature-classifier classify-sklearn \
--i-classifier classifier.qza \
--i-reads rep-seqs.qza \
--o-classification taxonomy.qza
qiime metadata tabulate \
--m-input-file taxonomy.qza \
--o-visualization taxonomy.qzv
Classification of fungal ITS sequences¶
In our experience, fungal ITS classifiers trained on the UNITE reference database do NOT benefit from extracting/trimming reads to primer sites. We recommend training UNITE classifiers on the full reference sequences. Furthermore, we recommend the “developer” sequences (located within the QIIME-compatible release download) because the standard versions of the sequences have already been trimmed to the ITS region (excluding portions of flanking rRNA genes that may be present in amplicons generated with standard ITS primers).


The JFreeChart interface in ScalaLab
The JFreeChart plotting library is one of the most famous Java plotting libraries. This library is provided with ScalaLab within the scalaLabLibs.jar library file. Therefore, JFreeChart can be utilized in ScalaLab either from ScalaSci or with Java code. However, the default interface is not very convenient; so in ScalaLab we implement an alternative Matlab-like interface.
We should not as a general rule that plotting routines based on JFreeChart are similar to the default plotting routines but they start with j, e.g. jsubplot instead of subplot.
The figure system is implemented by keeping an array of JFrame objects to keep the set of active figure frames. Also, a 3-D array of jPlot objects keeps references to the subplots, i.e. each JFrame maps to a 2-D array of jPlot objects that keep the subplots of that figure frame.
The JPlot class
A basic component of the plotting machinery is the jPlot class. This class encapsulates JfreeChart's XY charts. It simplifies the utilization of JfreeChart by providing an interface similar to Matlab's plot.
To create a chart, we need X and Y values stored in Array[Double]. This procedure is illustrated by the following example:
var x = Inc(0, 0.01, 10) // sample from 0 to 10 with 0.01 step, collecting values in the Array[Double] x
var y = sin(0.23*x)+2.4*cos(0.87*x) // construct a sinusoidal function
var jchart = new jPlot(); // create a chart object
jchart.jplot(x,y) // plot the function
jchart.showInNewFrame // show the plot in the internal Jframe that the jPlot class maintains
jchart.setTitle("Plot of sin(0.23*x)+2.4*cos(0.87*x) ") // set a title for the plot
jchart.setXLabel("x-axis") // label for x-axis
jchart.setYLabel(" sin(0.23*x)+2.4*cos(0.87*x") // label for y-axis
If we want to display a chart in an existing window, we can get a JPanel object that will contain the chart by calling the method getPanel()
For example we can place the chart that we constructed with the previous code in a new JFrame as:
var newFrame = new JFrame(" Another plot frame" )
newFrame.add(jchart.getPanel()) // add our chart to the new window
newFrame.setSize(800, 800)
newFrame.setVisible(true)
We can configure chart properties (colors, axis ranges...) by setter methods. Most set...() methods may be called before or after plot() and addPlot() methods. The exception to this rule are methods, which set color and style of lines. They all have lineIndex or lineId as first parameter. These methods may be called only after the line with the given index or id has been drawn.
As in Matlab we can set the “hold” state of a plot. When hold state is on, additional plots are drawn without erasing the existing plots. The hold state is adjusted by the setHold(holdState: Boolean) method, i.e.
jchart.setHold(true) // sets the hold state on
jchart.setHold(false) // sets the hold state off
Examples:
We draw a green, dashed line, with 'x' markers and legend 'temperature' to the chart of the previous example:
var temperature = 0.8+ sin(0.9*x) // take as temperature an arbitrary function
jchart.setHold(true) // adjust the hold state
var lineId = jchart.jplot(x, temperature, "g--x", "temperature")
Note that we used lineId to store id for use in the next statement, where we'll change the line style of the line with index 0, and color to red dotted line with diamond * markers. Width will be 5 pixels:
jchart.setLineSpec(lineId(0), "r:d", 5)
The same can be done by specifying the last plotted line (we change it to BLUE color):
jchart.setLineSpec(jPlot.LAST_IDX, "b:d", 5)
As we said, we can have more than one line on the chart at the same time. This can be achieved in one of three ways:
1. by specifying all lines in a single plot command, for example
var x = inc(0, 0.01, 10) // sample from 0 to 10 with 0.01 step, collecting values in a Vec x
var y1 = sin(0.23*x)+2.4*cos(0.87*x) // construct a sinusoidal function
var y2 = cos(0.78*x)-7.8*sin(0.12*x) // a second sinusoidal signal
var jchart = new jPlot(); // create a chart object
jchart.jplot(x, y1, x, y2) // plot all the Vectors
jchart.showInNewFrame // show the plot in the internal JFrame that the jPlot class maintains
jchart.setTitle("Multiple plots") // set a title for the plot
jchart.setXLabel("x-axis") // label for x-axis
jchart.setYLabel(" y-axis") // label for y-axis
2. by calling
jchart.setHold(true)
before calling next plot commands
3. by calling method addPlot() instead of jplot(), for example:
var x = inc(0, 0.01, 10) // sample from 0 to 10 with 0.01 step, collecting values in a Vec x
var y1 = cos(0.1*x)-1.8*sin(0.12*x) // a second sinusoidal signal
var y2 = cos(0.78*x)-7.8*sin(0.12*x) // a second sinusoidal signal
var jchart = new jPlot(); // create a chart object
jchart.jplot(x, y1) // plot the first line
var dummy = 0 // a dummy parameter for disambiguation of overloaded definitions
jchart.addPlot(x, y2, dummy) // add the second line
jchart.showInNewFrame // show the plot in the internal JFrame that the jPlot class maintains
jchart.setTitle("Multiple plots") // set a title for the plot
jchart.setXLabel("x-axis") // label for x-axis
jchart.setYLabel(" y-axis") // label for y-axis
Line specification
Methods jplot(), addPlot(), and setLineSpec() have parameter lineSpec, which defines line color, style, and markers. Any combination of color, marker and style is allowed. The following properties can be specified:
Colors:
r red
g green
b blue
c cyan
y yellow
m magenta
k black
Markers:
+ Plus sign
o Circle
* Asterisk
. Point
x Cross
^ Upward-pointing triangle
v Downward-pointing triangle
> Right-pointing triangle
< Left-pointing triangle
'square' or s Square
'diamond' or d Diamond
'pentagram' or p Five-pointed star (pentagram)
'hexagram' or h - Six-pointed star (hexagram)
Styles:
- solid line
– dashed line
: dotted line
-. dash-dot line
Examples:
"yx--" yellow dashed line with crosses at points
":c" dotted cyan line without markers
"w" white solid line (the same as "w-")
Plotting routines
jfigure( figId: Int)
Create figure window.
figure, by itself, creates a new figure window, and returns its handle.
figure(H) makes H the current figure, forces it to become visible, and raises it above all other figures on the screen. If Figure H does not exist, and H is an integer, a new figure is created with handle H.
jsubplot(m: Int, n: Int, p: Int)
Create axes in tiled positions.
subplot(m,n,p), breaks the Figure window into an m-by-n matrix of small axes, selects the p-th axes for the current plot, and returns the axis handle. The axes are counted along the top row of the Figure window, then the second row, etc. For example,
var x = sin(0.13*t); var y= cos(3.4*t)
jfigure(1)
jsubplot(2,1,1); jplot(t, x);
jsubplot(2,1,2); jplot(t, y)
plots x on the top half of the window and y on the bottom half.
JFreeChart plotting demo
jfigure(1)
var t = inc(0, 0.01, 10); var x = sin(0.23*t)
var lineSpecs = "."
jplot(t,x, lineSpecs)
jtitle("drawing multiple line styles")
jhold(true) // hold axis
var SX = 5 // subsample factor
var tsub = t(1, SX, t.length-SX) // subsampe
var xsub = x(1, SX, x.length-SX)
jplot(tsub, 0.4*xsub, lineSpecs)
lineSpecs = ":r+"
jplot(tsub, 0.1*xsub, lineSpecs)
// redefine the color of line 2
jlineColor(2, Color.BLUE)
jfigure(2)
jsubplot(222)
var x11 = sin(8.23*t)
jplot(t,x11)
jhold(true)
lineSpecs = ":g"
jplot(t,sin(5*x11), lineSpecs)
jsubplot(223)
lineSpecs = ":r"
jplot(t,x11, lineSpecs)
// create a new figure and preform a plot at subplot 3,2,1
var nf = jfigure
jsubplot(3,2,1)
var t2 = inc(0, 0.01, 10); var x2 = sin(3.23*t2)+2*cos(0.23*t2)
jplot(t2,x2, ".-")
jsubplot(3,2,3)
var x3 = cos(2.3*t2)+9*sin(4.5*t2)
jplot(t2, x3)
jlineColor(1, Color.RED)
jsubplot(3,2,5)
var x4 = cos(12.3*t2)+9*sin(2.5*t2)
jplot(t2, x4+x3)
jlineColor(1, Color.GREEN)
jsubplot(3,2,6)
jplot(t2, 6*x4+x3)
jtitle("6*x4+x3")
jlineColor(1, Color.BLUE)
// now plot again at figure 2
jfigure(2) // concetrate on figure 2
jsubplot(2, 2, 1)
var vr = vrand(2000)
jplot(vr)
jtitle("A Random Vector")
var td = t.getv // get time as Array[Double]
jsubplot(224)
jplot(td, sin(1.34*td).getv, td, sin(3.6*td).getv, td, (cos(7.8*td)+2.3*sin(3.2*td)).getv)
jtitle("Multiple Plots")
// demonstrate PieDataChart
var categories = Array("Class1", "Class2", "Class3")
var values = Array(5.7, 9.8, 3.9)
var pieChartName = "Test Pie Chart"
var myPie = jplot(pieChartName, categories, values)


{%extends 'base.html'%} {% block content %} {{block.super}}
{{images.likes}} likes
{{ my_profile.user }}{{comments.comment}}


Home
Products
Meet the Founders
0
Become a Seller
add new Product
Add your Product
Item Name
Category of your Product
Choose your Product Category
Gemstones
Jewelry
Provide Image link for your Product
The Price
Give A details of your Product
Add Product
X


|
Gephi Toolkit Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GraphModel
Root interface that contains the complete graph structure and build
Graph
objets on demand.
The graph structure contains several views. GraphView
are sub-graphs with a unique
identifier, the viewId. The model maintains all views, and especially:
It is preferable to use the main graph for performing updates (add, remove, ...).
Graph graph = model.getGraph(); Node n1 = model.factory().newNode(); Node n2 = model.factory().newNode(); Edge e1 = model.factory().newEdge(n1, n2); graph.addNode(n1); graph.addNode(n2); graph.addEdge(e1);
GraphView newView = model.newView(); //Duplicate main view Graph subGraph = model.getGraph(newView); //Filter subgraph by removing nodes and edges model.setVisibleView(newView); //Set the view as current visible viewNote: Pay attention to destroy views when they are not used anymore.
GraphController
| Method Summary | |
|---|---|
void |
addGraphListener(GraphListener graphListener)
Add graphListener as a listener to this graph, if it is not already. |
void |
clear()
Clears the model by deleting all views and reseting main
view. |
GraphModel |
copy()
Returns a complete copy of this model, including all views but not listeners. |
GraphView |
copyView(GraphView view)
Copy view to a new graph view. |
void |
destroyView(GraphView view)
Destroy view , if exists. |
GraphFactory |
factory()
Returns the factory that creates nodes and edges for this model. |
DirectedGraph |
getDirectedGraph()
Build a DirectedGraph to access the main view. |
DirectedGraph |
getDirectedGraph(GraphView view)
Build a DirectedGraph to access view . |
DirectedGraph |
getDirectedGraphVisible()
Build a DirectedGraph to access the visible view. |
Graph |
getGraph()
Build a Graph to access the main view. |
Graph |
getGraph(GraphView view)
Build a Graph to access view/code>. |
Graph |
getGraphVisible()
Build a Graph to access the visible view. |
HierarchicalDirectedGraph |
getHierarchicalDirectedGraph()
Build a HierarchicalDirectedGraph to access the main view. |
HierarchicalDirectedGraph |
getHierarchicalDirectedGraph(GraphView view)
Build a HierarchicalDirectedGraph to access view . |
HierarchicalDirectedGraph |
getHierarchicalDirectedGraphVisible()
Build a HierarchicalDirectedGraph to access the visible view. |
HierarchicalGraph |
getHierarchicalGraph()
Build a HierarchicalGraph to access the main view. |
HierarchicalGraph |
getHierarchicalGraph(GraphView view)
Build a HierarchicalGraph to access view . |
HierarchicalGraph |
getHierarchicalGraphVisible()
Build a HierarchicalGraph to access the visible view. |
HierarchicalMixedGraph |
getHierarchicalMixedGraph()
Build a HierarchicalMixedGraph to access the main view. |
HierarchicalMixedGraph |
getHierarchicalMixedGraph(GraphView view)
Build a HierarchicalMixedGraph to access view . |
HierarchicalMixedGraph |
getHierarchicalMixedGraphVisible()
Build a HierarchicalMixedGraph to access the visible view. |
HierarchicalUndirectedGraph |
getHierarchicalUndirectedGraph()
Build a HierarchicalUndirectedGraph to access the main view. |
HierarchicalUndirectedGraph |
getHierarchicalUndirectedGraph(GraphView view)
Build a HierarchicalUndirectedGraph to access view . |
HierarchicalUndirectedGraph |
getHierarchicalUndirectedGraphVisible()
Build a HierarchicalUndirectedGraph to access the visible view. |
MixedGraph |
getMixedGraph()
Build a MixedGraph to access the main view. |
MixedGraph |
getMixedGraph(GraphView view)
Build a MixedGraph to access view . |
MixedGraph |
getMixedGraphVisible()
Build a MixedGraph to access the visible view. |
UndirectedGraph |
getUndirectedGraph()
Build a UndirectedGraph to access the main view. |
UndirectedGraph |
getUndirectedGraph(GraphView view)
Build a UndirectedGraph to access view . |
UndirectedGraph |
getUndirectedGraphVisible()
Build a UndirectedGraph to access the visible view. |
GraphView |
getVisibleView()
Returns the current viisble view. |
Workspace |
getWorkspace()
Returns the workspace this graph model belongs to. |
boolean |
isDirected()
Returns true if the graph is directed by default. |
boolean |
isHierarchical()
Returns true if the graph is hierarchical. |
boolean |
isMixed()
Returns true if the graph is mixed by default. |
boolean |
isUndirected()
Returns true if the graph is undirected by default. |
GraphView |
newView()
Create a new view by duplicating main view. |
void |
pushFrom(Graph graph)
Copy the graph structure from graph to this model. |
void |
pushNodes(Graph graph,
Node[] nodes)
Copy the nodes and edges betweeen these nodes from the graph
to this model. |
void |
removeGraphListener(GraphListener graphListener)
Remove graphListener as a listener to this graph. |
GraphSettings |
settings()
Returns the model settings. |
void |
setVisibleView(GraphView view)
Sets the current visible view and nofity listeners the visible view changed. |
| Method Detail |
|---|
GraphFactory factory()
GraphSettings settings()
GraphView newView()
GraphView copyView(GraphView view)
view
to a new graph view. The new view contains all
nodes and edges present in view
.
view
void destroyView(GraphView view)
view
, if exists. Always destroy views that are not
needed anymore to avoid memory overhead.
view
- the view that is to be destroyedvoid setVisibleView(GraphView view)
view
- the view that is to be set as the visible viewGraphView getVisibleView()
Graph getGraph()
Graph
to access the main view. If no undirected
edges have been added, returns a DirectedGraph
. If the graph
only contains undirected edges, returns a UndirectedGraph
.
If both directed and undirected edges exists, returns a MixedGraph
.
DirectedGraph getDirectedGraph()
DirectedGraph
to access the main view.
UndirectedGraph getUndirectedGraph()
UndirectedGraph
to access the main view.
MixedGraph getMixedGraph()
MixedGraph
to access the main view.
HierarchicalGraph getHierarchicalGraph()
HierarchicalGraph
to access the main view.
If no undirected edges have been added, returns a
HierarchicalDirectedGraph
. If the graph only contains undirected
edges, returns a HierarchicalUndirectedGraph
. If both directed
and undirected edges exists, returns a HierarchicalMixedGraph
.
Hierarchical graphs are normal graphs with more features to handle graphs within graphs.
HierarchicalDirectedGraph getHierarchicalDirectedGraph()
HierarchicalDirectedGraph
to access the main view.
HierarchicalUndirectedGraph getHierarchicalUndirectedGraph()
HierarchicalUndirectedGraph
to access the main view.
HierarchicalMixedGraph getHierarchicalMixedGraph()
HierarchicalMixedGraph
to access the main view.
Graph getGraphVisible()
Graph
to access the visible view. If no undirected
edges have been added, returns a DirectedGraph
. If the graph
only contains undirected edges, returns a UndirectedGraph
.
If both directed and undirected edges exists, returns a MixedGraph
.
DirectedGraph getDirectedGraphVisible()
DirectedGraph
to access the visible view.
UndirectedGraph getUndirectedGraphVisible()
UndirectedGraph
to access the visible view.
MixedGraph getMixedGraphVisible()
MixedGraph
to access the visible view.
HierarchicalGraph getHierarchicalGraphVisible()
HierarchicalGraph
to access the visible view.
If no undirected edges have been added, returns a
HierarchicalDirectedGraph
. If the graph only contains undirected
edges, returns a HierarchicalUndirectedGraph
. If both directed
and undirected edges exists, returns a HierarchicalMixedGraph
.
Hierarchical graphs are normal graphs with more features to handle graphs within graphs.
HierarchicalDirectedGraph getHierarchicalDirectedGraphVisible()
HierarchicalDirectedGraph
to access the visible view.
HierarchicalUndirectedGraph getHierarchicalUndirectedGraphVisible()
HierarchicalUndirectedGraph
to access the visible view.
HierarchicalMixedGraph getHierarchicalMixedGraphVisible()
HierarchicalMixedGraph
to access the visible view.
Graph getGraph(GraphView view)
Graph
to access view/code>. If no undirected
edges have been added, returns a DirectedGraph
. If the graph
only contains undirected edges, returns a UndirectedGraph
.
If both directed and undirected edges exists, returns a MixedGraph
.
- Returns:
- a graph object on
view
, directed by default
DirectedGraph getDirectedGraph(GraphView view)
DirectedGraph
to access view
.
view
UndirectedGraph getUndirectedGraph(GraphView view)
UndirectedGraph
to access view
.
view
MixedGraph getMixedGraph(GraphView view)
MixedGraph
to access view
.
view
HierarchicalGraph getHierarchicalGraph(GraphView view)
HierarchicalGraph
to access view
.
If no undirected edges have been added, returns a
HierarchicalDirectedGraph
. If the graph only contains undirected
edges, returns a HierarchicalUndirectedGraph
. If both directed
and undirected edges exists, returns a HierarchicalMixedGraph
.
Hierarchical graphs are normal graphs with more features to handle graphs within graphs.
view
, directed by defaultHierarchicalDirectedGraph getHierarchicalDirectedGraph(GraphView view)
HierarchicalDirectedGraph
to access view
.
view
HierarchicalUndirectedGraph getHierarchicalUndirectedGraph(GraphView view)
HierarchicalUndirectedGraph
to access view
.
view
HierarchicalMixedGraph getHierarchicalMixedGraph(GraphView view)
HierarchicalMixedGraph
to access view
.
view
void pushFrom(Graph graph)
graph
to this model. The
given graph
must come from a different GraphModel
,
e.g. a different workspace.
graph
- the graph that is to be copied in this model
java.lang.IllegalArgumentException
- if graph
belongs to this
graph modelvoid pushNodes(Graph graph, Node[] nodes)
graph
to this model. The given graph
must come from a different
GraphModel
, e.g. a different workspace.
graph
- the graph that is to be copied in this modelnodes
- the nodes to copy
java.lang.IllegalArgumentException
- if graph
belongs to this
graph modelGraphModel copy()
void clear()
main
view. Calling this method immediately makes all Graph
on
other views than main obsolete.
void addGraphListener(GraphListener graphListener)
graphListener
as a listener to this graph, if it is not already.
To pass a WeakReference
, use Netbeans WeakListeners
utility class.
graphListener
- the listener to addvoid removeGraphListener(GraphListener graphListener)
graphListener
as a listener to this graph.
graphListener
- the listener to removeboolean isDirected()
true
if the graph is directed by default. This value is an
indicator of the current state and it means that so far all edges are directed in the graph.
true
if the graph is only directed or false
otherwiseDirectedGraph
boolean isUndirected()
true
if the graph is undirected by default. This value is an
indicator of the current state and it means that so far all edges are undirected in the graph.
true
if the graph is only undirected or false
otherwiseUndirectedGraph
boolean isMixed()
true
if the graph is mixed by default. This value is an
indicator of the current state and it means that directed and undirected edges has been
added to the graph. When it returns true
, isDirected()
and
isUndirected()
methods always returns false
.
true
if the graph is mixed or false
otherwiseMixedGraph
boolean isHierarchical()
true
if the graph is hierarchical. This indicates the presence
of a hierarchy, in other words the height of the tree is greater than 0.
true
if the graph is clustered or false
otherwiseHierarchicalGraph
Workspace getWorkspace()
|
Gephi Toolkit Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


When a level is completed, the player is rewarded with a percentage which dictates how many bullets have not hit the player. The higher the percentage, the better the play. Upon hitting an object, everything slows down before speeding back up again, penalizing the player with a lower score at the end.
In terms of short casual gameplay, this is fine, however continually playing with this mechanic becomes boring. This points scoring system is so basic, rhythm games generally tend to have a creative scoring system with lots of different insights on how well the player is doing to compensate for the lack of advanced gameplay, take for example, a rhythm game called “osu!” the gameplay is extremely simple however the scoring system is so grand and diverse it keeps the player occupied, giving them a motive to play more. Soundodger lacks this, making the completion of levels unrewarding.


Web Monetization Simulator
Not in local environment
This extension only works with your local environment
Site has no monetization
No meta tag with name "monetization" found.
Sending payments to site
Stop payment
Currency
US Dollar
Euro
XRP
Amount
Scale
Interval (ms)
Save


This is how we learn to use the boostrap
First we should layout our html, and then add the required component
No Link attachedWelcome to CAMT, the most amazing
faculty in Chiang Main University.
On behalf of College of Arts, Media & Technology(CAMT), Chiang Mai University, I am delighted to welcome all students and parents to the semester 2019-2020.


I am looking for a challenging full-time job as a System engineer in a serious and well-oriented tech company.
This project is to design a smart umbrella system and it can be attached to a wheelchair, which can block the sunlight for the wheelchair user. Sunlight is necessary to a person’s life; however, excessive sunlight could potentially cause a lot of problems, especially to the wheelchairs users. Most electric wheelchairs in the current market are giving people freedom to move around without manual power, but those wheelchairs don’t have features such as a sun tracking umbrella. My project will solve this problem. The solution is just simply implementing a sun tracker algorithm to Arduino Mega board with two servos, and the servos will be used to control the umbrella. We can attach the whole system to the wheelchair; and the umbrella will automatically adjust its position depending on the position of the sun, thus blocking sunlight for the users.
Two Arduino Uno boards are used for this project, the first Arduino board will be used as a yard sprinkler system controller, the second Arduino board is used to get all the sensor data and sending them to the first microcontroller. In addition, there will be an android phone application that can get all the sensor reading from Arduino board via Bluetooth communication. If a person wants to check the surrounding temperature information, she can connect her phone to the Arduino board to get all the information. The android application will also give a “tip” to the user, advising a suitable daily activity for the user.
This JAVA application is designed for record student information and student learning. When logged in as an administrator, it is able to query student information from database, display student information in a dialog, add, delete and edit student entries and save them to database. It also gives users the functionality to print the displayed student information. when logged in as a student, a user is able to play the lectures videos. Depend on the course that she enrolled in, different videos will be displayed in the student learning window. A simple playback tool with progress bar is available and giving the student freedom to choose where she wants to play the video.


COBOL (COmmon Business-Oriented Language) as its name suggests used in a primary domains such as business, finance, and administrative systems for companies and governments.
click here to see the sample of "Hello World" in COBOL
COBOL (Common Business Oriented Language) was one of the earliest high-level programming languages. It was developed in 1959 by a group of computer professionals called the Conference on Data Systems Languages (CODASYL). In an attempt to overcome the problem of incompatibility between different versions of COBOL, the American National Standards Institute (ANSI) developed a standard form of the language in 1968. This version was known as American National Standard (ANS) COBOL. The language continues to evolve today. Object-oriented COBOL is a subset of COBOL 97, which is the fourth edition in the continuing evolution of ANSI/ISO standard COBOL. COBOL 97 includes conventional improvements as well as object-oriented features. Like the C++ programming language, object-oriented COBOL compilers are available even as the language moves toward standardization.
Some of the features of COBOL are as follows:


There are multiple dimensions that affect affordability, including average wage for profession, terms and amount of the student loan, weekly hours worked, family sizes, and location. Explore how these variables interact below. Initial loan terms represent the typical UC Berkeley student.


I'm a freelance full stack engineer..I'm an Appian BPM Consultant..I'm Arjun Viswanathan!
Portfolio
A little about me?
Professional
Actively coding and solving critical real world problems using Python(FastAPI, Flask), Appian, System Design and Data Structures. Azure AI is my recent favourite.
Personal
I'm 29, US/India, Ambidextrous, playing piano in Ipad, driving my remote cars when I'm free.
N2O.TV
N2O is a free online media working over internet. N2O focuses on long tail of media, giving audiences local content, which they never knew existed. This gives ability to create anyone their own channels and viewers without having need to build content.
This application is developed using
HTML
Bootstrap
Flask
Python
DoClaims
The Claims Marketplace - for a better claims experience.
Claims managed faster, cheaper and with higher customer satisfaction.
In Udacity, Learn to design and develop powerful modern web applications that form the foundation for the apps, websites, and systems that people and businesses use every day.
Multiple projects are built as part of this Nanodegree including UI/UX, server programming, APIs etc,
In Udacity, Learn to design and develop powerful modern web applications that form the foundation for the apps, websites, and systems that people and businesses use every day.
Multiple projects are built as part of this Nanodegree includes implementing multiple data structures and optimized algorithms, This includes solving 100's of real world problems.
As a development lead, I have built an end to end Claims Management System for the client organization using Appian BPM
Translation Management System
As an IT Architect, I have worked on building a neural translation engine inhouse and built processes which can integrate with multiple translation services available in the market.
Appian World
As an active practioner for almost a decade, I have built multiple solutions, plugins which are available in App Market. Check out my recent submission for Appian World 2020.
CS 229
As an active practitioner of ML, I have completed certifications in Kaggle and one of my upcoming project is to complete CS 229 - Machine Learning Program offeref by Stanford University.


My "big challenge" nowadays is Just Digital.
Is a product development company founded in early 2017, from a join venture with "Medea Solutions" from Carlos Mencia and my former company Apiumtech.
Because I am a passionate of technology and software architecture, I still have time to lead another cool projects, always from my position of Global CTO and Founder at Just Digital.
I am writing a book about software architecture and I want to focus on the concept of working software. To support the book, I maintain a blog about WS.
We are preparing a Master in Software Architecture for "La Salle" and teach to develop all the skills and abilities you need to become a Software Architect.
I maintain a blog about Software Development into companies in the real world. It's based on existing methodologies to scale agile. I call it OpenOSSAD.
I am proud to announce that since January, I am Technical Advisor for Ogilvy Matter Spain. I help Ogilvy to stay updated on high tech concepts, like BigData, Chatbots, Software Architecture and QA Management.
Last summer we have invested into CurlerApp using a vb formula. Since we talk about the team, we understood that was a winner team. I work as a CTO for Curler and I only have good words for them.
OpenDESIGNER is a tool to design Processes and Procedures for Organizations. The goal is to develop an application that can guide the user and make the process audit more easy and intuitive.
I've been working the last 3 years in that amazing project as a CTO. Nimbooks aims to be the next generation of content distribution.
Dictionary system with NLP that can understand the meaning, so gives back the proper answer. We have automated the capture of more than 500 dictionaries.
This year I am participating in the connector accelerator program as a Mentor. I really enjoy that oportunity, helping new startups to find their tech way.


Travel time from the Sonesta Hotel to Star Hill Ranch is approximately 15 minutes. Please plan accordingly. We've commissioned the Soneta's trolley for two trips to and from the hotel. Reservations are not required to use the trolley. We highly encourage everyone who's staying at the hotel to take advantage of this service so you don't have to drive.
| 4:20 PM |
Trolley #1 Departs Sonesta Hotel For Star Hill Ranch |
| 5:00 PM |
Trolley #2 Departs Sonesta Hotel For Star Hill Ranch |
| 5:30 PM |
Wedding Ceremony Begins! (OMG OMG OMG) |
| 5:52ish PM |
return new Jill { LastName = nick.LastName }; |
| 6:00 PM |
Guests: Cocktails & Appetizers. And games! :)
Wedding Party & Family: Photos
|
| 7:00 PM |
Dinner (Mmm... Barbecue...) |
| 7:45 PM |
Toasts & Dancing |
| 9:00 PM |
Cake Time! (Mmm... Cake...) |
| 9:30 PM |
Trolley #1 Departs Star Hill Ranch For Sonesta Hotel |
| 10:45 PM |
Last Dance |
| 11:00 PM |
Trolley #2 Departs Star Hill Ranch For Sonesta Hotel |
| 11:30 PM |
Party At The Sonesta Rooftop Bar!! |


#include <msgbox.h>
Static Public Attributes | |
| const char* | yesText |
| const char* | noText |
| const char* | okText |
| const char* | cancelText |
| const char* | warningText |
| const char* | errorText |
| const char* | informationText |
| const char* | confirmText |
If you need to change them, see file `tvtext.cc'.
Definition at line 118 of file msgbox.h.
|
|
Standard value is "Cancel". |
|
|
Standard value is "Confirm". |
|
|
Standard value is "Error". |
|
|
Standard value is "Information". |
|
|
Standard value is "~N~o". |
|
|
Standard value is "O~K~". |
|
|
Standard value is "Warning". |
|
|
Standard value is "~Y~es". |


OFF
Schedule
Current State:
Manual
Schedule
Start:
End:
Lock
Auto Retry
Timeout:
OK
TIME:
OK
Split
Merge
Move
Schedule JSON:


Soft Unix helps you protect your web application against hundreds of attacks including the most popular ones, SQL Injection, Command Injection, XSS.
You can have any website with us. We do free penetration testing on the websites that we create using the latest technology. Hurry up! to get these web pages.
You can have any mobile app with us. We do free penetration testing on the mobile apps that we create using the latest technology. Hurry up! to get these mobile apps.
We offer mentoring services on business, web app development, mobile app development, ethical hacking, and web app penetration testing.
KRIT Academy is the only low-cost, specialist-supported online course platform in Azerbaijan.