Skip to content

Instantly share code, notes, and snippets.

Rico Leuthold rico

View GitHub Profile
@rico
rico / Login.vue
Last active Feb 11, 2018
vue-authenticate #110
View Login.vue
// Component: Login.vue
data: () => ({
credentials: {
username: '',
password: '',
},
errors: {},
loading:false
}),
methods : {
View logimport.pl
#!/usr/bin/perl -w
##############################################################################
# Handles log file raw import - Step 1 of importing the data.
#
# Reads out the logfile and writes the data into the 'data' table.
#
# Continues with 'searchdir.pl' when finished.
#
# rleuthold@access.ch - 8.1.2009
View counter.pl
#!/usr/bin/perl -w
##############################################################################
# This scripts updates the box and ant tables
# - data count for each antenna and box
# - the time with the last dataset (if older then 1 Week, maybe defect)
#
# The script can be started with the '--all' arguments to count for all
# days in the '$TABLE_DATA' table,
# instead of just the days in the $DAYS_TO_COUNT_TABLE table,
View meetings.pl
#!/usr/bin/perl
##############################################################################
# This scripts searches for meetings between two mice which is
# the time two mice spend in the boxes together.
#
# rleuthold@access.ch - 9.1.2009
##############################################################################
use strict;
use warnings;
View searchres.pl
#!/usr/bin/perl -w
##############################################################################
# Searches for results - Step 3 of importing the data.
#
# Continues with 'counter.pl' when finished.
#
# rleuthold@access.ch - 8.1.2009
##############################################################################
View searchdir.pl
#!/usr/bin/perl -w
##############################################################################
# Searches for dirction results in the raw data created by 'logimport.pl'
# - Step 2 of importing the data.
#
# Continues with 'searchres.pl' when finished.
#
# rleuthold@access.ch - 8.1.2009
##############################################################################
You can’t perform that action at this time.