{% extends "baseadmin.html" %} {% import "bootstrap/wtf.html" as wtf %} {% block title %}Help{% endblock %} {% block page_content %}
This application let you setup workshops and provides a registration page for workshop participants to retrieve their credentials. This avoids that at the beginning of a workshop the moderator had to hand the information to each participant manually. The developement was triggered by the SAP TechEd2020 when all workshops went virtual but is not an SAP product.
There are two kinds of access:
Every moderator has in the first place to register with username and password - nothing more is required to create workshops and userlists. She furthermore can only create and edit her own workshops and corresponding user lists.
Overview of all workshops.
Enables to create, change or delete workshops.
Generates a user list with passwords.
User list has to be saved in order to be distributed for the registration of participants. The downloaded user list can be used to automatically create the user in the workshop system.
Enables to upload users that might have already been setup in system used for the workshop.
During the registration time (registrationstart - registrationend) the moderator may want to have a snapshot how many users might have registered already.
The data is stored currently in a HANA Cloud database and the HDBCLI-client is used to connect to the database. Although preferring kind of standards, SQLAlchemy was not used. Maybe in future I give it a try and use the SQLAlchemy dialect for SAP HANA. In this case it would be easier to replace HANA with a another DB, for what no real reason exists ;).
There are 3 tables:
CREATE COLUMN TABLE "DIREGISTER"."WORKSHOPS"(
"ID" NVARCHAR(15),
"TITLE" NVARCHAR(150),
"MAX_USER" INTEGER,
"URL" NVARCHAR(500),
"WORKSHOP_START" LONGDATE,
"REGISTRATION_START" LONGDATE,
"REGISTRATION_END" LONGDATE,
"INFO" NVARCHAR(150),
"MODERATOR" NVARCHAR(50),
PRIMARY KEY (
"ID"
)
)
CREATE COLUMN TABLE "DIREGISTER"."USERS"(
"WORKSHOP_ID" NVARCHAR(30),
"USER" NVARCHAR(20),
"PWD" NVARCHAR(16),
"USERNAME" NVARCHAR(25),
"REGISTRATION_DATE" LONGDATE,
"BUFFER_USER" NVARCHAR(1)
)
CREATE COLUMN TABLE "DIREGISTER"."MODERATORS"(
"USERNAME" NVARCHAR(30),
"PWDHASH" NVARCHAR(128),
"EMAIL" NVARCHAR(100),
"REGISTRATION_DATE" LONGDATE,
PRIMARY KEY (
"USERNAME"
)
)
Please send an email to<EMAIL_ADDRESS>The software is under MIT-license.


CHAPTER 26
RECOVERING THE VISOR
As stated already
in the Chapter 24 the search for the visor was allegedly commenced on 05.10.94
by TURSAS and EVA-200, although at that time the visor was most probably located
already adjacent and/or below the bulbous bow of the wreck.
The visor
was finally "officially" found in position 59°23,0'N; 21°39,2'E in upside down
condition. The video tape from the ROV investigation is not available.
During the time
from 16-18 November 1994 the visor was lifted by the Finnish multi-purpose ice
breaker NORDICA - assisted by the Swedish mine hunter FURUSUND - and brought
to Hangö - see Enclosure
24.408.1 - where it was lifted ashore and placed on the premises of Levator
Oy, still in upside down condition. It was left in the open air, totally unprotected,
but still in remarkably good condition until 20.11.99. On this day the visor
was picked-up by the Swedish navy and transported to Sweden.
The picture below was taken on 23.11.94.


--- layout: page title: WI+RE Sandbox ⛱ description: A place for the WI+RE creative team to experiment, prototype, and talk about our work! permalink: /sandbox/ background: '/assets/images/sand.jpg' --- {% capture member-name-list %}{{ site.team-members | map: 'title' | split: ',' }}{% endcapture %} {% assign groups = site.posts | group_by: "category" | sort: "date" | reverse %} {% for group in groups %}


The following vignette presents benchmarks for log4r against all general-purpose logging packages available on CRAN:
Each logging package features slightly different capabilities, but these benchmarks are focused on the two situations common to using all of them:
The first of these is likely the most common kind of logging done by end users, although some may chose to log to files, over HTTP, or to the system log (among others). Yet a benchmark of these other scenarios would largely show the relative expense of these operations, instead of the overhead of the logic performed by the logging packages themselves.
The second measures the performance impact of leaving logging messages in running code, even if they are below the current threshold of visibility. This is another measure of overhead for each logging package.
cat()
As a reference point, we can measure how long it takes R itself to write a simple message to the console:
<- function() {
cat_debug cat() # Print nothing.
}
<- function() cat(
cat_info "INFO [", format(Sys.time(), "%Y-%m-%d %H:%M:%S", usetz = FALSE),
"] Info message.", sep = ""
)
The following is a typical log4r setup:
<- log4r::logger(threshold = "INFO")
log4r_logger
<- function() {
log4r_info ::info(log4r_logger, "Info message.")
log4r
}
<- function() {
log4r_debug ::debug(log4r_logger, "Debug message.")
log4r }
The following is a typical futile.logger setup:
requireNamespace("futile.logger")
#> Loading required namespace: futile.logger
::flog.logger()
futile.logger
<- function() {
fl_info ::flog.info("Info message.")
futile.logger
}
<- function() {
fl_debug ::flog.debug("Debug message.")
futile.logger }
The following is what I believe to be a typical logging setup:
requireNamespace("logging")
#> Loading required namespace: logging
::basicConfig()
logging
<- function() {
logging_info ::loginfo("Info message.")
logging
}
<- function() {
logging_debug ::logdebug("Debug message.")
logging }
The following is what I believe to be a typical logger setup:
requireNamespace("logger")
#> Loading required namespace: logger
# Match the behaviour of other logging packages and write to the console.
::log_appender(logger::appender_stdout)
logger
<- function() {
logger_info ::log_info("Info message.")
logger
}
<- function() {
logger_debug ::log_debug("Debug message.")
logger }
The following is what I believe to be a typical lgr setup:
requireNamespace("lgr")
#> Loading required namespace: lgr
<- lgr::get_logger("perf-test")
lgr_logger $set_appenders(list(cons = lgr::AppenderConsole$new()))
lgr_logger$set_propagate(FALSE)
lgr_logger
<- function() {
lgr_info $info("Info message.")
lgr_logger
}
<- function() {
lgr_debug $debug("Debug message.")
lgr_logger }
The following is what I believe to be a typical
loggit setup. Since we only want to log to the console,
set the output file to /dev/null
. In addition,
loggit does not have a notion of thresholds, so there
is no “do nothing” operation to test.
requireNamespace("loggit")
#> Loading required namespace: loggit
if (.Platform$OS.type == "unix") {
::set_logfile("/dev/null")
loggitelse {
} ::set_logfile("nul")
loggit
}
<- function() {
loggit_info ::loggit("INFO", "Info message.")
loggit }
The rlog package currently has no configuration options other than the threshold, which is controlled via an environment variable and defaults to hiding debug-level messages:
requireNamespace("rlog")
#> Loading required namespace: rlog
<- function() {
rlog_info ::log_info("Info message.")
rlog
}
<- function() {
rlog_debug ::log_debug("Debug message.")
rlog }
Debug messages should print nothing.
log4r_debug()
cat_debug()
logging_debug()
fl_debug()
logger_debug()
lgr_debug()
rlog_debug()
Info messages should print to the console. Small differences in output format are to be expected.
log4r_info()
#> INFO [2022-11-25 15:11:30] Info message.
cat_info()
#> INFO [2022-11-25 15:11:30] Info message.
logging_info()
#> 2022-11-25 15:11:30 INFO::Info message.
fl_info()
#> INFO [2022-11-25 15:11:30] Info message.
logger_info()
#> INFO [2022-11-25 15:11:30] Info message.
lgr_info()
#> INFO [15:11:30.223] Info message.
loggit_info()
#> {"timestamp": "2022-11-25T15:11:30-0500", "log_lvl": "INFO", "log_msg": "Info message."}
rlog_info()
#> 2022-11-25 15:11:30 [INFO] Info message.
The following benchmarks all loggers defined above:
<- microbenchmark::microbenchmark(
info_bench cat = cat_info(),
log4r = log4r_info(),
futile.logger = fl_info(),
logging = logging_info(),
logger = logger_info(),
lgr = lgr_info(),
loggit = loggit_info(),
rlog = rlog_info(),
times = 500,
control = list(warmups = 50)
)
<- microbenchmark::microbenchmark(
debug_bench cat = cat_debug(),
log4r = log4r_debug(),
futile.logger = fl_debug(),
logging = logging_debug(),
logger = logger_debug(),
lgr = lgr_debug(),
rlog = rlog_debug(),
times = 500,
control = list(warmups = 50)
)
print(info_bench, order = "median")
#> Unit: microseconds
#> expr min lq mean median uq max
#> cat 19.727 24.8665 29.67838 27.4510 30.4120 1059.446
#> log4r 14.296 26.0990 38.78562 32.0350 38.8730 2111.388
#> rlog 44.754 59.5615 67.99791 66.2240 73.0670 744.355
#> logger 152.856 175.9850 196.45468 186.4345 200.5960 2265.367
#> logging 195.847 222.2560 252.33351 233.1320 248.1000 5634.985
#> lgr 371.837 402.0790 498.85653 415.8595 437.0245 25077.198
#> loggit 514.625 551.1530 632.20753 567.2740 587.6315 3101.445
#> futile.logger 1509.811 1593.7180 1680.18994 1626.2340 1662.5675 5869.816
#> neval
#> 500
#> 500
#> 500
#> 500
#> 500
#> 500
#> 500
#> 500
print(debug_bench, order = "median")
#> Unit: microseconds
#> expr min lq mean median uq max neval
#> cat 1.834 2.5345 4.58175 3.2560 3.5260 757.471 500
#> log4r 2.444 3.2160 5.39048 3.9825 4.7490 684.975 500
#> rlog 6.523 8.0100 10.84480 10.1340 10.9705 607.769 500
#> lgr 11.913 13.9415 21.90749 16.8265 17.6530 2301.315 500
#> logger 14.868 17.8930 26.87330 22.0060 23.4440 2274.245 500
#> logging 14.498 17.4125 22.32278 22.4620 24.1250 634.230 500
#> futile.logger 474.359 494.3515 524.52623 501.6405 512.5060 4638.196 500


Summary sent to PM for appointment of new CJP
by inpMinistry of Law on Friday sent to the Prime Minister’s Secretariat the summary for appointment of the new chief justice of Pakistan.
Reports said Justice Gulzar Ahmed, the senior-most judge of the Supreme Court, has been named as the new chief justice. He will replace Chief Justice Asif Saeed Khan Khosa, who is retiring on December 20. If his appointment is approved by the prime minister, Justice Gulzar will take charge as the new chief justice on December 21.
According to the official website of the Supreme Court of Pakistan, Justice Gulzar remained acting chief justice of Pakistan from November 20-28, 2018, and May 13-17, 2019.
Justice Gulzar sought his early education from Gulistan School, Karachi, and done bachelors from Government National College, Karachi. He got his LLB degree from SM Law College, Karachi.
He was enrolled as an advocate on January 18, 1986, and as an advocate of the high court on April 4, 1988, and then an advocate of the Supreme Court of Pakistan on September 15, 2001. He was elevated to the post of a judge of the Sindh High Court on August 27, 2002, and later as a judge of the Supreme Court on November 16, 2011.


Gatekeeper Trisha:
It might be a better idea to walk slowly taking a rest sometimes to go to other villages. But if you don't have time for that, we can open the door of time and space for you. Where do you want to go?
Teleport
Exchange Dimension Diamonds.
[Noblesse Exclusive] Teleport
Teleport to Arena & Monster Racetrack (Free).
Quest


We created a portfolio website, containing information and demos of all three projects for this class.
This is a mobile app that enables users to purchase the necessary equipment to start fencing.
This is an app that teaches users fencing positions and techniques, via Cardboard VR.


Install the AWS Command Line Interface on Microsoft Windows
You can install the AWS CLI on Windows with a standalone installer or pip
,
a package manager for Python. If you already have pip
, follow the
instructions in the main installation topic.
Sections
MSI Installer
The AWS CLI is supported on Microsoft Windows XP or later. For Windows users, the MSI installation package offers a familiar and convenient way to install the AWS CLI without installing any other prerequisites.
When updates are released, you must repeat the installation process to get the latest version of the AWS CLI. If you prefer to update frequently, consider using pip for easier updates.
To install the AWS CLI using the MSI installer
-
Download the appropriate MSI installer.
Note
The MSI installer for the AWS CLI does not work with Windows Server 2008 (version 6.0.6002). Use pip to install with this version of Windows.
-
Run the downloaded MSI installer.
-
Follow the instructions that appear.
The CLI installs to C:\Program Files\Amazon\AWSCLI
(64-bit) or
C:\Program Files (x86)\Amazon\AWSCLI
(32-bit) by default. To confirm the
installation, use the aws --version
command at a command prompt (open the START
menu and search for "cmd" if you're not sure where the command prompt is installed).
> aws --version
aws-cli/1.11.44 Python/3.4.3 Windows/7 botocore/1.5.7
Don't include the prompt symbol ('>' above) when you type a command. These are included in program listings to differentiate commands that you type from output returned by the CLI. The rest of this guide uses the generic prompt symbol '$' except in cases where a command is Windows-specific.
If Windows is unable to find the executable, you may need to re-open the command prompt or add the installation directory to your PATH environment variable manually.
Updating an MSI Installation
The AWS CLI is updated regularly. Check out the Releases page on GitHub to see when the latest version was released. To update to the latest version, download and run the MSI installer again as detailed above.
Uninstalling
To uninstall the AWS CLI, open the Control Panel and select Programs and Features. Select the entry named AWS Command Line Interface and click Uninstall to launch the uninstaller. Confirm that you wish to uninstall the AWS CLI when prompted.
You can also launch the Programs and Features menu from the command line with the following command:
> appwiz.cpl
Install Python, pip, and the AWS CLI on Windows
The Python Software Foundation provides installers for Windows that include
pip
.
To install Python 3.4 and pip (Windows)
-
Download and install Python 3.4 from the downloads page of Python.org.
-
Add the Python home and scripts directories to the Windows
Path
system variable:C:\WINDOWS\system32;C:\WINDOWS;
C:\Python34;C:\Python34\Scripts
;%USERPROFILE%\AppData\Roaming\Python\Scripts
To modify your PATH variable (Windows)
-
Press the Windows key and type
environment variables
. -
Choose Edit environment variables for your account.
-
Choose PATH and then choose Edit.
-
Add paths to the Variable value field, separated by semicolons. For example:
C:\existing\path
;
C:\new\path
-
Choose OK twice to apply the new settings.
-
Close any running command prompts and re-open.
To install the AWS CLI with pip (Windows)
-
Open the Windows Command Processor from the Start menu.
-
Verify that Python and pip are both installed correctly with the following commands:
C:\Windows\System32>
python --version
Python 3.4.3 C:\Windows\System32>pip --version
pip 6.0.8 from C:\Python34\lib\site-packages (python 3.4) -
Install the AWS CLI using
pip
:C:\Windows\System32>
pip install --upgrade --user awscli
-
Verify that the AWS CLI is installed correctly:
C:\Windows\System32>
aws --version
aws-cli/1.11.44 Python/3.4.3 Windows/7 botocore/1.5.7
To upgrade to the latest version, run the installation command again:
C:\Windows\System32> pip install --user --upgrade awscli
Adding the AWS CLI Executable to your Command Line Path
After installing with pip
, add the aws
executable to your
OS's PATH
environment variable. With an MSI installation, this should happen
automatically, but you may need to set it manually if the aws
command is not
working.
-
Python 3.4 and pip (user mode) –
%USERPROFILE%\AppData\Roaming\Python\Scripts
-
Python 3.5+ and pip (user mode) –
%USERPROFILE%\AppData\Roaming\Python\Python
35
\Scripts -
MSI installer (64-bit) –
C:\Program Files\Amazon\AWSCLI
-
MSI installer (32-bit) –
C:\Program Files (x86)\Amazon\AWSCLI
To modify your PATH variable (Windows)
-
Press the Windows key and type
environment variables
. -
Choose Edit environment variables for your account.
-
Choose PATH and then choose Edit.
-
Add paths to the Variable value field, separated by semicolons. For example:
C:\existing\path
;
C:\new\path
-
Choose OK twice to apply the new settings.
-
Close any running command prompts and re-open.


Phase 0 - Week 7 Ruby Docs vs Javascript Docs
Sunday, July 12, 2015
After working closely with Ruby and referring to Ruby Docs more times than I care to admit over the last couple of months, it is safe to say that I am pretty comfortable finding the information that I need. Now here we are in Week 7 and we jump right into Javacript. SURPRISE!!! Many of the great tricks that we learned over the last few weeks either don't work quite the same or don't even exist in Javascript. While it is extremly early in our experience with Javascript, and it wouldn't be fair to pass judgment, I still feel a little homesick for my old friend Ruby (Italics intended to convey fondness ).
Unfortunetly, my experience with finding the information I need from the Javascript Docs has been very similar. Again, I do acknowledge that nobody likes change and since I am not a baby with a dirty diaper, I am not loving it either. Actually, to be fair, the content and structure of the documentation on MDN (Mozilla Developers Network) is very similar to the Ruby Docs. Unfortunately, many of the methods that were built into Ruby don't exist in Javascript and the iTranslate app on my phone isn't a help at all. Thankfully, there seems to be a very active and helpful Ruby community, and if you Google the question "how do you do X Ruby method in Javascript," you will generally find an answer.
Ok, so Javascript bashing aside, I have found that my experience starting to learn a new language was much easier this time, as I feel that I am working with a much more stable foundation. I look forward to the coming weeks so that I can further develop my skills and understanding in both Javascript and Ruby, not to mention the many other programs and/or languages we will be learning. There is no doubt that the Dev Bootcamp Experience is immersive, fast-paced and stressful at times. I think that it is expected to experience a little discomfort when starting out with new languages, and I am sure that I will learn to love Javascript.
But as for today, I am definitely not ready to trade Ruby in just yet.


Provide base configuration for using the component.
Provides base configuration expected in order to:
Specialized invokable/abstract factory for use with RoutePluginManager.
Can be mapped directly to specific route plugin names, or used as an abstract factory to map FQCN services to invokables.
Plugin manager implementation for routes
Enforces that routes retrieved are instances of RouteInterface. It overrides configure() to map invokables to the component-specific RouteInvokableFactory.
The manager is marked to not share by default, in order to allow multiple route instances of the same type.


You haven't defined any categories in system.Please Sign Up or login as administrator to define categories.


| msleep {ggplot2} | R Documentation |
This is an updated and expanded version of the mammals sleep dataset. Updated sleep times and weights were taken from V. M. Savage and G. B. West. A quantitative, theoretical framework for understanding mammalian sleep. Proceedings of the National Academy of Sciences, 104 (3):1051-1056, 2007.
msleep
A data frame with 83 rows and 11 variables:
common name
carnivore, omnivore or herbivore?
the conservation status of the animal
total amount of sleep, in hours
rem sleep, in hours
length of sleep cycle, in hours
amount of time spent awake, in hours
brain weight in kilograms
body weight in kilograms
Additional variables order, conservation status and vore were added from wikipedia.


One
Two
Three
Four
Five
Six
Seven
Eight
Nine
Ten
Eleven
Twelve
Thirtheen
Fourteen
Fiveteen
Sixteen
Seventeen
Eighteen
Nineteen
Twenty


Review +5
We have to continually be jumping off cliffs and developing our wings on the way down.
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
Css Design
Awards
Happy Clients
Projects Done!
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
We have to continually be jumping off cliffs and developing our wings on the way down.
We have to continually be jumping off cliffs and developing our wings on the way down.
We have to continually be jumping off cliffs and developing our wings on the way down.


DengueME v0.7 (September 4), 2017
DengueME is a software framework designed to support modeling and simulation of the spatiotemporal dynamics of dengue transmission and vector ecology.
BSD - 2 Clause
DengueME
www.icons8.com
Lucas Ferreira, Miguel Pessoa, Tiago Lima


Before Change
score = dict()
if task_type in REGRESSION_TASKS:
// TODO put this into the regression metric itself
prediction = sanitize_array(prediction)
for metric_ in get_all_known_metrics(task_type):
score[metric_.name] = metric_.calculate_score(solution, prediction)
else:
if task_type in REGRESSION_TASKS:
// TODO put this into the regression metric itself
prediction = sanitize_array(prediction)
After Change
score = dict()
if task_type in REGRESSION_TASKS:
// TODO put this into the regression metric itself
cprediction = sanitize_array(prediction)
for metric_ in REGRESSION_METRICS:
score[metric_] = regression_metrics.calculate_score(
metric_, solution, cprediction)
else:
for metric_ in CLASSIFICATION_METRICS:
score[metric_] = classification_metrics.calculate_score(


| Home | Trees | Indices | Help |
|---|
|
|
|
|||
| Transformation | |||
| Logexp | |||
| Exponent | |||
|
NormalTheta Do not use, not officially supported! |
|||
|
NormalNaturalAntti Do not use, not officially supported! |
|||
|
NormalEta Do not use, not officially supported! |
|||
|
NormalNaturalThroughTheta Do not use, not officially supported! |
|||
|
NormalNaturalWhooot Do not use, not officially supported! |
|||
|
NormalNaturalThroughEta Do not use, not officially supported! |
|||
| LogexpNeg | |||
| NegativeLogexp | |||
| LogexpClipped | |||
| NegativeExponent | |||
| Square | |||
| Logistic |
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Tue Jul 4 11:59:27 2017 | http://epydoc.sourceforge.net |


| GEOS SDK TechDocs
|
| 3 How Jobs Get Printed
| 3.2 Chronology
Printing involves the concerted effort of several objects running in different threads. The most important pieces of the printing system are
-
PrintControl
-
The printing system is big and would be difficult to interact with if not for the Print Control, which acts as a sort of intermediary. This object is a member of the
PrintControlClass
, a GenControl subclass provided by the spool library. It handles the UI, communication with the spool thread, and most other printing functions. Every geode which is going to print includes its own Print Control, placing the control object in its generic tree.
-
Print Output
-
The Print Output is an object (often the process object) chosen by the geode when creating the Print Control. This object is in charge of building print jobs and must be prepared to provide page descriptions whenever it receives a
MSG_PRINT_START_PRINTING
from the Print Control.
-
Spooler
-
The Spooler handles most of the important "behind the scenes" work of printing. As mentioned, it handles the scheduling of jobs and manages the operations by which generic print jobs are translated for specific printers.
-
Printer Driver
-
GEOS printer drivers handle the back end of printing. GEOS has many printer drivers, each of which serves one or more models of printer. The driver supplies the Spooler with information about the printer and makes some final adjustments to the translated print job to get it ready for the specific printer.
| GEOS SDK TechDocs
|
| 3 How Jobs Get Printed
| 3.2 Chronology


---
layout: post
title: links for 2007-03-26
date: 2007-03-26 00:00:00
---
-
"An estimation is the result of a process based on many variables in a precise moment. When this moment passes, the estimation should change." I've noticed this, since we started formalising how we record and track estimates...
-
“We want to focus our resources where we’ll get the most bang for our buck. And right now, there’s no bang at all putting it into WiMax”. Wi-fi still not killing telcos, film at 11.
-
via Ayng


|
Vc
1.1.0
SIMD Vector Classes for C++
|
|
Wraps a pointer to memory with convenience functions to access it via vectors.
| S | The type of the struct. |
| V | The type of the vector to be returned when read. This should reflect the type of the members inside the struct. |
Definition at line 187 of file interleavedmemory.h.
#include <Vc/Memory>
Public Member Functions | |
| InterleavedMemoryWrapper (S *s) | |
| Constructs the wrapper object. More... | |
| template<typename IT > | |
| enable_if< std::is_convertible< IT, IndexType >::value &&!std::is_const< S >::value, Access > | operator[] (IT indexes) |
| Interleaved scatter/gather access. More... | |
| ReadAccess | operator[] (IndexType indexes) const |
| const overload (gathers only) of the above function | |
| ReadAccess | gather (IndexType indexes) const |
| alias of the above function | |
| ReadSuccessiveEntries | operator[] (size_t first) const |
| Interleaved access. More... | |
|
inline |
Constructs the wrapper object.
| s | A pointer to a C-array. |
Definition at line 212 of file interleavedmemory.h.
|
inline |
Interleaved scatter/gather access.
Assuming you have a struct of floats and a vector of indexes
into the array, this function can be used to access the struct entries as vectors using the minimal number of store or load instructions.
| indexes | Vector of indexes that determine the gather locations. |
Example:
You may think of the gather operation (or scatter as the inverse) like this:
Memory: {x0 y0 z0 x1 y1 z1 x2 y2 z2 x3 y3 z3 x4 y4 z4 x5 y5 z5 x6 y6 z6 x7 y7 z7 x8 y8 z8} indexes: [5, 0, 1, 7] Result in (x, y, z): ({x5 x0 x1 x7}, {y5 y0 y1 y7}, {z5 z0 z1 z7})
\warning If \p indexes contains non-unique entries on scatter, the result is undefined. If \c NDEBUG is not defined the implementation will assert that the \p indexes entries are unique.
Definition at line 272 of file interleavedmemory.h.
|
inline |
Interleaved access.
This function is an optimization of the function above, for cases where the index vector contains consecutive values. It will load V::Size
consecutive entries from memory and deinterleave them into Vc vectors.
| first | The first of V::Size indizes to be accessed. |
Example:
Definition at line 319 of file interleavedmemory.h.


Titanium Pots and Pans > REI Ti Ware Nonstick Titanium Cookset (Item # 764178) zoom var zoomLink_TB = 'http. ; document.getElementById('zoomLink3').href = zoomLink_TB REI Ti Ware Nonstick Titanium CooksetItem # 764178$109.95 if. kitchen cleanup to a minimum with the REI Ti Ware" nonstick titanium cookset.Lighter than steel and...
clueweb09-en0010-30-25681 PR: 0.15
Mugs > REI Ti Ware Double-Wall Mug (Item # 764186) zoom var zoomLink_TB = 'http://www.rei.com/features. ').href = zoomLink_TB REI Ti Ware Double-Wall MugItem # 764186$38.95 ifTi Ware" Double-Wall mug will keep your drink warm and your pack light.Titanium...
clueweb09-en0010-30-25682 PR: 0.15
; border-width:0px; padding:4px 5px 4px 12px; } /* [hover] - Floral Coolers - These settings must be. in Coolers These settings must be duplicated for IE comptatibility.*/ #imenus0 ul li:hover>a. -bottom:2px; } Home Kysor Walk-in Coolers Kysor Environmental Catalogs Woodframe Insulframe Series 1...
clueweb09-en0009-63-12222 PR: 0.16
Skis / Z12 Ti Bindings (Item # 773536) zoom var zoomLink_TB = 'http://www.rei.com/features/zoom.html. ; document.getElementById('zoomLink3').href = zoomLink_TB Salomon X-Wing Tornado Skis / Z12 Ti BindingsItem # 773536$999.00. heightened ski responsivenessZ12 Ti bindings automatically adjust height and width at critical boot contact...
clueweb09-en0010-30-26126 PR: 0.15
technology, used for their successful line of CPU coolers, to the VGA card cooler. The circular copper fin. ) NVIDIA Geforce4 Ti 4*** Series NVIDIA Geforce FX 5700(Ultra) Series NVIDIA Geforce FX 5800 Series NVIDIA. ) Two Nipple A 5) Two Nipple B 6) Four Bolt A 7) Four Bolt B 8) Six Rubber Rings 9) Thermal Grease 10...
clueweb09-en0011-12-41878 PR: 0.15 spam
alcuni parametri non ti convengono, puoi lasciare una richiesta previa e un nostro operatore ti. Morgan Bay" (Castries, Santa Lucia) Informazioni sull'hotel : Escape from reality at the four-star Almond. training are available in the fitness center. Guests can play tennis on any of four lighted courts or enjoy...
clueweb09-en0001-36-06940 PR: 0.15 spam
. Over the moon with his 1500 Series four door-derived 1600-2 two-door coupe, he agreed with his. his workshop in Kaufbeuren, he developed further the ideas for the 1500cc BMW straight four he had. , and if the customer wished, the four-speed manual gearbox could be replaced with the close-ratio five...
clueweb09-en0005-89-17461 PR: 0.28 spam
Serrated Locking Knife$17.95Buck Nobleman Ti CF Folding Knife$29.95Gerber EVO Titanium-Coated Serrated. Locking Knife $17.95Buck Nobleman Ti CF Folding Knife $29.95Join REI and Enjoy the BenefitsMembers are. address:Friend's email address:Enter up to four e-mail addresses, separated by commas.Message:Text limit 500...
clueweb09-en0010-30-25073 PR: 0.15
tourney. “We’re sleeping four kids to a room and are eating out of our coolers, but we were able to. rest long, and helped Johnson-Hirsch put in day one of a four-day local camp for 35 girls, all but a. weekend ladies! The hard work is paying off! TI vs Indy Diamond Chix: 7-0 TI vs Munster Mudddawgs: 6-4 TI...
clueweb09-en0003-64-22603 PR: 0.27 spam


All Files (97.49% covered at 1.86 hits/line)
30 files in total.
517 relevant lines.
504 lines covered and
13 lines missed
- 1
class Admin::BaseController < ApplicationController
- 1
before_action :require_admin
- 1
def index
- 1
@users = User.all
end
end
- 1
private
# Check if the current user is an admin. If not, redirect them to the task index page
- 1
def require_admin
- 2
unless current_user.admin?
- 1
redirect_to tasks_index_path, notice: "You do not have the needed permission to access."
end
end
- 1
class Admin::UsersController < ApplicationController
# GET /admin/users
# GET /admin/users.json
- 1
def index
- 1
@users = User.all
end
# GET /admin/users/1
# GET /admin/users/1.json
- 1
def show
- 1
chosen_user
end
# GET /admin/users/new
- 1
def new
- 1
@user = User.new
end
# GET /admin/users/1/edit
- 1
def edit
- 1
chosen_user
end
# POST /admin/users
# POST /admin/users.json
- 1
def create
- 1
@user = User.new(user_params)
- 1
respond_to do |format|
- 1
if @user.save
- 2
format.html { redirect_to admin_users_path, notice: 'User was successfully created. Please send the users her/his credentials.' }
else
format.html { render :new, notice: 'Something went wrong. Please try again.' }
end
end
end
# PATCH/PUT /admin/users/1
# PATCH/PUT /admin/users/1.json
- 1
def update
- 1
chosen_user
- 1
respond_to do |format|
- 1
if @user.update(user_params)
- 2
format.html { redirect_to admin_user_path, notice: 'User was successfully updated.' }
else
format.html { render :edit, notice: 'Something went wrong. Please try again.' }
end
end
end
# DELETE /admin/users/1
# DELETE /admin/users/1.json
- 1
def destroy
- 2
respond_to do |format|
- 2
if chosen_user.email ==<EMAIL_ADDRESS>- 2
format.html { redirect_to admin_users_path, notice: 'The Administrator can not be deleted.' }
else
- 1
chosen_user.destroy
- 2
format.html { redirect_to admin_users_path, notice: 'User was successfully destroyed.' }
end
end
end
- 1
private
# Get chosen user
- 1
def chosen_user
- 6
@user = User.find(params[:id])
end
# Never trust parameters from the scary internet, only allow the white list through.
- 1
def user_params
- 2
params.require(:user).permit(:name, :email, :password, :password_confirmation, :admin)
end
end
- 1
class ApplicationController < ActionController::Base
- 1
before_action :authorize
- 1
protect_from_forgery with: :exception
- 1
protected
# Make sure that a user is logged in before any tasks can be created
- 1
def authorize
- 40
unless User.find_by(id: session[:user_id])
- 13
redirect_to tasks_index_path, notice: "Please log in"
end
end
- 1
private
# Helper to display the current logged in user
- 1
def current_user
- 95
@current_user ||= User.find(session[:user_id]) if session[:user_id]
rescue ActiveRecord::RecordNotFound
session.clear
end
- 1
helper_method :current_user
end
- 1
class DashboardController < ApplicationController
# GET /dashboard
- 1
def show
# initial_dashboard
- 4
set_dashboard
- 4
@tasks_overdue = current_user.tasks.overdue
- 4
@tasks_upcoming = current_user.tasks.upcoming
end
# GET /dashboard/edit
- 1
def edit
- 1
set_dashboard
end
# PATCH /dashboard/update
- 1
def update
- 1
set_dashboard
- 1
respond_to do |format|
- 1
if @dashboard.update(dashboard_params)
- 2
format.html { redirect_to dashboard_url, notice: 'Your dashboard was successfully updated.' }
- 1
format.json { render :show, status: :ok, location: @dashboard }
else
format.html { render :edit }
format.json { render json: @dashboard.errors, status: :unprocessable_entity }
end
end
end
- 1
private
- 1
def set_dashboard
- 6
@dashboard ||= current_user.dashboard
end
# Never trust parameters from the scary internet, only allow the white list through.
- 1
def dashboard_params
- 1
params.require(:dashboard).permit(:overdue)
end
end
- 1
class SessionsController < ApplicationController
- 1
skip_before_action :authorize
- 1
def new
end
- 1
def create
- 31
user = User.find_by(email: params[:email])
- 31
if user.try(:authenticate, params[:password])
- 29
session[:user_id] = user.id
- 29
redirect_to tasks_index_path, notice: "Login successfull"
else
- 2
flash.now[:error] = "Wrong password or email"
- 2
render :new
end
end
- 1
def destroy
- 1
session.clear
- 1
redirect_to tasks_index_path, notice: "Logged out"
end
end
- 1
class TasksController < ApplicationController
- 1
before_action :set_task, only: [:show, :edit, :update, :destroy]
- 1
skip_before_action :authorize, only: [:index]
# GET /tasks
# GET /tasks.json
- 1
def index
- 3
@tasks = Task.all
- 3
if current_user
- 2
@todo = current_user.tasks.todo
- 2
@doing = current_user.tasks.doing
- 2
@done = current_user.tasks.done
else
- 1
@todo = Task.todo
- 1
@doing = Task.doing
- 1
@done = Task.done
end
end
# GET /tasks/1
# GET /tasks/1.json
- 1
def show
end
# GET /tasks/new
- 1
def new
- 1
@task = current_user.tasks.build()
end
# GET /tasks/1/edit
- 1
def edit
end
# POST /tasks
# POST /tasks.json
- 1
def create
- 1
@task = current_user.tasks.create(task_params)
- 1
respond_to do |format|
- 1
if @task.save
- 2
format.html { redirect_to @task, notice: 'Task was successfully created.' }
- 1
format.json { render :show, status: :created, location: @task }
else
format.html { render :new }
format.json { render json: @task.errors, status: :unprocessable_entity }
end
end
end
# PATCH/PUT /tasks/1
# PATCH/PUT /tasks/1.json
- 1
def update
- 1
respond_to do |format|
- 1
if @task.update(task_params)
- 2
format.html { redirect_to @task, notice: 'Task was successfully updated.' }
- 1
format.json { render :show, status: :ok, location: @task }
else
format.html { render :edit }
format.json { render json: @task.errors, status: :unprocessable_entity }
end
end
end
# DELETE /tasks/1
# DELETE /tasks/1.json
- 1
def destroy
- 1
@task.destroy
- 1
respond_to do |format|
- 2
format.html { redirect_to tasks_url, notice: 'Task was successfully destroyed.' }
- 1
format.json { head :no_content }
end
end
- 1
private
# Use callbacks to share common setup or constraints between actions.
- 1
def set_task
- 4
@task = Task.find(params[:id])
end
# Never trust parameters from the scary internet, only allow the white list through.
- 1
def task_params
- 2
params.require(:task).permit(:title, :description, :priority, :status, :due_date)
end
end
- 1
class UsersController < ApplicationController
- 1
skip_before_action :authorize, only: [:new, :create]
# GET /users/1
# GET /users/1.json
- 1
def show
- 1
@user = set_user
end
# GET /users/new
- 1
def new
- 1
@user = User.new
end
# GET /users/1/edit
- 1
def edit
- 1
@user = set_user
end
# POST /users
# POST /users.json
- 1
def create
- 1
@user = User.new(user_params)
- 1
respond_to do |format|
- 1
if @user.save
- 1
UserMailer.welcome_email(@user).deliver_now
- 2
format.html { redirect_to tasks_index_path, notice: 'User was successfully created. Please log in.' }
- 1
format.json { render :show, status: :created, location: @user }
else
format.html { render :new }
format.json { render json: @user.errors, status: :unprocessable_entity }
end
end
end
# PATCH/PUT /users/1
# PATCH/PUT /users/1.json
- 1
def update
- 1
set_user
- 1
respond_to do |format|
- 1
if @user.update(user_params)
- 2
format.html { redirect_to @user, notice: 'User was successfully updated.' }
- 1
format.json { render :show, status: :ok, location: @user }
else
format.html { render :edit }
format.json { render json: @user.errors, status: :unprocessable_entity }
end
end
end
# DELETE /users/1
# DELETE /users/1.json
- 1
def destroy
- 2
set_user
- 2
if @user == current_user
- 1
@user.destroy
- 1
respond_to do |format|
- 2
format.html { redirect_to logout_url, notice: 'User was successfully destroyed.' }
- 1
format.json { head :no_content }
end
else
- 1
respond_to do |format|
- 2
format.html { redirect_to tasks_index_url, notice: "You can't delete other users." }
- 1
format.json { render json: @user.errors, status: :unprocessable_entity }
end
end
end
- 1
private
# Use callbacks to share common setup or constraints between actions.
- 1
def set_user
- 5
@user = User.find(params[:id])
end
# Never trust parameters from the scary internet, only allow the white list through.
- 1
def user_params
- 2
params.require(:user).permit(:name, :email, :password, :password_confirmation)
end
end
- 1
module Admin::BaseHelper
end
- 1
module Admin::UsersHelper
end
- 1
module AdminHelper
end
- 1
module ApplicationHelper
end
- 1
module DashboardHelper
end
- 1
module SessionsHelper
end
- 1
module TasksHelper
end
- 1
module UsersHelper
end
- 1
class ApplicationMailer < ActionMailer::Base
- 1
default from<EMAIL_ADDRESS>- 1
layout 'mailer'
end
- 1
class UserMailer < ApplicationMailer
- 1
default from<EMAIL_ADDRESS>- 1
def welcome_email(user)
- 2
@user = user
- 2
@url = 'https://calm-sands-79334.herokuapp.com/login'
- 2
mail(to: @user.email, subject: 'Welcome to DoIt!')
end
end
- 1
class ApplicationRecord < ActiveRecord::Base
- 1
self.abstract_class = true
end
- 1
class Dashboard < ApplicationRecord
- 1
validates :overdue, inclusion: { in: [true, false] }
- 1
belongs_to :user
end
- 1
class Task < ApplicationRecord
- 1
validates :title, :description, :priority, :status, presence: true
- 1
belongs_to :user
- 1
STATUS_TODO = 0
- 1
STATUS_DOING = 1
- 1
STATUS_DONE = 2
- 1
enum priority: {
"Critical" => 0,
"Important" => 1,
"Normal" => 2,
"Low" => 3
}
- 1
enum status: {
"To do" => STATUS_TODO,
"Doing it..." => STATUS_DOING,
"Done!" => STATUS_DONE
}
# Scope to show the tasks filtered by their status.
- 4
scope :todo, -> { where(status: STATUS_TODO).order(:due_date) }
- 4
scope :doing, -> { where(status: STATUS_DOING).order(:due_date) }
- 4
scope :done, -> { where(status: STATUS_DONE).order(:due_date) }
# Scope to show the tasks with the status todo and Doing
- 11
scope :todo_doing, -> { where(status: [STATUS_TODO, STATUS_DOING])}
# Scope to show overdue tasks with the status "To do" or "Doing it..."
- 6
scope :overdue, -> { todo_doing.where("due_date <= ?", Date.today ).order(:due_date) }
# Scope to show upcoming tasks with the status "To do" or "Doing it..."
- 6
scope :upcoming, -> { todo_doing.where(due_date: (Date.current)..Date.current+7).order(:due_date).limit(6) }
# Method to check if task is overdue
- 1
def overdue?
- 7
if self.try(:due_date)
- 4
self.due_date <= Date.today
end
end
end
- 1
class User < ApplicationRecord
- 1
validates :name, :email, presence: true
- 1
validates :email, uniqueness: true
- 1
has_secure_password
- 1
has_many :tasks, dependent: :destroy
- 1
has_one :dashboard, dependent: :destroy
- 1
before_create :initialize_dashboard
- 1
def initialize_dashboard
- 3
return if dashboard.present?
- 3
self.dashboard = Dashboard.new(user: self)
end
- 1
def self.name_email_2(user)
- 1
user.name_email
end
- 1
def name_email
- 2
name + email
end
end
- 1
require 'test_helper'
- 1
class Admin::UsersControllerTest < ActionDispatch::IntegrationTest
- 1
setup do
- 8
@desiree, @roger, @admin = users(:desiree, :roger, :admin)
end
- 1
test "admin should get index" do
# log in
- 1
sign_in_as(@desiree)
- 1
get admin_users_path
- 1
assert_response :success
end
- 1
test "should get show" do
# log in
- 1
sign_in_as(@desiree)
- 1
get admin_user_path(@roger)
- 1
assert_response :success
end
- 1
test "should get new" do
# log in
- 1
sign_in_as(@desiree)
- 1
get new_admin_user_path
- 1
assert_response :success
end
- 1
test "should get edit" do
# log in
- 1
sign_in_as(@desiree)
- 1
get edit_admin_user_path(@roger)
- 1
assert_response :success
end
- 1
test "should get create" do
# log in
- 1
sign_in_as(@desiree)
- 1
assert_difference('User.count') do
- 1
post admin_users_path, params: { user: { email<EMAIL_ADDRESS>name: "Admin Dude", password: "secret", password_confirmation: "secret" } }
end
- 1
assert_equal 'User was successfully created. Please send the users her/his credentials.', flash[:notice]
- 1
assert_redirected_to admin_users_path
end
- 1
test "should get update" do
# log in
- 1
sign_in_as(@desiree)
- 1
patch admin_user_path(@roger), params: { user: { password: "new", password_confirmation: "new" } }
- 1
assert_redirected_to admin_user_path
- 1
assert_equal 'User was successfully updated.', flash[:notice]
end
- 1
test "should get destroy" do
# log in
- 1
sign_in_as(@desiree)
- 1
delete admin_user_path(@roger)
- 1
assert_redirected_to admin_users_path
- 1
assert_equal 'User was successfully destroyed.', flash[:notice]
end
- 1
test "should not be able to destroy the Admininistrator user" do
# log in
- 1
sign_in_as(@desiree)
- 1
delete admin_user_path(@admin)
- 1
assert_redirected_to admin_users_path
- 1
assert_equal 'The Administrator can not be deleted.', flash[:notice]
end
end
- 1
require 'test_helper'
- 1
class DashboardControllerTest < ActionDispatch::IntegrationTest
- 1
setup do
- 8
@desiree = users(:desiree)
- 8
@dashboard = dashboards(:dashboard)
end
- 1
test "logged in user should get dashboard" do
# log in
- 1
sign_in_as(@desiree)
- 1
assert_equal "Login successfull", flash[:notice]
- 1
get dashboard_url
- 1
assert_response :success
- 1
assert_select "h1", "Dashboard"
end
- 1
test "not logged in user should get redirected from dashboard to tasks index" do
- 1
get dashboard_url
- 1
assert_redirected_to tasks_index_url
- 1
assert_equal "Please log in", flash[:notice]
end
- 1
test "logged in user should see the overdue tasks on the dashboard page" do
# log in
- 1
sign_in_as(@desiree)
- 1
assert_equal "Login successfull", flash[:notice]
- 1
get dashboard_url
- 1
assert_select "h2", "Overdue Tasks"
end
- 1
test "logged in user should see the upcoming tasks on the dashboard page" do
# log in
- 1
sign_in_as(@desiree)
- 1
assert_equal "Login successfull", flash[:notice]
- 1
get dashboard_url
- 1
assert_select "h2", "Upcoming Tasks"
end
- 1
test "logged in user should get edit page" do
# log in
- 1
sign_in_as(@desiree)
- 1
assert_equal "Login successfull", flash[:notice]
- 1
get dashboard_edit_url
- 1
assert_response :success
end
- 1
test "not logged in user should get redirected from edit dashboard to tasks index" do
- 1
get dashboard_edit_url
- 1
assert_redirected_to tasks_index_url
- 1
assert_equal "Please log in", flash[:notice]
end
- 1
test "logged in user should update the dashboard" do
# log in
- 1
sign_in_as(@desiree)
- 1
assert_equal "Login successfull", flash[:notice]
- 1
patch dashboard_url, params: { dashboard: { overdue: "0" } }
- 1
assert_redirected_to dashboard_url
- 1
follow_redirect!
- 1
assert_response :success
- 1
assert_equal "Your dashboard was successfully updated.", flash[:notice]
end
- 1
test "not logged in user should be redirected from update dashboard to tasks index" do
- 1
patch dashboard_url
- 1
assert_redirected_to tasks_index_url
- 1
assert_equal "Please log in", flash[:notice]
end
end
- 1
require 'test_helper'
- 1
class SessionsControllerTest < ActionDispatch::IntegrationTest
- 1
setup do
- 4
@desiree = users(:desiree)
end
- 1
test "should get new" do
- 1
get login_url
- 1
assert_response :success
end
- 1
test "should get create" do
- 1
post login_url
# log in
- 1
sign_in_as(@desiree)
- 1
assert_equal "Login successfull", flash[:notice]
end
- 1
test "should get destroy" do
- 1
get logout_url
- 1
assert_equal "Logged out", flash[:notice]
- 1
assert_redirected_to tasks_index_url
end
- 1
test "invalid user should not log in" do
- 1
post login_url, params: { email: "something@something", password: 'secret' }
- 1
assert_equal "Wrong password or email", flash[:error]
end
end
- 1
require 'test_helper'
- 1
class TasksControllerTest < ActionDispatch::IntegrationTest
- 1
setup do
- 15
@learn_ruby, @learn_rails = tasks(:learn_ruby, :learn_rails)
- 15
@desiree = users(:desiree)
end
- 1
test "logged in user should get index containing tasks" do
# log in
- 1
sign_in_as(@desiree)
- 1
assert_equal "Login successfull", flash[:notice]
- 1
get tasks_index_url
- 1
assert_response :success
- 1
assert_select "h1.task--title"
end
- 1
test "not logged in user should get index containing no tasks" do
- 1
get tasks_index_url
- 1
assert_response :success
- 1
assert_select "h1.task--title", false
end
- 1
test "logged in user should see tasks with a seperate tag when overdue" do
# log in
- 1
sign_in_as(@desiree)
- 1
assert_equal "Login successfull", flash[:notice]
- 1
get tasks_index_url
- 1
assert_response :success
- 1
assert_select "span.task__overdue", "Overdue!"
end
- 1
test "logged in user should get new" do
# log in
- 1
sign_in_as(@desiree)
- 1
assert_equal "Login successfull", flash[:notice]
- 1
get new_task_url
- 1
assert_response :success
end
- 1
test "not logged in user should get redirected from task new to tasks index" do
- 1
get new_task_url
- 1
assert_redirected_to tasks_index_url
- 1
assert_equal "Please log in", flash[:notice]
end
- 1
test "logged in user should create task" do
# log in
- 1
sign_in_as(@desiree)
- 1
assert_equal "Login successfull", flash[:notice]
- 1
assert_difference('Task.count') do
- 1
post tasks_url, params: { task: { description: "Something", due_date: "2017-08-22", priority: "Critical", status: "Doing it...", title: "Testing" } }
end
- 1
assert_redirected_to task_url(Task.last)
end
- 1
test "not logged in user should be redirected from create task to tasks index" do
- 1
post tasks_url
- 1
assert_redirected_to tasks_index_url
- 1
assert_equal "Please log in", flash[:notice]
end
- 1
test "logged in user should show task" do
# log in
- 1
sign_in_as(@desiree)
- 1
assert_equal "Login successfull", flash[:notice]
- 1
get task_url(@learn_ruby)
- 1
assert_response :success
end
- 1
test "not logged in user should be redirected from show task to task index" do
- 1
get task_url(@learn_ruby)
- 1
assert_redirected_to tasks_index_url
- 1
assert_equal "Please log in", flash[:notice]
end
- 1
test "logged in user should get edit" do
# log in
- 1
sign_in_as(@desiree)
- 1
assert_equal "Login successfull", flash[:notice]
- 1
get edit_task_url(@learn_ruby)
- 1
assert_response :success
end
- 1
test "not logged in user should get redirected from task edit to task index" do
- 1
get edit_task_url(@learn_ruby)
- 1
assert_redirected_to tasks_index_url
- 1
assert_equal "Please log in", flash[:notice]
end
- 1
test "logged in user should update task" do
# log in
- 1
sign_in_as(@desiree)
- 1
assert_equal "Login successfull", flash[:notice]
- 1
patch task_url(@learn_ruby), params: { task: { description: @learn_ruby.description, due_date: @learn_ruby.due_date, priority: @learn_ruby.priority, status: @learn_ruby.status, title: @learn_ruby.title } }
- 1
assert_redirected_to task_url(@learn_ruby)
end
- 1
test "not logged in user should be redirected from update task to task index" do
- 1
patch task_url(@learn_ruby), params: { task: { description: @learn_ruby.description, due_date: @learn_ruby.due_date, priority: @learn_ruby.priority, status: @learn_ruby.status, title: @learn_ruby.title } }
- 1
assert_redirected_to tasks_index_url
- 1
assert_equal "Please log in", flash[:notice]
end
- 1
test "logged in user should destroy task" do
# log in
- 1
sign_in_as(@desiree)
- 1
assert_equal "Login successfull", flash[:notice]
- 1
assert_difference('Task.count', -1) do
- 1
delete task_url(@learn_ruby)
end
- 1
assert_redirected_to tasks_url
end
- 1
test "not logged in user should be redirected from destroy task to task index" do
- 1
assert_no_difference('Task.count') do
- 1
delete task_url(@learn_ruby)
end
- 1
assert_redirected_to tasks_index_url
- 1
assert_equal "Please log in", flash[:notice]
end
end
- 1
require 'test_helper'
- 1
class UsersControllerTest < ActionDispatch::IntegrationTest
- 1
setup do
- 12
@desiree = users(:desiree)
- 12
@roger = users(:roger)
end
- 1
test "should prompt for login" do
- 1
get login_url
- 1
assert_response :success
end
- 1
test "should get new" do
- 1
get new_user_url
- 1
assert_response :success
end
- 1
test "should create user" do
- 1
assert_difference('User.count') do
- 1
post users_url, params: { user: { email<EMAIL_ADDRESS>name: "Max Muster", password: 'secret', password_confirmation: 'secret' } }
end
# Verify that email was sent
- 1
email = ActionMailer::Base.deliveries.last
- 1
assert_equal<EMAIL_ADDRESS>email.to
- 1
assert_redirected_to tasks_index_path
- 1
assert_equal "User was successfully created. Please log in.", flash[:notice]
end
- 1
test "logged in user should show user" do
# log in
- 1
sign_in_as(@desiree)
- 1
assert_equal "Login successfull", flash[:notice]
- 1
get user_url(@desiree)
- 1
assert_response :success
end
- 1
test "not logged in user should get redirected from show user to task index" do
- 1
get user_url(@desiree)
- 1
assert_redirected_to tasks_index_path
- 1
assert_equal "Please log in", flash[:notice]
end
- 1
test "logged in user should get edit" do
# log in
- 1
sign_in_as(@desiree)
- 1
assert_equal "Login successfull", flash[:notice]
# go to example.com/users/:id/edit
- 1
get edit_user_url(@desiree)
- 1
assert_response :success
end
- 1
test "not logged in users should get redirected from users edit to tasks index" do
- 1
get edit_user_url(@desiree)
- 1
assert_redirected_to tasks_index_path
end
- 1
test "logged in user should update user" do
# log in
- 1
sign_in_as(@desiree)
- 1
assert_equal "Login successfull", flash[:notice]
- 1
patch user_url(@desiree), params: { user: { email: @desiree.email, name: @desiree.name, password: 'secret', password_confirmation: 'secret' } }
- 1
assert_redirected_to user_url(@desiree)
end
- 1
test "not logged in user should get redirected from users update to tasks index" do
- 1
patch user_url(@desiree), params: { user: { email: @desiree.email, name: @desiree.name, password: 'secret', password_confirmation: 'secret' } }
- 1
assert_redirected_to tasks_index_path
end
- 1
test "logged in user should destroy her own user" do
# log in
- 1
sign_in_as(@desiree)
- 1
assert_equal "Login successfull", flash[:notice]
- 1
assert_difference('User.count', -1) do
- 1
delete user_url(@desiree)
end
- 1
assert_equal "User was successfully destroyed.", flash[:notice]
- 1
assert_redirected_to logout_url
end
- 1
test "loggen in user should not be able to delte another user" do
# log in
- 1
sign_in_as(@desiree)
- 1
assert_equal "Login successfull", flash[:notice]
- 1
assert_no_difference('User.count') do
- 1
delete user_url(@roger)
end
- 1
assert_redirected_to tasks_index_url
- 1
assert_equal "You can't delete other users.", flash[:notice]
end
- 1
test "not logged in user should get redirected from destroy user to tasks index" do
- 1
assert_no_difference('User.count') do
- 1
delete user_url(@desiree)
end
- 1
assert_redirected_to tasks_index_path
end
end
- 1
require 'test_helper'
- 1
class UserMailerTest < ActionMailer::TestCase
- 1
test "user receives email" do
# Create the email
- 1
email = UserMailer.welcome_email(users(:desiree))
# Send the email, then test that it got queued
- 1
assert_emails 1 do
- 1
email.deliver_now
end
end
end
- 1
require 'test_helper'
- 1
class DashboardTest < ActiveSupport::TestCase
- 1
setup do
- 2
@dashboard = dashboards(:dashboard)
end
- 1
test "dashboard references the correct user" do
- 1
assert_equal<EMAIL_ADDRESS>@dashboard.user.email
end
- 1
test "at least one choice made" do
- 1
assert_not_nil @dashboard
end
end
- 1
require 'test_helper'
- 1
class TaskTest < ActiveSupport::TestCase
- 1
setup do
- 6
@learn_ruby, @learn_rails, @learn_japanese = tasks(:learn_ruby, :learn_rails, :learn_japanese)
end
- 1
test "status valid" do
- 1
assert_equal "Done!", @learn_ruby.status
end
- 1
test "priority valid" do
- 1
assert_equal "Important", @learn_ruby.priority
end
- 1
test "overdue tasks scope" do
- 1
assert_equal 1, Task.overdue.count
end
- 1
test "check if task is overdue" do
- 1
assert_not @learn_ruby.overdue?
- 1
assert @learn_rails.overdue?
end
- 1
test "one task upcoming" do
- 1
assert_equal 1, Task.upcoming.count
end
- 1
test "tasks without due_date don't fail" do
- 1
assert_not @learn_japanese.overdue?
end
end
- 1
require 'test_helper'
- 1
class UserTest < ActiveSupport::TestCase
- 1
def setup
- 6
@desiree = users(:desiree)
- 6
@hans = User.create(name: "Hans", email<EMAIL_ADDRESS>end
- 1
test "valid user" do
- 1
assert @desiree.valid?
end
- 1
test "invalid without name" do
- 1
@desiree.name = nil
- 1
refute @desiree.valid? "saved user without a name"
- 1
assert_not_nil @desiree.errors[:name], "no validation error for name present"
end
- 1
test "invalid without email" do
- 1
@desiree.email = nil
- 1
refute @desiree.valid?
- 1
assert_not_nil @desiree.errors[:email]
end
- 1
test "name_email" do
- 1
assert_equal<EMAIL_ADDRESS>User.name_email_2(@hans)
- 1
assert_equal<EMAIL_ADDRESS>@hans.name_email
end
- 1
test "tasks" do
- 1
assert_equal 3, @desiree.tasks.size
end
- 1
test "initialize dashboard gets called" do
- 1
@markus = User.create(name: "Markus", email<EMAIL_ADDRESS>password: "1234")
- 1
assert_not_nil @markus.dashboard
end
end


Buttons can be flat, filled, toggleable or disabled
Flat
Filled
Toggles
Disabled
Buttons can be styled using custom properties
Flat
Filled
Toggles
Disabled
Buttons can be used as a link
Wrap it in an anchor tag with
tabindex="-1"
.
IBM Research


Before Change
b_config_1.experimental_graceful_shutdown_timeout_s = grace_period_s
// Create and delete the backend.
tag = "tag"
backend_state.deploy_backend(tag, b_config_1, r_config_1)
backend_state.update()
backend_state._replicas[tag].get()[0]._actor.set_ready()
backend_state.update()
delete_goal = backend_state.delete_backend(tag)
backend_state.update()
After Change
backend_state.update()
// Replica should remain in STOPPING until it finishes.
check_counts(backend_state, total=1, by_state=[(ReplicaState.STOPPING, 1)])
assert backend_state._replicas[TEST_TAG].get()[0]._actor.stopped
backend_state.update()
backend_state.update()
// force_stop shouldn"t be called until after the timer.
assert not backend_state._replicas[TEST_TAG].get(
)[0]._actor.force_stopped_counter
assert not backend_state._replicas[TEST_TAG].get()[0]._actor.cleaned_up
check_counts(backend_state, total=1, by_state=[(ReplicaState.STOPPING, 1)])
// Advance the timer, now the replica should be force stopped.
timer.advance(grace_period_s + 0.1)
backend_state.update()
assert backend_state._replicas[TEST_TAG].get()[
0]._actor.force_stopped_counter == 1
assert not backend_state._replicas[TEST_TAG].get()[0]._actor.cleaned_up
check_counts(backend_state, total=1, by_state=[(ReplicaState.STOPPING, 1)])
assert not goal_manager.check_complete(delete_goal)
// Force stop should be called repeatedly until the replica stops.
backend_state.update()
assert backend_state._replicas[TEST_TAG].get()[
0]._actor.force_stopped_counter == 2
assert not backend_state._replicas[TEST_TAG].get()[0]._actor.cleaned_up
check_counts(backend_state, total=1, by_state=[(ReplicaState.STOPPING, 1)])
assert not goal_manager.check_complete(delete_goal)
// Once the replica is done stopping, it should be removed.
replica = backend_state._replicas[TEST_TAG].get()[0]


Dear, In my quest for a reliable and reputable person to engage in a mutual business relationship, I got your email through my retune search for a suitable preson that can help me in my predicament. And I sincerely apologies for my contacting you in this form please bear with me. And accept my indecent introduction, it was bore out of my despiration to get off my inadequcy to takle my immediate problems. . As a matter of introduction, I am the only surviving daughter of late Chief Ibrahim Sessey Cola, the paramount chief of Munsh District of Sierra Leone who was killed on 8th January 1999, by the trigger happy rebels. Most unfortunately for me I came from a polygamous family, and a student but out of school because of this problem. During my father's lifetime he was actively engaged in ILLEGAL MINING AND SALES OF DIAMOND, from where he made his enormous wealth. Prior to my father's death, he left a WILL with his lawyer, which was made available to us upon observation and conclusion of his burial. And as the only daughter most of his properties were willed to me, most importantly is the sum of US$35M (thirty five million United States dollars)which he deposited in a private security company in Europe which is also among my inheritance from my deceased father. I obviously know that it might be very difficult for you to believe my story but it is what is really happing to me now for upon introduction of this WILL all my father's relatives have not been at peace with me, they were not happy how my father assigned all the enormous wealth to me. As a poor girl, they have systematically and forcefully collected from me all documents of the properties 'willed' to me. Not including a huge amount of money at ARE Bank of sierra Leone which they could not withdrawn due to a court order restraining either party from making withdrawals pending the determination of a Litigation filled by my father's relations challenging the WILL.  Infact the fear and warning of killing me has well griped me so much that I could not bear it anymore, hence I ran away from our family house to live with a school mate of mine whose father is a military man,with advise of my father*s lawyer to safeguard my life. Considering my age and inexperienced in business and investment procedures, please I want you to help me in retreving this fund which I will use to invest in a profitable venture in a country where there is Economic and political stability. And if I may ask....... 1 .Is your country good for such investment??? Because I do not want to make mistake. 2 Can you help me???? without trying to double cross me If you assent to help me in this regard, we shall then discuss what I will give you in return for your assistance. And before I disclose anything, we will firstly have to sign a Memorandum of Understanding upon which you shall proceed to the official premises of the Security Company to take delivery of the funds which I will use for forfurther investment with your help or with the help of another person pending what comes out between us. Please put into consideration my incapabilities in some respects, therefore I would prefer all correspondence to be through Email which is more secret and confidential, as I can not use my school mate father's telephone to avoid jeopardizing my staythere. Every document concerning these funds is with me, upon request I will sent it to you if need be. . Should you not be willing to collaborate with me in this, please inform me urgently to enable me look for another person. Or you email me at<EMAIL_ADDRESS>Thanks in anticipation to your positive response. Regards. PRINCESS HASIHATU SESSEY COLA.


Greg Klein's PWP - Milestone 1
Purpose
A portfolio designed to show my web development skills and link to my work.
Audience
Potential employers, web development colleagues, my followers on social media
Goal
Acquire full-time employment as a full stack web developer at a local startup.
Persona 1
Sam White
35 years old
Hiring manager for Zuum, a local bike share startup looking to expand nationally. They recently received $10 million in VC funding and are hiring a full-time, in-house full stack web developer. This position will require remaking and maintaining their currently buggy site to provide a responsive, more intuitive UX for customers.
Technology
- Cell Phone: Samsung Galaxy S9
- Work Laptop: Acer Laptop Aspire 5 (Windows 10 64-Bit, Google Chrome, Intel Core i5, 8GB DDR4 RAM, 256GB SSD, Intel HD Graphics 620, 15.6" screen)
Scenario
Views my portfolio site and relevant work to decide whether I'm qualified to redesign and maintain the front and back end of their website.
Frustrations and Needs
- Ignores applicants with poorly formatted or buggy code
- Prefers applicants who specialize in responsive, mobile-first UI/UX
- Reluctant to interview candidates who cannot handle both front end and back end web development
- Feels pressured to hire someone who exceeds the job requirements due to shoddy work from contractor/freelance developers hired in the past
Behaviors and Attitudes
- Rarely spends more than 5 minutes on each application because of the high volume of both local and out-of-state applicants
- More likely to hire someone if he's met the developer at a community event, follows them on social media, or was recommended to hire them by a colleague
Goals
- Sam usually inspects the site's source code for errors and proper formatting.
- Sam checks to see if sites display properly on his Android phone.
- Sam ranks the quality of work in relation to other job applicants' websites in a Google Docs table
User Story
As a user, Sam must decide which applicant seems most qualified to remake Zuum's website using HTML, CSS, JS, PHP, and MySQL.


Player checker - Better Battlelog Forums #1605
Sitemap
08. April 2012 21:20
Topicstarter
Guest
make rader to tell if there are many high or low levels on a server, so I can find more easily enemies that correspond my skill level.
08. April 2012 21:22
BrainFooLong
Administrator
Just wait for the upcoming "Live" Server Browser from DICE.
http://battlelog.battlefield.com/bf3/en/news/view/2832654780672366278/
08. April 2012 21:26
Topicstarter
Guest
I should have remembered :D


Face! Plant! is an iOS app that puts plants on your face!
Choose from over 30 lenses ranging from realistic to psychedelic.
Record and share videos to fill your friends with jealousy.
$2.99 on iOS
PRESS
Rock Paper Shotgun
Boing Boing
Polygon
Unity
Some of the Lenses
Let me know about Face! Plant! updates.


Invert Colour
Convert 2x2
A free online PDF colour inverter
Choose File
Upload File
Processing may take several minutes for large files.


Police seek answers after selfies of a 'murdered' man appear on Facebook
Selfies of a man who police believed had been murdered have appeared on a Facebook account in his name.
Ricardas Puisys has been the centre of a murder investigation since he went missing in 2015.
Despite no body being found, Cambridgeshire Police escalated the original investigation from a missing persons inquiry after they were given information that he had come to harm.
One person was arrested on suspicion of murder but there was insufficient evidence to charge them and they were released.
Ricardas Puisys, originally from Lithuania, was 35 when he went missing. He was last seen at his place of work at Nightlayer Leek Company in Chatteris in Cambridgeshire on the 26th of September 2015.
Despite multiple public appeals to find him, police were unable to trace him and had not uncovered any new evidence. That is until the summer of 2018 when a Facebook account was set up in his name and photographs of a man police believe to be Ricardas were posted.
As well as the selfies, there is a picture of the man believed to be Ricardas' face superimposed on the cover of a book. One of the post's accompanying comments asks, in Lithuanian, "where are you?"
Police are now urging the person behind this account to get in touch.
"Whether Ricardas is alive or not, someone knows what has happened to him. Please do the right thing and come forward," Cambridgeshire Police said in a statement.


FAHM
Menu
Manage patients
Last CEP events
Hi!
Show profile
Log out
space
Homepage
Here you can search for patients, update their conditions, check incoming events and send messages to the concerned patients.
Search patient by surname
Search
space
More results with faster consultations.
Fast Alert Health Monitoring
Update patient's diseases
×
Tax code
Pathologies
Select the disorders this patient has developed
Submit
×
Gender
Tax code
Birthdate
Place of birth
Diseases
Modify patient's diseases
×
Medical Register
Birthdate
Place of birth
Specialties
CEP Event
×
Time
value
Category
value
User info
nome
cognome
data di nascita
sesso
email
taxcode
Space
Diseases:
valore
Event info
Systolic pressure
valore
Diastolic pressure
valore
BPM
valore
contenuto extra
valore
Saturated hemoglobin [%]
valore
Mean saturated hemoglobin [%]
valore
Write a message to patient and his/her ICE list:


Macedonian Esports Federation is a nonprofit organization responsible for esports competitions and
tournaments. Our mission is promotion of esports and recognition from the government institutions.
MESF organizes national esports league and qualification tournaments for the World and European
esports championships.
The Federation currently has 7 permanent clubs as founding members and more than 120 teams
participating in tournaments. Officially registered in 2009, we are the oldest esports organization
in the region.
The organization is looking for the best outcome for players in the esports ecosystem, especially
for grassroots movements in esports. Translating between internal and external stakeholders ensures
an educated approach.
We are part of the international competitions since 2005. Until now we have taken part in 11
international championships, bearing the flag of Macedonia. MESF is official member of:
president
vice president
pr & marketing
lead caster
league of legends
board member
board member
board member
secretary general
tournaments manager
counter strike: go
pes 2020
board member
board member
board member


- GameEngine - Class in model
-
Should be extended to create the entry point for your game, children are encouraged to implement main as the line
"launch(args);".
- GameEngine() - Constructor for class model.GameEngine
-
- GameObject - Class in model
-
Generic object to be extended with interfaces to generate functionality.
- GameObject() - Constructor for class model.GameObject
-
- getAngle() - Method in class model.GameObject
-
- getAngle() - Method in interface model.IDrawable
-
- getBackground() - Method in class model.Model
-
Returns sprite to be repeated as the background.
- getCanvasHeight() - Method in class view.View
-
- getCanvasWidth() - Method in class view.View
-
- getDrawableObjects() - Method in class model.Model
-
Returns objects that can be drawn.
- getGraphicsContext() - Method in class view.View
-
- getHeight() - Method in class view.Sprite
-
- getImage(String) - Static method in class util.ResourceLoader
-
Loads an a sprite to a JavaFX Image.
- getImage(String, int, int, int, int) - Static method in class util.ResourceLoader
-
Returns a sub image of an image as a JavaFX Image.
- getImage() - Method in class view.Sprite
-
- getInput() - Method in class view.InputHandler
-
Returns the input for the frame.
- getSprite() - Method in interface model.IDrawable
-
Returns sprite associated with an game object.
- getVisible() - Method in interface model.IDrawable
-
Should return true if the object is visible.
- getWidth() - Method in class view.Sprite
-
- getX() - Method in class model.GameObject
-
- getX() - Method in interface model.IDrawable
-
- getXDir() - Method in interface model.IMoving
-
Returns the change in X per frame.
- getY() - Method in class model.GameObject
-
- getY() - Method in interface model.IDrawable
-
- getYDir() - Method in interface model.IMoving
-
Returns the change in Y per frame.
- graphicsContext - Variable in class view.View
-


{{hostname}}.local API
🎼
No music currently playing..
♬♪
Actions
Show:
Start Show
Stop Show
Disable Show
Lights:
Turn On
Turn Off
Effects:
Cylon
Dance
Flash
Random
Lights
B
P
1
2
3
4
5
6
7
8
Nothing to see here!


pymusepipe
2.16.1
Welcome
Install
Getting Started
Alignment
Mosaicking
Convolution
PHANGS pipeline example
License
Authors
Changelog
Module Reference
pymusepipe
Docs
»
Pymusepipe
View page source
Pymusepipe
¶
This is the documentation of
pymusepipe
.
Contents
¶
Welcome
GitHub Repository
Install
Prerequisites
Installation
Getting Started
Basic Usage - Dealing with OBs, individually
Step 1: Preparing your data
Step 2: Preparing your configuration files
Step 3: Running the pipeline
Under the hood of run_recipes
Structure of the output
Alignment
Limitations of run_align recipes
Mosaicking
Convolution
PHANGS pipeline example
License
Authors
Changelog
Version 2.9.9
Version 1.0
Module Reference
pymusepipe package
Indices and tables
¶
Index
Module Index
Search Page


We are creating a new form of porn, a porn where the user has the power to see what he actually want to see.
We want to give all the control to the user. He select short video sequences and put them in his player. His personal porn video is ready to see in a second
We have provided detailed documentation as well as specific code examples to help new users get started. We are also always open to feedback and can answer any questions a user may have about Materialize.


|
glitchedhttps
|
Exit codes returned by the various glitchedhttps functions. More...
Go to the source code of this file.
Macros | |
| #define | GLITCHEDHTTPS_SUCCESS 0 |
| #define | GLITCHEDHTTPS_UNINITIALIZED 10 |
| #define | GLITCHEDHTTPS_OUT_OF_MEM 100 |
| #define | GLITCHEDHTTPS_NULL_ARG 200 |
| #define | GLITCHEDHTTPS_INVALID_ARG 300 |
| #define | GLITCHEDHTTPS_INVALID_PORT_NUMBER 400 |
| #define | GLITCHEDHTTPS_INVALID_HTTP_METHOD_NAME 500 |
| #define | GLITCHEDHTTPS_CHILLBUFF_ERROR 600 |
| #define | GLITCHEDHTTPS_RESPONSE_PARSE_ERROR 700 |
| #define | GLITCHEDHTTPS_EXTERNAL_ERROR 800 |
| #define | GLITCHEDHTTPS_OVERFLOW 900 |
| #define | GLITCHEDHTTPS_CONNECTION_TO_SERVER_FAILED 1000 |
| #define | GLITCHEDHTTPS_HTTP_REQUEST_TRANSMISSION_FAILED 1100 |
| #define | GLITCHEDHTTPS_HTTP_GETADDRINFO_FAILED 1200 |
| #define | GLITCHEDHTTPS_EMPTY_RESPONSE 1300 |
Exit codes returned by the various glitchedhttps functions.
| #define GLITCHEDHTTPS_CHILLBUFF_ERROR 600 |
When the error is not due to glitchedhttps but the underlying chillbuff instance (e.g. if the chillbuff init function fails for some reason (e.g. out of memory/failure to reallocate) and the http request function can't proceed without a stringbuilder).
| #define GLITCHEDHTTPS_CONNECTION_TO_SERVER_FAILED 1000 |
Returned by a plain HTTP request if connection to the specified server couldn't be established.
| #define GLITCHEDHTTPS_EMPTY_RESPONSE 1300 |
If the returned HTTP response string is empty.
| #define GLITCHEDHTTPS_EXTERNAL_ERROR 800 |
When something fails that has nothing to do with glitchedhttps, like for example if something failed inside an MbedTLS function; in that case, check the logs (if you provided an error callback via the glitchedhttps_set_error_callback() function).
| #define GLITCHEDHTTPS_HTTP_GETADDRINFO_FAILED 1200 |
Returned if the plain http:// request failed due to a getaddrinfo()
failure.
| #define GLITCHEDHTTPS_HTTP_REQUEST_TRANSMISSION_FAILED 1100 |
Returned by a plain HTTP request if connection to the specified server was successful but the request couldn't be transmitted to the server.
| #define GLITCHEDHTTPS_INVALID_ARG 300 |
This error code is returned by a glitchedhttps function if you passed an invalid parameter into it.
| #define GLITCHEDHTTPS_INVALID_HTTP_METHOD_NAME 500 |
Returned if the given HTTP method is not one of the allowed ones (e.g. GET
, POST
, etc...).
| #define GLITCHEDHTTPS_INVALID_PORT_NUMBER 400 |
Returned when the request URL has an invalid port number.
| #define GLITCHEDHTTPS_NULL_ARG 200 |
Error code returned by a glitchedhttps function if you passed a NULL argument that shouldn't have been NULL.
| #define GLITCHEDHTTPS_OUT_OF_MEM 100 |
If you get this, it means you're out of memory!
| #define GLITCHEDHTTPS_OVERFLOW 900 |
Not good...
| #define GLITCHEDHTTPS_RESPONSE_PARSE_ERROR 700 |
Returned if the HTTP response string couldn't be parsed.
| #define GLITCHEDHTTPS_SUCCESS 0 |
Returned from a glitchedhttps function when everything went as expected.
| #define GLITCHEDHTTPS_UNINITIALIZED 10 |
Returned when trying to submit a request without having initialized GlitchedHTTPS with the glitchedhttps_init() function first.
Never forget to glitchedhttps_free() once you're done using GlitchedHTTPS to release the resources and prevent memory leaks!


{% extends "base.html" %} {% block meta %}
Email
Password
Are you human? {{spam_operator}} {{spam_word}} = {{spam_answer}}


{% extends 'base.html' %} {% block title %}Login{% endblock %} {% block content %}
Thanks for spending some quality time with the Web site today.
Login again
Go Homepage


Two hundred years ago, Jacob and Wilhelm Grimm published the first volume of Children’s and Household Tales. Now, at a veritable fairy-tale moment—witness the popular television shows Grimm and Once Upon a Time and this year’s two movie adaptations of “Snow White”—Philip Pullman, one of the most popular authors of our time, makes us fall in love all over again with the immortal tales of the Brothers Grimm.
From much-loved stories like “Cinderella” and “Rumpelstiltskin,” “Rapunzel” and “Hansel and Gretel” to lesser-known treasures like “Briar-Rose,” “Thousandfurs,” and “The Girl with No Hands,” Pullman retells his fifty favorites, paying homage to the tales that inspired his unique creative vision—and that continue to cast their spell on the Western imagination.