Ornamentum allows flexible customization of the table cells of the Grid (excluding the header and footer sections) or to format the data the table cells display.
If the user uses cell templating for more than one column, the user has to handel rowspan
on that cell
manually by involving both rowSpan
and spanIndex
Please refer Product Type and Revenue
column in Row Span
example.
Following code snippet depicts the integration of cell template. To define the cell template, nest an <ng-template>
tag with the ngDataTableCell
directive inside a <ng-data-table-column>
tag. The
template context is set to the current data item and the following additional fields are passed.
let-column="column" let-row="row" let-spanIndex="spanIndex" let-rowSpan="rowSpan"
There are few more configurations available that affect the cell templating behaviours.
column: DataTableColumnComponent
Target Component: <ng-data-table-column>
To define the cell template, nest an <ng-template>
tag with the ngDataTableCell
directive inside a <ng-data-table-column>
tag.
The current column instance contains all column properties. Users can use it as an alias for a template variable by
utilizing the let-column="column"
syntax.
row: DataTableRow
Target Component: <ng-data-table-column>
To define the cell template, nest an <ng-template>
tag with the ngDataTableCell
directive inside a <ng-data-table-column>
tag.
The current row instance contains all the row data. Users can use it as an alias for a template variable by
utilizing the let-row="row"
syntax.
row
property
spanIndex: number
Target Component: <ng-data-table-column>
To define the cell template, nest an <ng-template>
tag with the ngDataTableCell
directive inside a <ng-data-table-column>
tag.
The span index of the current row is useful when using row spanning. Users can use it as an alias for a template
variable by utilizing the let-spanIndex="spanIndex"
syntax.
Users will need this when using the Cell Templating for more than one column with row span. Users can find such a scenario in Row Span example for the usage of span index.
rowSpan: number
Target Component: <ng-data-table-column>
To define the cell template, nest an <ng-template>
tag with the ngDataTableCell
directive inside a <ng-data-table-column>
tag.
Row Span of the current row is useful when using row span. Users can use it as an alias for a template variable by
utilizing the let-rowSpan="rowSpan"
syntax.
If the user is going to use cell templates for more than one column user has to handel rowspan
on that
cell manually, with involving both rowSpan
and spanIndex


NAME
managelogs - Piped logging program to rotate/purge Apache logs
SYNOPSIS
managelogs
[ options1 ] <base-path1> [[ options2 ] <base-path2> ...]
DESCRIPTION
managelogs is a log processing program primarily intended to be used in
conjunction with Apache's
piped logfile feature. It automatically rotates and purges log files based
on a set of user-defined options.
Features include :
-
- Rotation on a file size limit or time delay
- Rotation on an external signal
- Can run an external command in background each time a rotation occurs
- Purge log files based on a combination of global size limit, number of log
files, and time delay
- Integrated on-the-fly compression,
- Maintains symbolic links on log files (active and/or backup),
- Can change its uid/gid to run as a given (non-root) user/group,
- Ensures that rotations occur on line boundaries,
- Maintains its state across stop/start/restart operations
- Supports reading its data from a named pipe (fifo)
A managelogs process continuously reads data (by default, from its standard
input) and sends it in parallel to its
log manager(s).
A log manager should be considered as an output channel. Each log
manager is defined
on the command line by a set of options followed by a path named
base path
, as this path is used as the base other file names are computed
from. Each set of '[ options ] <base-path>' arguments defines a
log manager. The direcotry part of the
base path
is the
base directory
There is no limit to the number of log managers a
managelogs process can handle. They all receive the same data and each of them
processes it according to its configuration.
Note: In most cases, and especially
during your first steps with managelogs, you will define only one log
manager per managelogs process, making no difference between the log manager
and the managelogs process it belongs to.
A log manager manages an
active
log file (the file it is currently writing into) and a set of
backup
log files.
Backup
log files are previous active log files which have been closed during a
rotation. The default behavior is to create the active and backup log files
in the base directory, but an option allows log files to reside in another
location.
Every time the global limits
are exceeded, a
purge
operation takes place and the oldest backup file is deleted.
Each log manager also maintains a
status file
which, among other information, contains the paths of the active and backup log
files. Thanks to this file, a managelogs process can be stopped and restarted
without loosing its state. When a managelogs process is restarted, each log
manager recovers the state it was in when the process was previously stopped.
Note : unlike other log management programs like
rotatelogs, (re)starting the Apache server does not cause its managelogs
processes to switch to a new log file. The only way to force a file rotation
from the 'outside' is to send a SIGUSR1 signal to the managelogs process
(see SIGNALS).
Another difference with other log rotation programs is that different
processes cannot write to the same log file. A given
base path
must be privately owned and managed by only one log manager. If another program
writes to one of the files maintained by this log manager, the result is unpredictable.
The only exception to this rule is that backup log files can be deleted
(but not written to) at any time without disturbing the logic of the purge
engine.
OPTIONS
---- Global options (these options apply to the whole managelogs process) :
- -h|--help
-
Display the list of available options and exit
- -V|--version
-
Display current version and exit
- -u|--user <id>
-
run with this user/group ID (usable only when the program is started
by root)
<id> = <uid>[:<gid>], where <uid> and <gid> are
user/group names or numeric ids.
- -I|--stats
-
Display internal statistics before exiting (used for troubleshooting, debugging,
or performance tests)
- -R|--refresh-only
-
Just refresh/purge log files and exit
- -i|--input <path>
-
Read data from <path> instead of standard input.
See 'READING FROM A NAMED PIPE' below for more info on named pipe support.
---- Log manager options (apply to the next <base-path> only) :
- -v|--verbose
-
Increment debug level (can be set more than once).
- -d|--debug <path>
-
Write debug messages to <path>.
Special values : 'stdout' and 'stderr' respectively correspond to
the process' standard output and standard error streams.
Default : debug messages go to stderr.
- -c|--compress <comp>[:<level>]
-
Activate compression and append the corresponding suffix to the log file names.
<comp> may be gz or bz2 (this is also the value of the
suffix appended to the log file names).
<level> is one of {1|2|3|4|5|6|7|8|9|best|fast}
Default compression level: best
- -s|--size <size>
-
Sets the log file size at which rotation occurs.
<size> is a numeric value
optionnally followed by a unit : K (Kilobytes), M (Megabytes), or
G (Gigabytes).
Default: no limit
Note that the size we set here is the size the file takes on disk. If compression
is turned on, the limit is checked against the compressed size.
- -r|--rotate-delay <delay>
-
Sets the maximum delay between the creation of a new log file and the next
rotation.
<delay> is a suite of patterns in the form '[0-9]+[dhms]' (d=days, h=hours,
m=minutes, s=seconds)
Example : 1d12h = 1 day and 12 hours (same as '36h')
- -p|--purge-delay<delay>
-
Removes backup log files older than <delay>
Argument: same format as for '--rotate-delay'
- -S|--global-size <size>
-
Sets the maximum size that the managed log files (active + backup) can take on
disk. As soon as this size is exceeded, a purge occurs (the oldest backup file
is removed).
Argument: same format as for '--size'. If this option is set and the '--size'
option is not, the individual file limit is implicitely set to 1/2 of
the global limit (so that the directory always contains at least one backup
file).
Default : no global limit
- -m|--mode <mode>
-
File permissions to apply to newly-created log files.
<mode> is a numeric octal Unix-style file permission (see chmod(1) for more).
Default mode: 644
- -k|--keep <n>
-
Keep only <n> log files (the active one + <n-1> backups). This
option is an alternative to the '--global-size' option, but can also be
used in conjunction, especially if you send signals to trigger rotations
before the size limit is reached.
- -P|--log-path <path>
-
Use <path> instead of the base path when creating a new log
file. <path> can be a relative or absolute path. If it is a relative
path, it is relative to the base directory.
- -l|--link
-
Maintain a link file (named <base-path>) to the active log file.
- -L|--backup-links
-
Also maintain links to the backup log files (backup link are named
<base-path>.{B.001[.gz|.bz2],B.002[.gz|.bz2],...}, most recent first)
- -H|--hardlink
-
Create hard links instead of symbolic links.
Note: when using hard links with a separate log path, the base and log paths
must reside in the same file system.
- -e|--ignore-eol
-
By default, managelogs ensures that log file rotation occurs on line boundaries,
so that every log files contain entire lines. This option disables this
buffering mechanism.
- -C|--rotate-cmd <path>
-
Execute <path> in background each time a rotation occurs.
See 'ROTATE COMMAND' below for more info on this option
- -x|--ignore-enospc
-
Ignore 'file system full' errors. This option causes managelogs to silently
discard data when there is not enough free space to write it on disk.
Warning : This behavior should be activated only if you really understand the
consequences, especially concerning possible log data corruption. If you are not
sure, avoid this option.
FILES
Each log manager maintains its own set of files. The files are named after the
log manager's base and log paths. The directory part of these paths must exist
before managelogs is started. They must also be writable by the user managelogs
is running as. By default, the log path is the same as the base path.
Here are the files that a log manager creates and maintains :
- <base-path>.pid
-
This file is present when a process is currently managing this base path. It
contains
the pid of the managelogs process. This is the file to read to know who to send
signals to. When the process exits, the pid file is removed.
- <base-path>.status
-
The status file. As described above, this file allows a log manager to recover
its previous state at start time. This way, the memory of active and backup
files is kept.
- <log-path>._<xxxxxxxx>[.gz|.bz2]
-
A log file. The <xxxxxxxx> part of the name is a unique identifier
computed
by the log manager when the file is created. When several log files are present,
their alphabetical order corresponds to their creation time chronological
order. So, when you list a directory in
alphabetical order, the oldest backup
log file comes first, and the active log
file comes last, so that the 'cat <base-path>._*' command displays the
whole log data in chronological order.
When compression is turned on, the log manager automatically appends the
compression type to the file name.
- <base-path>
-
If the '--link' option is set, the log manager maintains a link
from <base-path> to the active log file. By default, it is a symbolic link,
but the '--hardlink' option allows to use hard links instead.
- <base-path>.B.{001[.gz|.bz2],002[.gz|.bz2],...}
-
These are also links, but to the backup log files. They are created and
maintained only if the '--backup-links' option was set. The files are numbered
in reverse chronological order : <base-path>.B.001[.gz|.bz2] is the most recent backup,
<base-path>.B.002[.gz|.bz2] is the previous one...
SIGNALS
- SIGUSR1
-
This signal triggers an immediate rotation on every log managers attached to
the process. Note that the rotation can cause the global conditions
to be exceeded. In this case, a purge will follow.
- SIGUSR2
-
This signal causes every log managers to flush to disk the data they may
have in memory. This is especially useful for compressed streams, as compressed
files
cannot be read before such a flush operation is executed. This is due to the
fact that a compressed file must contain a trailer block to be valid. As long
as the compression engine processes the data, this trailer block is not
written and, if you try to read the compressed data from the file, it is
considered as invalid. When you send a SIGUSR2 signal to the process, the compression
engine flushes the data it currently has in memory, writes the corresponding
trailer data to the file, and starts a new block. Then, you can uncompress
the data from the compressed file. Note that this flush operation adds about
16 bytes to the log file, so it shouldn't be done too often.
- SIGTERM
-
Causes the managelogs process to exit cleanly (flush data to disk, update status
file, and exit). You will need this signal when reading from a named
pipe as, in this case, this is the only way to stop the managelogs process.
SIGKILL should never be sent as it cannot be trapped
and will create inconsistencies in the status file.
ROTATE COMMAND
Every time managelogs decides to switch to a new log file, whatever reason it
may have for this, an external command can be executed. This is what we call the
rotate command.
This command is set via the --rotate-cmd option on the managelogs command line.
The option value is the path of an executable file (binary or script).
This executable file is run in background and its return code is ignored.
Actually, once launched, the subprocess is totally forgotten by the managelogs
process. So,
there is no limit to the time it may take, as it does not suspend managelogs
execution.
The subprocess receives several environment variables from managelogs :
- LOGMANAGER_FILE_PATH
-
The path to the log file managelogs just closed. In a statistics gathering
scenario, for instance, the data to integrate will be read from this file.
- LOGMANAGER_BASE_PATH
-
This is the
base path
associated with this log manager.
- LOGMANAGER_BASE_DIR
-
This is the directory part of the
base path
- LOGMANAGER_LOG_PATH
-
This is the
log path
as the base path.
- LOGMANAGER_LOG_DIR
-
This is the directory part of the
log path
- LOGMANAGER_COMPRESSION
-
This is the compression type used to write to the log file. If compression
is off, contains an empty string.
- LOGMANAGER_VERSION
-
The version of the log manager library.
- LOGMANAGER_TIME
-
The current time in Unix numeric format (number of seconds since 01/Jan/1970).
All the paths transmitted in these variables are absolute paths, even if
relative paths were provided on the command line.
Note : During its execution, the rotate command is allowed to delete the
file pointed to by $LOGMANAGER_FILE_PATH. You may do it, for instance, if you just
want some statistics without keeping the detailed logs, or if you use the rotate
command to transfer the log file to another location/server.
Also note that you shouldn't assume anything about the default directory the
command is executed in. Either you explicitely set a default directory at
the beginning of your script ('cd $LOGMANAGER_BASE_DIR' for instance), or you
must use absolute paths only. Relative
paths are supported on the managelogs command line because they are
internally converted to absolute paths before being used.
READING FROM A NAMED PIPE
Although managelogs was primarily intended to be used with Apache, it can be
used as a general purpose log managing program for a lot of other software.
As these software generally don't support a piped logfile feature similar to
Apache, an alternative is to connect them with managelogs through a named pipe
(aka fifo).
In order to connect to managelogs through a named pipe :
-
- The pipe file must exist before both processes are started (mkfifo),
- If the writer process is started before managelogs, its write operations to
the pipe can block after a given amount of data. This is why it is generally
recommended to start the reader process (managelogs) before the writer.
Actually, it is more natural, as, in such an architecture, the writer process
can stop and restart while the reader process is supposed to remain untouched.
The same when stopping the process: the correct procedure is to stop the writer
process before the reader, to make sure that any remaining buffered data won't
be lost.
- The '-i|--input' option must be used on the managelogs command line, followed
with the path of the named pipe (if you redirect the standard input from
the named pipe, managelogs cannot detect that its input is coming from a pipe).
- managelogs then automatically detects that the file it is reading from is a named
pipe, and adapts its behavior (see below).
Note that managelogs explicitely checks the input file type. In other words,
using the '--input' option does not automatically imply the 'named pipe behavior'.
If the option is followed with the path of a regular file, managelogs will
behave as if this file had been redirected to its standard input.
When managelogs is reading from a named pipe, it remains connected indefinitely,
even after the process writing to the pipe exits. This way,
both processes are independant : one or several writer processes can connect to and
disconnect from the pipe (in turn) without disturbing the managelogs process.
Although technically possible, you should probably avoid having several
processes write to the same pipe in parallel, as the data coming
from the different processes will be mixed in a way you cannot control.
The only way to stop a managelogs process connected to a named pipe is to kill it
with a SIGTERM signal.
EXAMPLES
Say we want to keep the last 3 Mbytes of access_log data in /var/log/httpd,
each log file will take at most 1 Mbyte, and we want to maintain symbolic
links to the active and backup log files.
The corresponding configuration line looks like :
CustomLog "| /usr/bin/managelogs --size 1M --global-size 3M --link --backup-links /var/log/httpd/access_log" combined
Here is a typical list of files present in the /var/log/httpd directory with
such a configuration :
# ls -l $apache_dir/logs/access_log*
...
lrwxrwxrwx 1 root root 20 Mar 17 15:16 access_log -> access_log._49BFB0A2
lrwxrwxrwx 1 root root 20 Mar 17 15:16 access_log.B.001 -> access_log._49BF8366
lrwxrwxrwx 1 root root 20 Mar 17 15:16 access_log.B.002 -> access_log._49BF2522
-rw-r--r-- 1 root root 1048564 Mar 5 12:34 access_log._49BF2522
-rw-r--r-- 1 root root 1048543 Mar 17 15:16 access_log._49BF8366
-rw-r--r-- 1 root root 483328 Mar 19 07:05 access_log._49BFB0A2
-rw-r--r-- 1 root root 6 Feb 22 08:30 access_log.pid
-rw-r--r-- 1 root root 321 Mar 17 15:16 access_log.status
- In this list you can see (in alphabetical order) :
-
- The symbolic link to the active log file
- The 2 symbolic links to the backup log files
- The 2 backup log files (in chronological order)
- The active log file
- The pid file
- The status file
Now, something more complex : we want to keep 3 Mbytes of uncompressed log
data
to be used by our 1st-level support team, as in the previous example, and we
also need to archive a bigger amount of data for 2nd-level analysis,
security, compliance, or any other need. This archived data will be compressed,
as it allows to save a lot of space (usually more than 95 %).
The corresponding directive looks like :
CustomLog "| /usr/bin/managelogs --size 1M --global-size 3M --link --backup-links /var/log/httpd/access_log --size 100M --global-size 1G --compression bz2:best /archives/logs/access_log" combined
With such a configuration, the files in the /var/log/httpd directory will
be the same as in the previous example, but managelogs will also maintain the
most recent 1 Gbytes of compressed access log data in /archives/logs (in
chunks of 100 Mbytes). This way, we have two levels of access to the log
data : the most recent data is easily accessible and, when we need to examine
something older, it is less easy, but the retention size is much larger.
Now, if we want to force an immediate rotation of these log files, whatever
reason we may have for this, the command to use is :
kill -USR1 `cat /var/log/httpd/access_log.pid`
Note that we could also have used '/archives/logs/access_log.pid', as both pid
files contain the same. The signal triggers a rotation in both directories.
Here is a typical example of using a rotate command :
First, we create an executable text file with the following content :
!/bin/sh
perl <awstat-dir>/awstats.pl -config=<mysite> -update -LogFile=$LOGMANAGER_FILE_PATH
This script integrates the rotated log file ($LOGMANAGER_FILE_PATH) in an
AWStats database. To have managelogs execute it each time a rotation
occurs, we add the '-C /path/to/the/script' option on the managelogs command line
(remember to use only absolute paths with managelogs).
Note : This option applies only to a single log manager. If you are using
several log managers (as in the example above), you can define different
rotate commands for the different log managers.
As a complement, if we want the statistics to be integrated at least once
per day, we can add '--rotate-delay 1d' on the managelogs command line.
Another way would be to create a cron job, executed every night :
0 0 * * * kill -USR1 `cat /var/log/httpd/access_log.pid`
SEE ALSO
The managelogs web site : http://managelogs.tekwire.net
AUTHOR
Francois Laupretre<EMAIL_ADDRESS>LICENSE
Apache license, Version 2.0 <http://www.apache.org/licenses/>
BUGS
Please send bug reports to <managelogs-bugs@tekwire.net>


JoseBot Chess Board!
Analysis This!
Castling...
Black:
o-o-o
o-o
White:
o-o-o
o-o
Side to move...
Black
White
This is FEN String...


Chester Bennington
The man who touched the hearts of billions
Here's a time line of Chester Bennington's life:
- 1976 - Born in Phoenix, Arizona
- 1993 - He became part of his first band ‘Sean Dowdell and His Friends?’
- Later in 1993 - He joined the band ‘Grey Daze’, however he was not happy being part of the band as he was not given due credit.
- 1998 - Left 'Grey Daze'.
- 2000 - Joined the band ‘Linkin Park’, they also released their debut album, ‘Hybrid Theory,’ for which he provided the vocals. This album soon became the best selling album of the year.
- 2003 - He provided vocals for the ‘Linkin Park’ album ‘Meteora,’ which was released under ‘Warner Bros. Records.’ The album earned worldwide recognition and peaked at number one positions in both the US and UK charts. It also peaked at number two in Australia immediately after it was released.
- 2005 - He created his own rock band named ‘Dead by Sunrise.’
- 2006 - He played the role of a pharmacy customer in the American action film ‘Crank.’
- 2007 - Released his third album ‘Minutes to Midnight’ selling over 600,000 copies in its first week and peaking at the top spot on ‘Billboard’ charts.
- 2010 - He provided vocals for Linkin Park’s fourth album ‘A Thousand Suns’ which was a multi-concept album, highlighting the concept of nuclear warfare.
- 2010 - He appeared in a minor role in the 3D horror film ‘Saw 3D.’
- 2012 - He featured as the lead singer for Linkin Park’s album ‘Living Things,’ which was one among the band’s bestselling albums.
- 2017 - Chester was found dead in his home. He had committed suicide by hanging. It was reported that he was very upset following the death of his friend Chris Cornell. Bennington committed suicide on what would have been Cornell's 53rd birthday.
"When life leaves us blind, love keeps us kind."
- Chester Bennington.


18 May 2013
Playing Binary Dice with Arduino
I wanted to play with Arduino for a long time and now I got a weekend that I can work on it. Unfortunately I need to boot a new OS to my RaspberryPi to work since I had some issues connecting the Network interface to it. Anyway I am trying to build a small LED Dice as a starter project for Arduino. I got myself a book regarding Arduino which had this toy project.
The Circuit
I knew that Arduino’s 13th socket can be used to connect LEDs directly to the board but didn’t knew actually why. Arduino sockets have high voltage but the 13th socket has a inbuilt 1k resistor inbuilt. For this project I am using 12, 11, 10 sockets.
Breadboard basics
One of the biggest hiccups I faced was not knowing how to use the breadboard properly. Well everything has a learning curve. You can’t traverse opposing currents in the same line of the breadboard. It will not work that way. Below is an example.
The top most resistor and LED are connected in the wrong way. The other two are connected in the correct way.
So be careful when using the breadboard. Also another {“good tip is to cut off the pins to the right size”} since it becomes a head-ache to manage them.
Conclusion
I am starting my work on Arduino and will be learning more and more about electronics in the following months. I have couple of projects planned out. Also there is a Sri Lankan Arduino alternative built which is called TechArduino which is a cheaper alternative so the motivation to build more projects is arising :D.
Till next time mate,
Dulitha
at 12:23


--- layout: page-with-toc title: Programme titlecontent: "" headings: "overview,general_Friday" ---
FOSS4G SotM Oceania 2020 is taking place online on 20 November 2020. We have created an exciting program with you—the FOSS4G and OpenStreetMap community.
{% include schedule/_general.html %}


- generalizationTest() - Method in class com.example.meditrackr.CareProviderTest
-
- generalizationTest() - Method in class com.example.meditrackr.PatientTest
-
- geoLocate() - Method in class com.example.meditrackr.controllers.LocationController
-
- Geolocation - Class in com.example.meditrackr.models.record
-
Geolocation: represents a geolocation point on a map by tracking latitude,
longitude, and a string address name of the geolocation for a particular record.
- Geolocation(double, double, String) - Constructor for class com.example.meditrackr.models.record.Geolocation
-
Constructs a new Geolocation object with latitude, longitude, and address.
- GeoLocationTest - Class in com.example.meditrackr
-
GeoLocation Unit Tests
- GeoLocationTest() - Constructor for class com.example.meditrackr.GeoLocationTest
-
- getAddress() - Method in class com.example.meditrackr.models.record.Geolocation
-
Gets the address name.
- getBodyCoordinate() - Method in class com.example.meditrackr.models.record.BodyLocation
-
Gets the body coordinate array.
- getBodyFace() - Method in class com.example.meditrackr.models.record.BodyLocation
-
Gets the string name (id) of the type of body location photo or mannequin (eg,
front or back).
- getBodyLocation() - Method in class com.example.meditrackr.models.record.BodyLocation
-
Gets the string name (id) of the body location photo or mannequin.
- getBodyLocation() - Method in class com.example.meditrackr.models.record.Record
-
Gets the body location object associated with the record.
- getCarePatient() - Static method in class com.example.meditrackr.controllers.LazyLoadingManager
-
gets the patient that a care provider has
- getCareProvider() - Static method in class com.example.meditrackr.controllers.LazyLoadingManager
-
gets a care Provider
- getCareProviderPatients() - Static method in class com.example.meditrackr.controllers.LazyLoadingManager
-
gets a list of all patients assignd to the care provider
- getComment() - Method in class com.example.meditrackr.models.Comment
-
gets the comment user made
- getComment(int) - Method in class com.example.meditrackr.models.CommentList
-
Retrieve a comment from the list using an index.
- getComments() - Method in class com.example.meditrackr.models.Problem
-
gets all comments on the problem
- getCount() - Method in class com.example.meditrackr.adapters.FullScreenImageAdapter
-
- getCount() - Method in class com.example.meditrackr.adapters.PlaceAutocompleteAdapter
-
Returns the number of results received in the last autocomplete query.
- getCurrentUsername() - Static method in class com.example.meditrackr.controllers.LazyLoadingManager
-
gets the username of user
- getDate() - Method in interface com.example.meditrackr.interfaces.Details
-
- getDate() - Method in class com.example.meditrackr.models.Comment
-
Gets the date (timestamp) when the comment was sent.
- getDate() - Method in class com.example.meditrackr.models.Problem
-
gets the date of the problem
- getDate() - Method in class com.example.meditrackr.models.record.Record
-
Gets the date (timestamp) for the record.
- getDate() - Method in class com.example.meditrackr.utils.CustomFilter
-
- getDescription() - Method in interface com.example.meditrackr.interfaces.Details
-
- getDescription() - Method in class com.example.meditrackr.models.Problem
-
gets the description of the problem
- getDescription() - Method in class com.example.meditrackr.models.record.Record
-
Retrieves the string description (comment) of the record.
- getDescription() - Method in class com.example.meditrackr.utils.CustomFilter
-
- getDistance() - Method in class com.example.meditrackr.models.record.Geolocation
-
- getEmail() - Method in interface com.example.meditrackr.interfaces.Profile
-
- getEmail() - Method in class com.example.meditrackr.models.Profile
-
gets user's email
- getFilter() - Method in class com.example.meditrackr.adapters.PlaceAutocompleteAdapter
-
Returns the filter for the current set of autocomplete results.
- getGeoLocation() - Method in class com.example.meditrackr.models.record.Record
-
Gets the Geolocation for the record.
- getGeolocation() - Method in class com.example.meditrackr.utils.CustomFilter
-
- getHour() - Method in class com.example.meditrackr.utils.TimePickerFragment
-
- getHourOfDay(long) - Static method in class com.example.meditrackr.utils.DateUtils
-
- getId() - Method in class com.example.meditrackr.models.PlaceInfo
-
- getImage(int) - Method in class com.example.meditrackr.models.record.PhotoList
-
Gets the image at a given index of the array.
- getImageAll() - Method in class com.example.meditrackr.models.Problem
-
gets all the images on the problem
- getImages() - Static method in class com.example.meditrackr.controllers.LazyLoadingManager
-
gets images
- getImages() - Method in class com.example.meditrackr.models.record.BodyLocation
-
Gets the recordphoto list holding
bodylocation photos
- getImages() - Method in class com.example.meditrackr.models.record.Record
-
Gets images for the record.
- getIndex(Comment) - Method in class com.example.meditrackr.models.CommentList
-
Get the index of a comment.
- getIndex(Problem) - Method in class com.example.meditrackr.models.ProblemList
-
gets the index of a problem
- getIndex(byte[]) - Method in class com.example.meditrackr.models.record.PhotoList
-
Gets the index of an Bitmap image object from the PhotoList.
- getIndex(Record) - Method in class com.example.meditrackr.models.record.RecordList
-
Retrieve the index of a specific item.
- getIndexTest() - Method in class com.example.meditrackr.ProblemListTest
-
- getInfoContents(Marker) - Method in class com.example.meditrackr.adapters.CustomInfoWindowAdapter
-
- getInfoWindow(Marker) - Method in class com.example.meditrackr.adapters.CustomInfoWindowAdapter
-
- getIsCareProvider() - Static method in class com.example.meditrackr.controllers.LazyLoadingManager
-
finds out if the profile is a care provider or not
- getisCareProvider() - Method in interface com.example.meditrackr.interfaces.Profile
-
- getisCareProvider() - Method in class com.example.meditrackr.models.Profile
-
gets if a user is a care provider or not
- getIsSet() - Method in class com.example.meditrackr.utils.TimePickerFragment
-
- getItem(int) - Method in class com.example.meditrackr.adapters.PlaceAutocompleteAdapter
-
Returns an item from the last autocomplete query.
- getItemCount() - Method in class com.example.meditrackr.adapters.careprovider.PatientAdapter
-
- getItemCount() - Method in class com.example.meditrackr.adapters.careprovider.ProblemAdapter
-
- getItemCount() - Method in class com.example.meditrackr.adapters.careprovider.RecordAdapter
-
- getItemCount() - Method in class com.example.meditrackr.adapters.MessageListAdapter
-
- getItemCount() - Method in class com.example.meditrackr.adapters.patient.ProblemAdapter
-
- getItemCount() - Method in class com.example.meditrackr.adapters.patient.RecordsAdapter
-
- getItemCount() - Method in class com.example.meditrackr.adapters.SearchAdapter
-
- getItemOffsets(Rect, View, RecyclerView, RecyclerView.State) - Method in class com.example.meditrackr.controllers.VerticalSpaceController
-
sets the integer of space between items
- getItemViewType(int) - Method in class com.example.meditrackr.adapters.MessageListAdapter
-
- getLatitude() - Method in class com.example.meditrackr.controllers.LocationController
-
Function to get latitude
- getLatitude() - Method in class com.example.meditrackr.models.record.Geolocation
-
Gets the latitude coordinate.
- getLocation() - Method in class com.example.meditrackr.controllers.LocationController
-
get the actual location
- getLongitude() - Method in class com.example.meditrackr.controllers.LocationController
-
Function to get longitude
- getLongitude() - Method in class com.example.meditrackr.models.record.Geolocation
-
Gets the longituede coordinate.
- getMinute(long) - Static method in class com.example.meditrackr.utils.DateUtils
-
- getMinute() - Method in class com.example.meditrackr.utils.TimePickerFragment
-
- getName() - Method in class com.example.meditrackr.models.PlaceInfo
-
gets the name
- getPatient() - Static method in class com.example.meditrackr.controllers.LazyLoadingManager
-
gets a patient
- getPatient(int) - Method in class com.example.meditrackr.models.CareProvider
-
Gets a specific patient from the care provider's PatientList.
- getPatient(int) - Method in class com.example.meditrackr.models.PatientList
-
this function will get a patient as a specific index
- getPatients() - Static method in class com.example.meditrackr.controllers.LazyLoadingManager
-
- getPatients() - Method in class com.example.meditrackr.models.CareProvider
-
Retrieves the CareProvider's patients.
- getPhone() - Method in interface com.example.meditrackr.interfaces.Profile
-
- getPhone() - Method in class com.example.meditrackr.models.Profile
-
gets user's phone number
- getPhoto() - Method in interface com.example.meditrackr.interfaces.Photo
-
- getProblem(int) - Method in class com.example.meditrackr.models.Patient
-
Retrieves a specific problem from from the problem list.
- getProblem(int) - Method in class com.example.meditrackr.models.ProblemList
-
gets a problem to add to the list
- getProblemIndex() - Static method in class com.example.meditrackr.controllers.LazyLoadingManager
-
gets a problems index
- getProblemIndex() - Method in class com.example.meditrackr.utils.CustomFilter
-
- getProblems() - Method in class com.example.meditrackr.models.Patient
-
Retrieves the list all problems that the patient has logged.
- getProfile() - Static method in class com.example.meditrackr.controllers.LazyLoadingManager
-
gets a profile
- getRecord(int) - Method in class com.example.meditrackr.models.Problem
-
gets a record at a specified index
- getRecord(int) - Method in class com.example.meditrackr.models.record.RecordList
-
Gets a record from a given index.
- getRecordIndex() - Method in class com.example.meditrackr.utils.CustomFilter
-
- getRecords() - Method in class com.example.meditrackr.models.Problem
-
gets the records of the problem
- getReminder(int) - Method in class com.example.meditrackr.models.record.Record
-
Gets the reminder from the reminder list using an index.
- getReminders() - Method in class com.example.meditrackr.models.record.Record
-
Gets the reminder list for the record.
- getSize() - Method in class com.example.meditrackr.models.CommentList
-
Get the number of comments in the list.
- getSize() - Method in class com.example.meditrackr.models.PatientList
-
this function will get the amount of patients in the list
- getSize() - Method in class com.example.meditrackr.models.ProblemList
-
gets the number of problems in the list
- getSize() - Method in class com.example.meditrackr.models.record.PhotoList
-
Gets the number of photos in the PhotoList.
- getSize() - Method in class com.example.meditrackr.models.record.RecordList
-
Gets the number of the records in the RecordList.
- getTitle() - Method in interface com.example.meditrackr.interfaces.Details
-
- getTitle() - Method in class com.example.meditrackr.models.Problem
-
gets the title of the problem
- getTitle() - Method in class com.example.meditrackr.models.record.Record
-
Gets the title for the record.
- getTitle() - Method in class com.example.meditrackr.utils.CustomFilter
-
- getUsername() - Method in interface com.example.meditrackr.interfaces.Profile
-
- getUsername() - Method in class com.example.meditrackr.models.Comment
-
Gets the username of the user who wrote the comment.
- getUsername() - Method in class com.example.meditrackr.models.Profile
-
gets username
- getUsername() - Method in class com.example.meditrackr.utils.CustomFilter
-
- getView(int, View, ViewGroup) - Method in class com.example.meditrackr.adapters.PlaceAutocompleteAdapter
-


Main Content
Welcome to the Barrier Reef Orchestra
Fast becoming one of North Queensland’s cultural jewels, the Barrier Reef Orchestra (BRO) this year launches its 17th year of performing orchestral music through North Queensland. BRO is a community orchestra consisting of the finest musicians drawn from Townsville and as far afield as Cairns and Mackay.
Free Family Event
Co-presented by Townsville City Council, this hugely popular garden concert has become a firm favourite on the events calendar for locals and visitors alike. Set in the leafy grounds of Queens Park, this 90 minute concert provides audiences with a variety of entertainment – not all of it chamber music.
Visiting Festival artists will be joined by local talent including the Barrier Reef Orchestra and the 1RAR band.
Bulletin Board
- Notice – Committee Nominations, 2017
Nominations have been received for the AGM on 21st May 2017...
- Review – AFCM 25th Anniversary Concert
A very pleasant Sunday afternoon in Queens Gardens...
- Review – Dreams and Dances
Dance and music go together like a, ahem, horse and carriage or in 2016...
- Review – World Music Concert
The World Music Concert was a breath of fresh air to Townsville music lovers...


|
Dear {{ firstName}} {{ lastName }},
ISB-CGC is funded by the National Cancer Institute (NCI) to provide cloud-based tools
and data to the
cancer research community.
Your feedback is important to the NCI and us.
Please help us by filling out this form:
Thank you.
ISB-CGC team
|


--- layout: default title: Software permalink: /software/ published: false ---
Quick 5 line intro about software
{{ page.excerpt }}


In fourth year of secondary school I went on a week of work experience in the primary school I attended.
Everyday I had different tasks I had to carry out like correcting homework and photocopying activity sheets.
I spent two days in the lower classes and the last three days in the classroom with 5th and 6th class.
I really enjoyed the week I spent there with the kids and with my past teachers.
While in fourth year in secondary school I spent five days in the aquarium during the halloween break.
These few days of work experience were a lot different than the time I spent in the primary school.
It was different in the way that I felt I was part of the work force. I had daily tasks I had to complete.
My tasks included feeding the fish and cleaning out the tanks.
Towards the beginning of fifth year in secondary school I started working in a hotel in my local area in a kids club.
I work in the kids club currently. I work during the weekends and during primary school holidays like summer and
christmas break. I take care of the children during their stay in the hotel. My fellow colleagues and I play games
and do activities with the children.


The purpose of this guide is to show how we setup Postgres on a standard VPS. No prior DevOps experience is assumed/expected, however some understanding of basic Postgres concepts is useful.
Note: if you are new to Postgres or need a refresher, please see: github.com/dwyl/learn-postgresql
If you don’t already have a Virtual Private Server (VPS) instance, create one.
In the case of this guide, we are using DigitalOcean because they have a good balance of Price/Performance. We did a bunch of research into the comparative cost/perf: learn-devops/issues/58 We concluded that the NVMe SSD Block Storage of DigitalOcean, was the best in the cost/perf tradeoff.
At the time of writing, there is no 1-click Postgres setup in the DO Marketplace: https://marketplace.digitalocean.com So we are doing our setup from scratch.
Visit: Select the instance Operating System and Plan:
Select the instance Operating System and Plan:
Scroll down to the “Add Block Storage” section and enter 1gb into the field:
We’re going to increase the size in a later step, so keep it low for now just to set it up. https://www.digitalocean.com/docs/volumes/how-to/increase-size/
Select Ext4
for the filesystem and then select the datacenter region that bests suits your needs.
We selected
Ext4
filesystem based on reading this post: https://blog.pgaddict.com/posts/postgresql-performance-on-ext4-and-xfs It appears to be 10% faster for Postgres.
Scroll down until you see the “Choose a hostname” field. Enter a relevant name, in our case “hits”:
Scroll to the bottom of the page and click “Create Droplet”.
Given that the data directory will be on the separate block storage, we aren’t bothering with the $1/month backup.
Once your server has been created, follow the initial server setup guide: https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-18-04
Following this guide: https://www.digitalocean.com/community/tutorials/how-to-install-and-use-postgresql-on-ubuntu-18-04
Login to the VPS using ssh:
ssh<EMAIL_ADDRESS>Update the OS and install Postgres:
Once everything is installed, Switch to the Postgres user:
sudo -i -u postgres
You should see the following in your terminal to indicate that you’re logged in as the postgres user:
postgres@hits:~$
createuser --interactive
hitsnodelete
This username is fairly self-evident. We want a user that can insert
records but not delete
any data.
Shall the new role be a superuser? (y/n)
Select n
, for all options as we don’t want our user to be a superuser
.
Following this guide: https://www.digitalocean.com/community/tutorials/how-to-move-a-postgresql-data-directory-to-a-new-location-on-ubuntu-18-04
Login to postgres:
sudo -u postgres psql
Display the data directory:
SHOW data_directory;
You should see:
data_directory
-----------------------------
/var/lib/postgresql/10/main
(1 row)
Quit postgres:
\q
Shut down postgres:
sudo systemctl stop postgresql
Confirm the status of postgres:
sudo systemctl status postgresql
You should see something similar to the following:
● postgresql.service - PostgreSQL RDBMS
Loaded: loaded (/lib/systemd/system/postgresql.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Mon 2020-07-20 03:11:02 UTC; 7s ago
Main PID: 8928 (code=exited, status=0/SUCCESS)
Jul 20 02:25:23 hits systemd[1]: Starting PostgreSQL RDBMS...
Jul 20 02:25:23 hits systemd[1]: Started PostgreSQL RDBMS.
Jul 20 03:11:02 hits systemd[1]: Stopped PostgreSQL RDBMS.
Copy the postgres data directory to the block storage volume:
sudo rsync -av /var/lib/postgresql /mnt/volume_lon1_01
In our case our mounted block storage is /mnt/volume_lon1_01
Rename main
data to main.bak
just so we have a backup:
sudo mv /var/lib/postgresql/10/main /var/lib/postgresql/10/main.bak
Edit the postgres config:
sudo nano /etc/postgresql/10/main/postgresql.conf
Find the data_directory
line and update it to:
data_directory = '/mnt/volume_lon1_01/postgresql/10/main'
Save and quit the file.
Start postgres again:
sudo systemctl start postgresql
Check the status:
sudo systemctl status postgresql
You should see the following:
● postgresql.service - PostgreSQL RDBMS
Loaded: loaded (/lib/systemd/system/postgresql.service; enabled; vendor preset: enabled)
Active: active (exited) since Mon 2020-07-20 03:17:59 UTC; 5s ago
Process: 20422 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
Main PID: 20422 (code=exited, status=0/SUCCESS)
Jul 20 03:17:59 hits systemd[1]: Starting PostgreSQL RDBMS...
Jul 20 03:17:59 hits systemd[1]: Started PostgreSQL RDBMS.
Login to psql
:
sudo -u postgres psql
Show the data_directory
:
SHOW data_directory;
You should see:
data_directory
----------------------------------------
/mnt/volume_lon1_01/postgresql/10/main
(1 row)
Success.


observations about GRIN: (from someone else)
ricToday at 21:34
A few observations I had while implementing this:
By default they want you to essentially pay to IP addresses.  At the very least you should strongly encourage (ie. nearly force) people to give out public keys along with their IPs, since otherwise MITM attacks are trivial. Even then it sucks to require the recipient to run an open-to-the-Internet server at all. And for goodness' sake, don't use the broken/centralized HTTPS system; the Bitcoin Core devs have been going to a lot of trouble trying to remove that garbage from Core.
A better protocol for the copy/paste method is needed. For one, you shouldn't have to use intermediary files. I was annoyed when I did grin wallet send -m file -d - and it actually created a file called "-" instead of writing to stdout like it should.
grin needs to be much better at handling transactions that never continue beyond the first or second step in the three-way transaction process. They probably shouldn't even show up in the main transaction log.
Currently I think that there's no way for the recipient to get the modified slate after running receive the first time (eg. if it gets lost), which is nuts. And currently there appears to be no reasonable method for proving that you sent a transaction.
####
so if indeed it is pay to IP address... then it seems quite an adoption issue. how to people with dynamic IP use this? and indeed what about MITM attacks, or all the NAT home isp where the user might not even have an external ip address?


{% extends "base.html" %} {% block content %}
It looks like everything worked!
Click below to download your converted file.


Upload
Reset Data


The main class of Libvaxy that makes everything work. Contains certain useful methods regarding FallingTile and StackInspect.
More...
The main class of Libvaxy that makes everything work. Contains certain useful methods regarding FallingTile and StackInspect.
Definition at line 21 of file LibvaxyMod.cs.
◆ LibvaxyMod()
| Libvaxy.LibvaxyMod.LibvaxyMod |
( |
| ) |
|
◆ InspectStack()
◆ Load()
| override void Libvaxy.LibvaxyMod.Load |
( |
| ) |
|
|
inline |
◆ PostAddRecipes()
| override void Libvaxy.LibvaxyMod.PostAddRecipes |
( |
| ) |
|
◆ PostLoad()
| void Libvaxy.LibvaxyMod.PostLoad |
( |
| ) |
|
|
inline |
◆ SendMessage()
| static void Libvaxy.LibvaxyMod.SendMessage |
( |
string |
message, |
|
|
Color |
color, |
|
|
int |
excludedPlayer = -1 |
|
) |
| |
|
inlinestatic |
◆ SpawnFallingTile() [1/2]
| static int Libvaxy.LibvaxyMod.SpawnFallingTile |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
tileType, |
|
|
int |
damage, |
|
|
float |
knockback = 6f |
|
) |
| |
|
static |
◆ SpawnFallingTile() [2/2]
| static int Libvaxy.LibvaxyMod.SpawnFallingTile |
( |
Point |
position, |
|
|
int |
tileType, |
|
|
int |
damage, |
|
|
float |
knockback = 6f |
|
) |
| |
|
static |
◆ Unload()
| override void Libvaxy.LibvaxyMod.Unload |
( |
| ) |
|
|
inline |
◆ disposeList
| List<IDisposable> Libvaxy.LibvaxyMod.disposeList |
|
staticprivate |
◆ FallingTileTextures
| Dictionary<int, Texture2D> Libvaxy.LibvaxyMod.FallingTileTextures |
|
static |
◆ ModAssemblies
| Dictionary<string, Assembly> Libvaxy.LibvaxyMod.ModAssemblies |
|
static |
◆ TerrariaAssembly
| Assembly Libvaxy.LibvaxyMod.TerrariaAssembly |
|
static |
The documentation for this class was generated from the following file:


OMICS sciences center
eeDB_core
Home
Genome Browser
EdgeExpressDB
Data
FANTOM4 EdgeExpressDB
about
center view
subnet view
expression view
contents
Relationship and Interaction EDGE sources
Feature sources
Expression experiments


This document provides an overview of the various pages that document this project's source code. All of this content is automatically generated by Maven from the project POM.
| Document | Description |
| JavaDocs | JavaDoc API documentation. |
| Test JavaDocs | Test JavaDoc API documentation. |
| Source Xref | HTML based, cross-reference version of Java source code. |
| Test Source Xref | HTML based, cross-reference version of Java test source code. |


We optimize solutions!
- whiteboard vertical infomediaries
- embrace plug-and-play relationships
- engage granular partnerships
- reintermediate virtual web-readiness
- empower collaborative functionalities
- deliver enterprise markets
- target sticky paradigms
- reinvent innovative portals
- maximize holistic applications
- transform strategic communities


Contact Me
Dark Mode
A Blog About Software Development And Life
This is a list of all my blog posts. I publish my blog posts over on
Hashnode


Using torba on Windows/cygwin
A port to Windows/cygwin was created to make Windows useful for UNIX people. Following are the compilation and installation steps.
Compile torba from the linux directory of the snapshot:
cd linux makeInstall torba:
sudo make install
$ diff -uNp config.mk.old config.mk --- config.mk.old 2010-01-11 16:23:55.503440600 -0600 +++ config.mk 2010-01-11 16:24:04.300315600 -0600 @@ -20,7 +20,7 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 # flags CPPFLAGS = -D_BSD_SOURCE -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} -CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} +CFLAGS = -Wall -Os ${INCS} ${CPPFLAGS} LDFLAGS = -s ${LIBS} # SolarisCompile it:
makeInstall dmenu:
sudo make installCreate a .xinitrc in the home dir of the user and add at least the following line:
exec /usr/local/bin/torbaIf the stupid menu bar in xterm angers you add the folowing line to ~/.Xdefaults
xterm.ToolBar: false
$torba: cygwin.html,v 1.2 2010/09/16 02:00:51 marco Exp $


2019 March Madness
Home
(current)
Official Bracket
What's Happening Now
Map View
2019 March Madness Official Tournament Bracket
First Round
Mar 21-22
Second Round
Mar 23-24
Sweet 16
Mar 28-29
Elite 8
Mar 30-31
Final 4
Apr 6
National Championship
Apr 8 at Minneapolis, MN
Final 4
Apr 6
Elite 8
Mar 30-31
Sweet 16
Mar 28-29
Second Round
Mar 23-24
First Round
Mar 21-22
1
Duke
16
North Dakota St.
8
VCU
9
UCF
5
Mississippi St.
12
Liberty
4
VA Tech
13
Saint Louis
6
Maryland
11
Belmont
3
LSU
14
Yale
7
Louisville
10
Minnesota
2
Mich. St.
15
Bradley
1
Gonzaga
16
Farleigh D'son
8
Syracuse
9
Baylor
5
Marquette
12
Murray State
4
Florida State
13
Vermont
6
Buffalo
11
Arizona St.
3
Texas Tech
14
Northern Kentucky
7
Nevada
10
Florida
2
Michigan
15
Montana
Duke
UCF
Liberty
VA Tech
Maryland
LSU
Minnesota
Mich. St.
Gonzaga
Baylor
Murray State
Florida State
Buffalo
Texas Tech
Florida
Michigan
Duke
VA Tech
LSU
Mich. St.
Gonzaga
Florida State
Texas Tech
Michigan
Duke
East
Mich. St.
Gonzaga
West
Texas Tech
Mich. St.
Texas Tech
????
Who will win?
????
Auburn
Virginia
Auburn
Midwest
Kentucky
Virginia
South
Purdue
North Carolina
Auburn
Houston
Kentucky
Virginia
Oregon
Purdue
Tennessee
North Carolina
Washington
Auburn
Kansas
Ohio St.
Houston
Wofford
Kentucky
Vriginia
Oklahoma
Oregon
UC Irvine
Villanova
Purdue
Iowa
Tennessee
North Carolina
1
Iona
16
Utah State
8
Washington
9
Auburn
5
New Mexico St.
12
Kansas
4
Northeastern
13
Iowa State
6
Ohio St,
11
Houston
3
Georgia State
14
Wofford
7
Seton Hall
10
Kentucky
2
Abilene Christian
15
Virginia
1
Gardner-Webb
16
Mississippi
8
Oklahoma
9
Wisconsin
5
Oregon
12
Kansas St.
4
UC Irvine
13
Villanova
6
Saint Mary's (Cal.)
11
Purdue
3
Old Dominion
14
Cincinnati
7
Iowa
10
Tennessee
2
Colgate
15
What's Happening Now
Get The Latest
{{all_results_dictionary.espn_leader_table_header}}
{{all_results_dictionary.espn_leader_html_table|safe}}
{{all_results_dictionary.betting_table_header}}
{{all_results_dictionary.betting_table|safe}}


Your total, disaggregated power consumption over the last 4 hours.
Highest: {{ovw_max_val}}W - {{ovw_max_time}} hour(s) ago
Lowest: {{ovw_min_val}}W - {{ovw_min_time}} hour(s) ago
Average: {{ovw_avg_val}}W
Your total, disaggregated power consumption over the last 4 hours.
Highest: {{ovw_max_val}}W - {{ovw_max_time}} hour(s) ago
Lowest: {{ovw_min_val}}W - {{ovw_min_time}} hour(s) ago
Average: {{ovw_avg_val}}W
The power consumption of appliance A over the last 4 hours.
Highest: {{appA_max_val}}W - {{appA_max_time}} hour(s) ago
Lowest: {{appA_min_val}}W - {{appA_min_time}} hour(s) ago
Average: {{appA_avg_val}}W
The power consumption of appliance B over the last 4 hours.
Highest: {{appB_max_val}}W - {{appB_max_time}} hour(s) ago
Lowest: {{appB_min_val}}W - {{appB_min_time}} hour(s) ago
Average: {{appB_avg_val}}W


|
RAMADDA User Guide
|
java ... -XX:MaxPermSize=256m ...See the Tomcat installation section for more information.
<home>/.ramadda/repository.propertiesadd the property:
##Comma separated list of ip addresses (or prefixes) that are the ones where the user can login ##If blank then login is allowed from anywhere ramadda.login.allowedips= ##e.g.: ##ramadda.login.allowedips=127.0.0,<IP_ADDRESS>
-Dramadda.ssl.ignore=true
ramadda.admin=userid:passwordand then restart RAMADDA. This sets the password for the given userid. Note: you should remove this entry once you have reset your password.
You can also specify an administrator user id and password from the command line when starting RAMADDA. If you are running RAMADDA stand alone then just provide the arguments:
-admin <user id> <password>This creates a new user id if needed and sets the password.
If you are running RAMADDA under Tomcat then change the web.xml to pass in command line arguments using the "args" entry. This is a comma separated value list of the command line arguments that are processed by RAMADDA.
<param-name>args</param-name> <param-value>-admin,userid,password</param-value>
override.ramadda.hostname=<good host name>and place it in your ramadda home directory or plugins directory and restart ramadda. Once you are logged in go to the Admin Settings page and change the hostname then remove the properties file.
In general, you can override any property that has been set by defining a property with the "override." prefix.
To change the description used just create a file initdescription.txt in the RAMADDA home directory. This file, if it exists, is read by RAMADDA. You can see the default one in the source tree at:
src/org/ramadda/repository/resources/examples/initdescription.txtThis file contains 2 macros:
$To change what entries are created RAMADDA looks for a initentries.xml file in the RAMADDA home directory. The default file is:{root} - the top-level URL path $ {topid} - the ID of the root entry
src/org/ramadda/repository/resources/examples/initentries.xmlThis is just the entries xml format. The ID of the top-level entry is simply "root", e.g.:
<entries> <entry parent="root" name="Projects" type="group"> <description>A place to store projects</description> </entry> </entries>
For Tomcat set the URIEncoding: http://stackoverflow.com/questions/138948/how-to-get-utf-8-working-in-java-webapps.
If you are running mysql there are some things you need to do. Postgres and Derby seem OK out of the box.
Your Java runtime should also have the system property -Dfile.encoding=utf-8 defined.
ramadda.delete_entry_when_file_is_missing=trueBe careful with this. I (jeffmc) have seen remote file systems go down momentarily and if this had been set then all of my entries that I had harvested would have been deleted.


DBUtils 0.9.4 was released on July 7, 2007.
This is the fifth public release of DBUtils.
This release fixes a problem in the destructor code and has been supplemented with a German User's Guide.
Please note that the dbapi
parameter has been renamed to
creator
in the last release since you can now pass custom
creator functions for database connections instead of DB-API 2 modules.


Registration
Username:
E-mail:
Password:
Confirm Password:
Name:
Surname:
Gender:
Male
Female
Not applicable
Birht-date:
Phone-number:
AFM:
AMKA:
Address:
Submit


About
Want to find out information about a Github user? All you have to do is enter their username and click search.
Github User Lookup will do the rest; traversing through Github's database to display the User's Account Info, including:
- Username
- Full Name
- Follower and Following count
- Github Url
- Avatar
It will also display the User's Public Repositories, detailing the following info for each repository:
- Name
- Date Created
- Description
- Repository Url
- Deployed Site


Setting a tool's pattern
You can turn the pencil, eraser, and line tools into rubber stamps by setting their pattern to something other than a single point.
Select the tool for which you want to set the pattern
Make sure the Tool Properties panel is open. If it is not, double click the tool's button to open it.
Click the Set Pattern button.
Resize the window until it represents the desired pattern size
Click a pixel to toggle its state.
After doing this, the selected tool will place the pattern you've set instead of a single pixel.


{{ partial "browserupgrade.html" . }}
Hello world! Read more:
github.com/ngrash/static-web-template
.
{{ partial "footer/scripts.html" . }} {{ partial "footer/google-analytics.html" . }}


Shawn Mendes Manages to Look Perfect Even While Running Through the Street
Shawn Mendes looks perfect all the time, even when he’s running through the middle of the street!
The 21-year-old singer was spotted making a run for it after having lunch at Kings Road Cafe on Monday afternoon (November 25) in West Hollywood, Calif.
PHOTOS: Check out the latest pics of Shawn Mendes
Shawn left the restaurant holding a shopping bag from the skincare store Epione.
Earlier in the day, Shawn was photographed while leaving his girlfriend Camila Cabello‘s home and stepping out to start his week.
The night before, Shawn and Camila were at the American Music Awards, where they performed together and also won an award!
15+ pictures inside of Shawn Mendes running across the street…


Pairing is programming in pairs working together on a problem simulataneously looking for a solution.
Driver is the one who has his/her hands on keyboard or the one who is putting down the code, whereas Navigator is directing the driver for the code.
The debugging really works well; it's a very efficient way to build code. The external fonts did not work; we are still not sure why. We discovered a screensharing option in google hangouts, which will be super useful next time!


User Persona
- Site:Zoom.us
- Name:Greg Schobel
- Gender:Male
- Age:20
- Technology: Has a 16” MacBook pro and an Iphone 11 pro max. Greg usually preorders the latest apple as soon as possible. He loves Apple OS and typically only uses their devices. He always updates his operating systems as soon as there are new updates.
- Attitudes and Needs:Greg is a Sophomore in college, he is majoring in Political Science. Recently all of his classes moved from in person to fully remote. All of his professors have told him they will be on Zoom. Greg has never had a class that has been fully remote, therefore he has never used Zoom.
Needs, Goals and Features:
Needs:Be able to meet with his Professors/class. Also needs to be able to see the insructions his professors are showing. Lastly needs to be able to take the ID his professors provide and join the meeting.
Goals and Features: Gregs main goal while using Zoom, is to successfully complete all his class.
frustrations:
Loosing connection to the meeting or professor loosing connection
Not be able to ask questions and getting them answered
Having to use another site/app to communicate (Discord, Slack, etc.)


|
My Project
|
Functions | |
| int | kbd_subscribe_int (uint8_t *bit_no) |
| Subscribes keyboard interrupts. More... | |
| int | kbd_unsubscribe_int () |
| Unsubscribes keyboard interrupts. More... | |
| void | kbd_ih () |
| Reads the buffer s data using c. More... | |
| void | kbd_asm_ih () |
| Reads the buffer s data iusing assembly. More... | |
| int | kbd_write (uint8_t cmd) |
| writes a scan code onto the buffer. More... | |
| int | kbd_read () |
| Gets the scan code read from the keyboard. More... | |
| int | kbd_cmd_reset (uint32_t cmd, uint32_t arg) |
utils for keyboard
| void kbd_asm_ih | ( | ) |
Reads the buffer s data iusing assembly.
| int kbd_cmd_reset | ( | uint32_t | cmd, |
| uint32_t | arg | ||
| ) |
| void kbd_ih | ( | ) |
Reads the buffer s data using c.
| int kbd_read | ( | ) |
Gets the scan code read from the keyboard.
| int kbd_subscribe_int | ( | uint8_t * | bit_no | ) |
Subscribes keyboard interrupts.
| int kbd_unsubscribe_int | ( | ) |
Unsubscribes keyboard interrupts.
| int kbd_write | ( | uint8_t | cmd | ) |
writes a scan code onto the buffer.
| cmd |


This year's Late Late Toy Show trailer is finally here
by By Anna O'DonoghueWith just over one week to go until the most eagerly anticipated production of the Irish TV calendar airs, The Late Late Toy Show trailer will finally premiere on RTÉ from this evening.
But of course, we’ve got the first sneak peek right here.
Marshmallows, Christmas jumpers, and popcorn angels are the order of the day, as one little boy and his family prepare to settle in to watch the show.
There's also a special appearance from Gabriel, The Late Late Show owl, named after the late Gay Byrne.
This year, for the first time, RTÉ News Now will simulcast The Late Late Toy Show with Irish Sign Language. Presenters Daniel Crean and Amanda Coogan will sign on the night.
Over three evenings leading up to the biggest TV event of the year, The Late Late Toy Show Unwrapped team will bring viewers on a trip down memory lane of Toy Shows past, with a sneaky behind-the-scenes look forward to what The Late Late Toy Show 2019 has in store.
Remember JohnJoe the horologist from Ryan's very first Toy Show?
The team has tracked JohnJoe down to where he now resides, in Paris, studying law and still loving clocks. Stella McGirl from Leitrim also returns to talk about her two stints on The Late Late Show and gracing the front page of The Leitrim Observer.
Next Friday's theme remains a closely-guarded secret.
What do you think it is?
The Late Late Toy Show Unwrapped airs Wednesday 27, Thursday 28 and Friday 29 November on RTÉ One at 7pm.


Best experience ever...
It has been 22 hours since I last dosed with DXM. I can safely say that it was the most pleasant experience of my life. I had the extreme pleasure of going Robo-tripping with a close friend last night and discussing deep emotional, metaphysical, and philosophical issues.
I could not possibly have hoped to spend my night better. I spent a night mellowed but not sedated, stimulated but not overwhelmed. It was great. That said I will commence with a deeper explanation of the experience.
For last few weeks I have been feeling a bit depressed about how meaningless my life had become, the complete lack of direction was getting to me. I knew I was going to college, but that just wasn't enough for me. I was going to spend another bored night staring blankly into the computer monitor when one of my best friends came over looking for my brother. My brother would not have been back for many hours so my friend and I sat around discussing the nature of the astral planes. I finally asked him if he wanted to dose with 4 ounces of cough syrup. Surprisingly he agreed. You see my friend has a bit of a problem with his stomach. It dislikes cough syrup. The only time he has ever managed to keep down cough syrup has been under the influence of large amounts of pot.
Fortunately he had his glass bowl that was encrusted with week’s worth of resin, and he had not eaten for several hours, as had I. I abstained from the pot but he smoked up a little and took an aqueous suspension of dried ginger to control his upset stomach. I am fine with Syrup so I just downed it. We both dosed at around 11:50pm.
We then sat around in the TV room waiting for the effects to begin. At about 12:20am he and I went out to the porch for a smoke. I began to feel the effect shortly after going outside but did not peak until at least half an hour later while we were walking around in the yard. As we sat out on the porch I began to feel a little dizzy and got a very mild headache, the first symptoms I feel of DXM. I then began to feel my scalp itch, which is a sure sign that the effects are kicking in. My family seems to react strangely to DXM. My scalp itches and gets a little inflamed, but the symptoms go away after a while. My friend is fortunate not to have such side effects.
In a few minutes I could feel that my mind seemed active. I felt like moving. I could sense the motion of my body differently. You could almost describe the feeling as though you are floating, or that you feel light. The dizziness that occurs as a side effect is more than some people would like, but I like intense experiences. My friend and I walked around in what amounted to a controlled drunkenness for a few hours discussing matters of importance and recalling previous great drug experiences. We were both in agreement that we felt great.
Of note is the fact that the DXM did nothing to confuse our minds, if anything the DXM seemed to make our conversation more fluid and understandable. My friends having smoked pot reduced his attention span and short-term memory, but not horribly. We were both having full-blown body trips, but our minds were clear.
We walked a lot in the two hours that we were outside. We walked around during a beautiful September night under the near full moon enjoying a nice gentle breeze that was rolling through. We walked through the fields surrounding my house. As I walked I felt the most unbelievably heart warming happiness of knowing that I was having the BEST TIME OF MY LIFE. I have done Acid several times. I have tried opium. I have smoked pot. I have smoked a LOT of pot, but nothing has ever compared to last night. More so than the drugs was the company. The company of a good friend mad the experience wonderful. Our primitive language can not express haw good it felt.
At approximately 2:30am we saw and heard my brother’s car approaching. We convinced him to stay outside and talk to us. We lay there sprawled out on the porch enjoying the company, the weather and the experience. Soon though my brother needed to go to sleep. My friend and I went out into his car and sat there for 2 hours speaking about everything that two men traditionally would never speak of. We spoke without social inhibition. It was enlightening. We could sit there in his beater completely comfortable and content.
By this time the powerful disorientation of the DXM had worn off and the acid like effects were very prominent. I could close my eyes and see limited Closed Eye Visuals. We both had a minor body buzz going, and I could feel the fluidity of thought that acid brings. We were definitely coming down, but it was a nice gradual let down. It took over 2 hours for us to want to go to sleep. We were relaxed, but did not have the urgent desire for sleep that acid seems to bring during the come down.
At around 5:00 we went inside and went to sleep. I ended up encountering my father before I went to sleep, but could act completely normal. He found it strange that I would be up so early, but eccentricities are not investigated in my family. I slept soundly for the next six and a half hours. When I awoke and went to go take a shower I looked at myself in the mirror. Wow. I could see that my eyes were dilated to at least 75%. It was interesting that the dilation of my pupils would occur only after the main effects had worn off. Soon they constricted some, but remained dilated some until mid afternoon. I was clear minded, could act normal, and hold conversation coherently. Ahhh... the great blessing of DXM, almost no after effects.
Definitely worth it. Though DXM must be used with care as it can cause brain damage, and can easily cause bad trips. It is more dangerous than Acid in every way. One must thoroughly research the effects and the additives often added to cough syrup. Be careful. May you find enlightenment and peace in your life.
(Subject was taking a variety of herbal supplements that may or may not have effected the experience. Subject had experiance with DXM in past. Subject had experiance with similar drugs in the past.)
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


---
layout: documentation
title: "Grid"
description: Ink provides a layout grid system that is flexible, responsive and uses a human readable syntax.
tags: grid
site_root: ../../
---
Our layout grid was built to allow precise control on how horizontal space is divided and on targeting several screen sizes. To accomplish this, we use percentages as our base units and CSS @media queries to allow you to decide what width should an element take when viewed in a specific screen size. Our default layout breakpoints are: We have 22 width units, that we'll call columns, ranging from 5% to 100% in 5% increments as well as 33% and 66% for one and two thirds respectively. All column elements must be inside a Example The example above creates a 50/50 two column layout for all screens. Grid elements can be nested to create more intricate layouts: Example The example above further divides each of the 50% columns in to 3 thirds and 4 fourths. In ink we use the term to describe the space between layout columns. Horizontal spacing is created by adding padding to the left of the columns and using the border-box box model. Vertical spacing is created with a bottom margin. So, if you want to add a background to a column, you'll need to add an additional element inside it. To add space between a group of columns in your layout add the Example Gutters are applied only to the Example In the example above half sized gutters are added on the large breakpoint only. Handling layout changes for multiple screen sizes is as simple as adding a few more classes to your markup. Example To set the width of a grid column just add the desired width percentage class for the targeted breakpoint: If you need your layout to work on multiple screens, you'll have to declare the width for all available breakpoints. You can also set a width for all breakpoints by using the Basic principles
tiny
for screens widths up to 320px.small
for screen widths between 321 and 640 pixels.medium
for screen widths between 641 and 960 pixels.large
for screen widths between 961 and 1260 pixels.xlarge
for screen widths above 1261 pixels.
Class name
Description
ink-grid
The grid root class.
column-group
Groups layout columns.
gutters
Add space between layout columns.
all-x%
Sets x% element width for all breakpoints.
tiny-x%
Sets x% element width for the 'tiny' breakpoint.
small-x%
Sets x% element width for the 'small' breakpoint.
medium-x%
Sets x% element width for the 'medium' breakpoint.
large-x%
Sets x% element width for the 'large' breakpoint.
xlarge-x%
Sets element x% width for the 'xlarge' breakpoint.
large-class-name
.half-class-name
.Dividing space
column-group
element:Gutters
Gutters are the space between columns of printed text.
gutters
class to the parent column-group
element. You can also choose the amount of gutter space by using half-gutters
or quarter-gutters
classes to halve or quarter your column gutters.column-group
direct children. Nested elements are left untouched.Multiple screen sizes
large-50 small-100 ...
.all-
prefix: {% highlight html %}
Try resizing your browser window to see it working.


Trump greets caskets of soldiers killed in Afghan helicopter crash
by Joe TacopinoPresident Trump and First Lady Melania Trump on Thursday met the caskets of two soldiers killed Wednesday in a helicopter crash in Afghanistan.
The first couple went unannounced to Dover Air Force Base in Delaware to salute the remains of fallen heroes David Knadle, of Texas, and Kirk Fuchigami Jr., of Hawaii.
Trump was also accompanied by Army Gen. and Joint Chiefs of Staff Chairman Mark Milley, and National Security Adviser Robert O’Brien.
The president and his entourage stood at attention as six military personnel in army fatigues, white gloves and black berets lifted flag-draped transfer cases onto a van.
With Post Wires


Sunit Sivasankaran
<EMAIL_ADDRESS>| Phone | CH_I | CH_B | Z_B | SH_B | NG_E | N_E | M_E | B_B |
|---|---|---|---|---|---|---|---|---|
| Error rate | 1.5 | 1.6 | 1.8 | 1.8 | 19.4 | 21.1 | 21.3 | 24.5 |
| Single Speaker |
Single Speaker + noise |
2 speakers + noise |
| 12.5 | 25.5 | 66.5 |
| True DOA (Proposed) |
Est DOA (with GCC-PHAT) |
| 35.0 | 54.5 |
| SIR (dB) | $<-5$ | $[-5, 0]$ | $[0, 5]$ | $[5, 10]$ | $ > 10$ |
| WER (%) | 59.7 | 33.8 | 25.4 | 22.4 | 24.3 |
| Single Speaker |
Single Speaker + noise |
2 speakers + noise |
| 12.5 | 25.5 | 66.5 |
| True DOA (Proposed) |
Est DOA (with GCC-PHAT) |
Deflation (Proposed) |
Conv-Tasnet |
| 35.0 | 54.5 | 44.2 | 53.2 |