Stone to Sea
Let me show you the tide
that comes for us faster
than we’d like to admit.
Let me show you
airports underwater
bulldozed reefs, blasted sands
and plans to build new atolls
forcing land
from an ancient, rising sea,
forcing us to imagine
turning ourselves to stone.
Rise By Kathy Jetñil-Kijiner and Aka Niviâna
The land masses inhabited by 0.001% of the population are being swallowed by the seas because of carbon emissions the other 99.99% of the population has been releasing into the atmosphere for the past 50 years.
The Marshallese make up a part of that 0.001% of the population. They are no longer talking about mitigating effects of climate change. They have to survive the catastrophic effects of climate change. They do not have any more time. They have no choice but to build upwards on existing land, since relocation is not an option.
Poet and activist Kathy Jetñil-Kijiner uses her voice and words to create verbal snapshots of a changing landmass, her home, being consumed by rising waters. Satellite data gives us a perspective of this violent change from above and portraits of indigenous peoples allow us to see who is directly affected.
Technical Implementation
Using training data from NASA’s LandSat satellite imagery and a model set of FFHQ portraits (StyleGAN pre-trained model), we explored facial features amidst a changing landscape.
Through multiple phases of training, a creative blending of visual motifs across the two datasets are created. In the first phase of the training, the GAN is presented with a set of human portraits symbolizing the residents of Micronesian islander. In the second phase of training, satellite imagery of coastlines are introduced to the model representing the progress of sea over land.
The choice of when to switch from the first to the second phase of training, as well as the selection of training image examples and hyperparameter values were made based on their ability to produce creative results.
Our code runs in Python and uses GPU acceleration. Additional Python code was developed for selecting training images, filtering out noise, and transforming images to a standard format. Minor post-processing was performed on the output image to adjust the color and tone.
Stone to Sea (2019):


{% extends "base.html" %} {% block content %}
This website has been built as an open source project aimed to provide users necessary information regarding data breaches. It utilizes the APIs provided by haveibeenpwned.com.
Please refer here for
further details.
Source Code:
https://github.com/shubhamcr/pwned_credentials


Hello
I am (Your Name)
I am a Web Developer
About Me
Web Developer
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce varius efficitur nunc quis aliquet. Aliquam blandit, turpis efficitur mollis mattis, dolor augue rhoncus dui, eu laoreet ligula metus sit amet ex. Interdum et malesuada fames ac ante ipsum primis in faucibus. Duis aliquam faucibus nisl, id dignissim mauris molestie ut.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce varius efficitur nunc quis aliquet. Aliquam blandit, turpis efficitur mollis mattis, dolor augue rhoncus dui, eu laoreet ligula metus sit amet ex.
Some quick example text to build on the card title and make up the bulk of the card's content.
Card link Another linkSome quick example text to build on the card title and make up the bulk of the card's content.
Card link Another linkSome quick example text to build on the card title and make up the bulk of the card's content.
Card link Another linkIf you have any project in your mind


Company --SELECT-- Actron Berkleey Daido Eagle Industry Goodyear Harvest court Hu Lane IBM Auto
Are you sure you want to delete these company Info?
This action cannot be undone.


Id:
show
count
clean
delete
delete unused
show unused
Event
Collaborative Space
Task
Community
Delete?


First, a confession: I like PHP. Really, I do. I’m sure you’ve all seen the infamous “A Fractal Of Bad Design” article, and while a lot of the gripes have a decent basis in fact, a lot of it really just doesn’t matter in the day to day. With the release of PHP 5.4, the rapid adoption of Composer, the amazing site Packagist, and the RFC process finally picking up some awesome features (that may be late, but at least they are here): PHP is growing up.
This is a good thing. It’s a language that has been (fairly, and unfairly) derided over the years for various reasons, but despite all the technical and philosophical whinging is still one of the most used (if not the most used) languages for Web Development out there. One of the key reasons for this is the “CMS” Drupal. You’ve likely come across it if you’ve done any sort of web development over the past 5 years or so. It’s a huge project, that allows those without a BCompSci degree to whip up great (and complex, if need be) dynamic websites in a rapid timescale.
The thing is, Drupal hasn’t ever been the pincale of “best practices”. Relying on it’s… interesting “module” system, lots of global variables, “hooks” and other curious design choices, it was very much a product of it’s time. However, for a lot of the users of Drupal itself this didn’t matter: they could learn enough PHP to get by, and hack up what is needed (similar to how WordPress development by users goes, actually) to get it to work. As an aside, for myself I struggled with it; coming from a more “traditional” development background, focused on good seperation of concerns and DRY patterns, I really struggled to wrap my head around it.
With the upcoming Drupal 8 however, this is changing. There is only about 25% lines of code left that are original “Drupal” core code. They’ve embraced Composer, PSR-0, and the Symfony components (which I must say are quite awesome to work with!). An actual CMS, built on good development techniques, with decoupled reusable components and a plan to integrate as much as possible. To me, this is only a good thing.
Others, however, disagree with me. Backdrop is a planned fork of Drupal, specifically to shun this upcoming change, to keep the old architecture and get rid of “best practices” that Drupal is trying to embrace. Now, I can totally get why they’d want to do this: Drupal has a huge entrenched user base, and to be honest, it’s mostly made up of fly-by-nighters who know enough PHP, HTML and JavaScript to be dangerous. These people are what have made Drupal’s conquering of the PHP CMS world possible… but are they the correct target market?
I can completely understand why the fork is considered needed – throwing away all the knowledge that this group of people have obtained seems crazy. There is value in a supremely stable API (look at large projects to get an idea of that), but I can’t help but wonder whether it’s such a good thing to be tied to an API and way of thinking that is years outdated, and will only hold Drupal back moving into the future? I think it may be better for this short-term pain, for some serious long-term gain.
I feel that those who are freaking out about throwing away all their hard work learning how to program Drupal as “non-developers” are right to be upset, but I also feel like it’s entirely the right move for Drupal to go down. Those who are worried can at least rest assured that Drupal 7 will continue to work for the forseeable future; but I implore them to get comfortable with Drupal 8.
Drupal 8’s move to a sane, well-planned architecture will reward those who take the time to learn it far more than Drupal 7 ever will. The concepts may seem foreign to those who aren’t traditional software engineers, but these concepts exist for a reason; frankly, I feel like those “not-a-devs” will be able to learn the new system far faster than they ever learnt Drupal 7’s mishmash of ideas.
With Drupal 8, I think that the pain involved will lose them some users. This is unavoidable. If you’re one of those users, just hold on – give it a try before you write it off. You’ll not only be learning skills that are transferable far outside of Drupal, but I’m certain you’ll find that this will be one of the final times you’ll have to go through this with Drupal.


Edges are 1 of the 2 fundamental components in a graph. 1 edge connect 2 nodes.
Get an array of edges that share a node in common with this edge
Examples
var adjacent = edge.adjacentEdges()
Returns Array<GraphEdge> array of adjacent edges
Get the two nodes of this edge
Examples
var adjacent = edge.adjacentNodes()
Returns Array<GraphNode> the two nodes of this edge
Test if an edge is connected to another edge by a common node
Parameters
edge
GraphEdge test adjacency between this and supplied parameterExamples
var isAdjacent = edge.isAdjacentToEdge(anotherEdge)
Returns boolean true or false, adjacent or not
Test if an edge contains the same nodes as another edge
Parameters
edge
GraphEdge test similarity between this and supplied parameterExamples
var isSimilar = edge.isSimilarToEdge(anotherEdge)
Returns boolean true or false, similar or not
A convenience function, supply one of the edge's incident nodes and get back the other node
Parameters
node
GraphNode must be one of the edge's 2 nodesExamples
var node2 = edge.otherNode(node1)
Returns GraphNode the node that is the other node
Test if an edge points both at both ends to the same node
Examples
var isCircular = edge.isCircular()
Returns boolean true or false, circular or not
If this is a edge with duplicate edge(s), returns an array of duplicates not including self
Examples
var array = edge.duplicateEdges()
Returns Array<GraphEdge> array of duplicate GraphEdge, empty array if none
For adjacent edges, get the node they share in common
Parameters
otherEdge
GraphEdge an adjacent edgeExamples
var sharedNode = edge1.commonNodeWithEdge(edge2)
Returns GraphNode the node in common, undefined if not adjacent
For adjacent edges, get this edge's node that is not shared in common with the other edge
Parameters
otherEdge
GraphEdge an adjacent edgeExamples
var notSharedNode = edge1.uncommonNodeWithEdge(edge2)
Returns GraphNode the node on this edge not shared by the other edge, undefined if not adjacent


ucs2any(1) ucs2any(1) NAME ucs2any - generate BDF fonts containing subsets of ISO 10646-1 codepoints SYNOPSIS ucs2any [ +d | -d ] source-name { mapping-file registry-encoding } ... DESCRIPTION ucs2any allows one to generate from an ISO 10646-1 encoded BDF font other BDF fonts in any possible encoding. This way, one can derive from a sin‐ gle ISO 10646-1 master font a whole set of 8-bit fonts in all ISO 8859 and various other encodings. OPTIONS +d puts DEC VT100 graphics characters in the C0 range (default for upright, character-cell fonts). -d omits DEC VT100 graphics characters from the C0 range (default for all font types except upright, character-cell fonts). OPERANDS source-name is the name of an ISO 10646-1 encoded BDF file. mapping-file is the name of a character set table like those at <ftp://ftp.uni‐ code.org/Public/MAPPINGS/>. These files can also typically be found installed in the /usr/share/fonts/X11/util directory. registry-encoding are the CHARSET_REGISTRY and CHARSET_ENCODING field values for the font name (XLFD) of the target font, separated by a hyphen. Any number of mapping-file and registry-encoding operand pairs may be specified. EXAMPLE The command ucs2any 6x13.bdf 8859-1.TXT iso8859-1 8859-2.TXT iso8859-2 will generate the files 6x13-iso8859-1.bdf and 6x13-iso8859-2.bdf. FUTURE DIRECTIONS Hopefully a future release will have a facility similar to ucs2any built into the server, and reencode ISO 10646-1 on the fly, because storing the same fonts in many different encodings is clearly a waste of storage capacity. SEE ALSO bdftruncate(1) AUTHOR ucs2any was written by Markus Kuhn. Branden Robinson wrote this manual page, originally for the Debian Project. X Version 11 font-util 1.3.0 ucs2any(1)


A non-stop flight to Egypt takes at least 10 hours and 30 minutes. The price range of flying from New York is about $500-$1,000, depending on the city you're traveling to. The most common months to travel is November and December, so prices may increase. The cheapest month to fly is March. The airline that most commonly flies to Egypt from the United States is Egypt Air.


|
| | Министерство культуры Российской Федерации Портал Культура.рф Проект «Образы России» |
Pushkin's memorial estate (Vyazemy estate)
Sundial.
Sundial located in regular park of the Vyazemy estate.
Constructed in the XVIII century "Sundial" is located in the regular lime park. There are 24 linden trees on the open space, whose age ranges from 110-120 to 175-180 years.
The regular park, located to the east from the main house, is part of a regular linden park. According to the age of the trees the park was founded in the beginning of the XIX century. This part of the park with the main house, outbuildings, and a flower parterre constitutes palace and park ensemble.
Originally the park had another planning, from a small circular area located on the main avenue the radial alleys got started, which, combined with the alleys from the wings, formed quite dense system of pathways. The trees were planted alone this pathways. Today, the original plan of the park is mostly lost, but one still can see the rows of old lime trees.
The most regular tree of the park is a small-leaved lime. Most of the trees are nearly 120-180 years old, but the age of some oldest trees (there are nearly 20 of them), which are situated in different parts of the park – is over 200-240 years.
Культура.рф © Портал культурного наследия России


--- layout: post title: binding.pry tags: ---
Quick tip: if you use pry, you can simply throw binding.pry into your rails code and it will toss you out to a pry session to play around with your environment.


{% extends "partials/layout.html" %} {% block content %} Meet New Friends Here Need to reach an op? Type ,callops for assistance. Admiral actualgirl Airsmash Aww BrightGreenLED Doge-Senpai Evan Eylas kinematic1 Naphta Rad scornflakes void Watertrue Zeyeco Rules Be respectful to others and treat them as you would like to be treated: Be mindful that people have different comfort levels regarding offensive content. This is not a professional support channel. If you are feeling depressed or suicidal, please see http://www.suicide.org/international-suicide-hotlines.html to contact a trained support person. Read the rest of the rules. Users Map See where MNFHers are around the globe. Gallery Put a face on that MNFHer Stats See whos a chatty Kathy {% endblock %}
Need to reach an op? Type ,callops for assistance.
See where MNFHers are around the globe.
Put a face on that MNFHer
See whos a chatty Kathy


{% extends 'contents/_base/keynotes.html' %} {% load static %} {% block title %}Keynotes{% endblock %} {% block page_title %}
Dr. Lin is a beloved figure in Asia’s artificial intelligence community. He joins Appier from National Taiwan University, where he served as Associate Professor of Department of Computer Science and Information Engineering.
Dr. Lin’s research interests include theoretical foundations of machine learning, studies on new learning problems, and improvements on learning algorithms. Between 2010-2013, Dr. Lin co-led his university’s team to victory in machine learning competition KDD Cup six times, and his introductory machine learning textbook Learning from Data (which he co-authored) is a bestseller on Amazon. Online, his teachings on machine learning, hosted on Coursera, have been viewed millions of times.
Dr. Lin received his PhD and MS in computer science from the California Institute of Technology, and served as a long-time consultant before joining Appier formally.
(TBD)
Andrew is a Python programmer, Django core developer and the author of South, the Django migrations framework, and has been programming, maintaining and herding machines for over a decade.
He is an alumnus of Magdalen College, Oxford. Now lives in mostly-sunny San Francisco. Now working in the Eventbrite.
Andrew is a reasonably well-travelled technical public speaker. He enjoy the occasional bit of cycling, plenty of archery, flying small planes, mountains and overzealous consumption of cheese.
(TBD)
Carol Naslund Willing can frequently be heard saying “That’s so cool. How does it work? I would love to learn more about it.” She has enjoyed developing software and a is a Director of the Python Software Foundation, a core developer for Project Jupyter, and a Research Software Engineer at Cal Poly San Luis Obispo. She’s an active contributor to open source projects, a maintainer for OpenHatch and the Anita Borg Institute’s open source projects.
My experiences with people have taught me to “use what you have learned to make something better and share with others”.
Recent lectures include PyCon US 2016, PyData Carolinas 2016, PyCon Philippines 2016.
(TBD)
Dr Russell Keith-Magee is a 10 year veteran of the Django core team, and for 5 years, was President of the Django Software Foundation. He's also the founder of the BeeWare project, developing GUI tools to support the development of Python software and the co-founder of Django Evolution.
He completed his tertiary education at the Curtin University of Technology, from which he hold a Bachelor’s degree in Physics, and a First Class Honours in Computer Science, After studying Physics and Computer Science as an undergraduate, Russell completed a doctoral dissertation investigating models of learning and development in neural networks now is a Doctor of Philosophy.
I'm a geek. I like new ideas and pushing the envelope of the possible using technology. However, technology isn't just about building a nifty new widget. Technology needs to complement reality - physically, conceptually, and financially.
（TBD)


JBehave was designed to be embeddable in different development environments. The JBehave Core module contains support for running scenarios as JUnit tests - which can be run either in your favourite IDE or in your command-line build that supports JUnit tests. Other unit testing frameworks, e.g. TestNG, can also be used very easily, c.f. FAQ.
You can also run scenarios using the JBehave Ant or Maven extensions. Both support two way to lookup scenarios, by list of scenario classes or by Java path includes/excludes pattern. Below are examples on how to configure both extensions - using the trader example.
Remember to include jbehave-ant to your runtime classpath.
Note: we are using as default scope compile, which means that the scenarios will be looked up in the source directory (which can be optionally specified and defaults to src/main/java). If the scope is set to test the scenarios will be looked up in the test source directory (which can be optionally specified and defaults to src/test/java).
Note: we are using as default scope compile, which means that the scenarios will be looked up in the POM source directory. If the scope is set to test the scenarios will be looked up in the POM test source directory.
Both Ant and Maven by default instantiate the Scenario class via a public constructor with a single ClassLoader parameter (i.e. with property classLoaderInjected set to true). This allows the scenario to be injected with the class loader during instantiation, e.g. as used in the loading of I18n resource bundles. If the user does not require the class loader during instantiation, its injection can be disabled by setting the property classLoaderInjected to false. In this case only the default public constructor is required.
By default, the scenario runners are configured to fail-fast, i.e. the execution will stop at first failure (but will complete execution of the all the scenarios in the story or textual scenario file). To allow the generation of complete reports view, the runners need to be enabled to execute scenario in batch and ignoreFailure modes (i.e. setting these flags to true). In this way all scenarios will run and the build will be nominally successful but a full report can ben generated, including the failed and pending steps. Note that the batch mode is strictly speaking not essential but makes it easier to get a summary of the failed scenarios.


- Ryzen 2600
- Nvidia 1050 Ti
- 32GB DDR4 2400
- 256GB m.2 SSD
- 8TB 5400 RPM 3.5” HDD
- B450 Motherboard
- 450 Watt PSU
Our office computers are built from the most reliable parts on the market. Our showcased system contains a healthy mixture of AMD and Nvidia components to help optimize the system for office workflow.
Primary components from ASUS


The shared_array class template stores a pointer to a dynamically allocated array. (Dynamically allocated array are allocated with the C++ new[] expression.) The object pointed to is guaranteed to be deleted when the last shared_array pointing to it is destroyed or reset.
Every shared_array meets the CopyConstructible and Assignable requirements of the C++ Standard Library, and so can be used in standard library containers. Comparison operators are supplied so that shared_array works with the standard library's associative containers.
Normally, a shared_array cannot correctly hold a pointer to an object that has been allocated with the non-array form of new. See shared_ptr for that usage.
Because the implementation uses reference counting, cycles of shared_array instances will not be reclaimed. For example, if main() holds a shared_array to A, which directly or indirectly holds a shared_array back to A, A's use count will be 2. Destruction of the original shared_array will leave A dangling with a use count of 1.
A shared_ptr to a std::vector is an alternative to a shared_array that is a bit heavier duty but far more flexible.
The class template is parameterized on T, the type of the object pointed to. T must meet the smart pointer common requirements.
namespace boost { template<class T> class shared_array { public: typedef T element_type; explicit shared_array(T * p = 0); template<class D> shared_array(T * p, D d); ~shared_array(); // never throws shared_array(shared_array const & r); // never throws shared_array & operator=(shared_array const & r); // never throws void reset(T * p = 0); template<class D> void reset(T * p, D d); T & operator[](std::ptrdiff_t i) const; // never throws T * get() const; // never throws bool unique() const; // never throws long use_count() const; // never throws operator unspecified-bool-type() const; // never throws void swap(shared_array<T> & b); // never throws }; template<class T> bool operator==(shared_array<T> const & a, shared_array<T> const & b); // never throws template<class T> bool operator!=(shared_array<T> const & a, shared_array<T> const & b); // never throws template<class T> bool operator<(shared_array<T> const & a, shared_array<T> const & b); // never throws template<class T> void swap(shared_array<T> & a, shared_array<T> & b); // never throws }
typedef T element_type;
Provides the type of the stored pointer.
explicit shared_array(T * p = 0);
Constructs a shared_array, storing a copy of p, which must be a pointer to an array that was allocated via a C++ new[] expression or be 0. Afterwards, the use count is 1 (even if p == 0; see ~shared_array). The only exception which may be thrown by this constructor is std::bad_alloc. If an exception is thrown, delete[] p is called.
template<class D> shared_array(T * p, D d);
Constructs a shared_array, storing a copy of p and of d. Afterwards, the use count is 1. D's copy constructor and destructor must not throw. When the the time comes to delete the array pointed to by p, the object d is used in the statement d(p). Invoking the object d with parameter p in this way must not throw. The only exception which may be thrown by this constructor is std::bad_alloc. If an exception is thrown, d(p) is called.
shared_array(shared_array const & r); // never throws
Constructs a shared_array, as if by storing a copy of the pointer stored in r. Afterwards, the use count for all copies is 1 more than the initial use count.
~shared_array(); // never throws
Decrements the use count. Then, if the use count is 0, deletes the array pointed to by the stored pointer. Note that delete[] on a pointer with a value of 0 is harmless. T need not be a complete type. The guarantee that this does not throw exceptions depends on the requirement that the deleted object's destructor does not throw exceptions. See the smart pointer common requirements.
shared_array & operator=(shared_array const & r); // never throws
Constructs a new shared_array as described above, then replaces this shared_array with the new one, destroying the replaced object.
void reset(T * p = 0);
Constructs a new shared_array as described above, then replaces this shared_array with the new one, destroying the replaced object. The only exception which may be thrown is std::bad_alloc. If an exception is thrown, delete[] p is called.
template<class D> void reset(T * p, D d);
Constructs a new shared_array as described above, then replaces this shared_array with the new one, destroying the replaced object. D's copy constructor must not throw. The only exception which may be thrown is std::bad_alloc. If an exception is thrown, d(p) is called.
T & operator[](std::ptrdiff_t i) const; // never throws
Returns a reference to element i of the array pointed to by the stored pointer. Behavior is undefined and almost certainly undesirable if the stored pointer is 0, or if i is less than 0 or is greater than or equal to the number of elements in the array.
T * get() const; // never throws
Returns the stored pointer. T need not be a complete type. See the smart pointer common requirements.
bool unique() const; // never throws
Returns true if no other shared_array is sharing ownership of the stored pointer, false otherwise. T need not be a complete type. See the smart pointer common requirements.
long use_count() const; // never throws
Returns the number of shared_array objects sharing ownership of the stored pointer. T need not be a complete type. See the smart pointer common requirements.
Because use_count is not necessarily efficient to implement for implementations of shared_array that do not use an explicit reference count, it might be removed from some future version. Thus it should be used for debugging purposes only, and not production code.
operator unspecified-bool-type () const; // never throws
Returns an unspecified value that, when used in boolean contexts, is equivalent
to get() != 0
.
void swap(shared_ptr & b); // never throws
Exchanges the contents of the two smart pointers. T need not be a complete type. See the smart pointer common requirements.
template<class T> bool operator==(shared_array<T> const & a, shared_array<T> const & b); // never throws template<class T> bool operator!=(shared_array<T> const & a, shared_array<T> const & b); // never throws template<class T> bool operator<(shared_array<T> const & a, shared_array<T> const & b); // never throws
Compares the stored pointers of the two smart pointers. T need not be a complete type. See the smart pointer common requirements.
The operator< overload is provided to define an ordering so that shared_array objects can be used in associative containers such as std::map. The implementation uses std::less<T *> to perform the comparison. This ensures that the comparison is handled correctly, since the standard mandates that relational operations on pointers are unspecified (5.9 [expr.rel] paragraph 2) but std::less<> on pointers is well-defined (20.3.3 [lib.comparisons] paragraph 8).
template<class T> void swap(shared_array<T> & a, shared_array<T> & b) // never throws
Equivalent to a.swap(b). Matches the interface of std::swap. Provided as an aid to generic programming.
$Date$
Copyright 1999 Greg Colvin and Beman Dawes. Copyright 2002 Darin Adler. Copyright 2002-2005 Peter Dimov. Distributed under the Boost Software License, Version 1.0. See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.


Join operations.
For functions without suffix _dt
, they use
X[Y]
syntax to join tables, and pass the "by" parameter to
"on" in data.table. They have different features and syntax. They
starts with first letter of left/right/full/inner/semi/anti.
left_join_dt(x, y, by = NULL, suffix = c(".x", ".y")) right_join_dt(x, y, by = NULL, suffix = c(".x", ".y")) inner_join_dt(x, y, by = NULL, suffix = c(".x", ".y")) full_join_dt(x, y, by = NULL, suffix = c(".x", ".y")) anti_join_dt(x, y, by = NULL) semi_join_dt(x, y, by = NULL) ljoin(x, y, by = NULL) rjoin(x, y, by = NULL) ijoin(x, y, by = NULL) fjoin(x, y, by = NULL) ajoin(x, y, by = NULL) sjoin(x, y, by = NULL)
| x | data.frame |
|---|---|
| y | data.frame |
| by | For functions without suffix |
| suffix | If there are non-joined duplicate variables in x and y, these suffixes will be added to the output to disambiguate them. Should be a character vector of length 2. |
data.table
workers = fread(" name company Nick Acme John Ajax Daniela Ajax ") positions = fread(" name position John designer Daniela engineer Cathie manager ") workers %>% inner_join_dt(positions)#>#> Key: <name> #> name company position #> <char> <char> <char> #> 1: Daniela Ajax engineer #> 2: John Ajax designerworkers %>% left_join_dt(positions)#>#> Key: <name> #> name company position #> <char> <char> <char> #> 1: Daniela Ajax engineer #> 2: John Ajax designer #> 3: Nick Acme <NA>workers %>% right_join_dt(positions)#>#> Key: <name> #> name company position #> <char> <char> <char> #> 1: Cathie <NA> manager #> 2: Daniela Ajax engineer #> 3: John Ajax designerworkers %>% full_join_dt(positions)#>#> Key: <name> #> name company position #> <char> <char> <char> #> 1: Cathie <NA> manager #> 2: Daniela Ajax engineer #> 3: John Ajax designer #> 4: Nick Acme <NA># filtering joins workers %>% anti_join_dt(positions)#>#> name company #> <char> <char> #> 1: Nick Acmeworkers %>% semi_join_dt(positions)#>#> name company #> <char> <char> #> 1: John Ajax #> 2: Daniela Ajax# To suppress the message, supply 'by' argument workers %>% left_join_dt(positions, by = "name")#> Key: <name> #> name company position #> <char> <char> <char> #> 1: Daniela Ajax engineer #> 2: John Ajax designer #> 3: Nick Acme <NA># Use a named 'by' if the join variables have different names positions2 = setNames(positions, c("worker", "position")) # rename first column in 'positions' workers %>% inner_join_dt(positions2, by = c("name" = "worker"))#> Key: <name> #> name company position #> <char> <char> <char> #> 1: Daniela Ajax engineer #> 2: John Ajax designer# the syntax of non-"_dt" suffix joins is a bit different workers %>% ijoin(positions2,by = "name==worker")#> name company position #> <char> <char> <char> #> 1: John Ajax designer #> 2: Daniela Ajax engineerx= data.table(a=1:5,a1 = 2:6,b=11:15) y= data.table(a=c(1:4,6), a1 = c(1,2,4,5,1),c=c(101:104,106)) merge(x,y,all = TRUE) -> a fjoin(x,y,by = c("a","a1")) -> b data.table::setcolorder(a,names(b)) fsetequal(a,b)#> [1] TRUE


In May 2016, I quit my job in NYC, donated most of my possessions, bought a new truck, and embarked on an epic 3-month road trip around the USA and Canada. You can navigate around this website to check out where I went each month during the summer.
| Month | Start Point | End Point | Miles Traveled |
|---|---|---|---|
| June | New York, New York | Banff, Alberta, Canada | 3,893 miles |
| July | Calgary, Albert, Canada | Park City, Utah | 2,711 miles |
| August | Park City, Utah | Austin, Texas | 2,515 miles |
| Total | 9,119 miles |
| Favorite National Park | Favorite City and State | ||||
|---|---|---|---|---|---|
| Month | June | Banff National Park | Alberta, Canada | Minneapolis | Minnesota |
| July | Grand Teton National Park | Wyoming | Bozeman | Montana | |
| August | San Juan National Forest | Colorado | Silverton | Colorado |


Skip to content
WaveSound
Join our community, it's 100% free
LOG IN
SIGN UP
Top
Error 404
Whoops! The page that you are looking for doesn't exist
Click here to go back to HOME


This assignment was not easy but very happy I was able work through it.
Started assignment for week 4.
Click here to download assignment.
Learned about Jinja templating.
Click here for the lecture.
Learned about modules.
Click here for the lecture.


| DOSE: |
10 mg |
IV |
Heroin |
(tar / resin) |
I came about drugs in the strangest of ways. I guess I used to think it would be unimaginable for me to even smoke pot. That was the 'big evil.' But now as I look back I believe it was inevitable. I love my mind. I love it so much. I love searching the depths of it. I was a child prodigy in music, and I experience overlapping of the senses. When I hear music, I see colors as tangeable as the computer screen in front of me. As I grew up, I spent so much time alone, and being creative. I had to. It was compulsive.
But when I first tried pot, suddenly my mind was opened to a whole new world of colors, and music that was sensational! Since then my friends have passed different drugs around such as the white turkeys, coke, shrooms, but none of them did heroin. The thought of trying that would make me stand out, or maybe different. I really don't know what drove me to want to try it. I have read all the shit on the net about what it does and it seemed like it would be a great experience.
It was a saturday night. My friend james and I decided that we would go to juarez. He and I went through some rough times on the street together. It was actually my first time to walk across the international border. It was creepy at first cause all the Mexican grafitti covers walls saying 'kill whiteys, send them back to england.' The good thing, (since I am not 21, only 20) about juarez is you can chill and have some beers and no one bothers you about age. James told me at the bar that he was moving to juarez, and he wanted to show me where he was moving to. We went. The place was a brothel run by an older couple.  So I tested his statement and when the old woman asked what I wanted, I said: 'Yo quiero la heroina.'
She nodded. She demanded five dollars, and said she would be back in a few minutes. I gave it to her against my better judgment. I honestly thought she was going to run away with it. But then its just five bucks and hey, it helps someone in need. I shrugged it off. But she surprised me. She came back and handed me a rolled up piece of foil, diameter about one fourth of your thumbnail. She handed me a needle that was in the package, so I KNOW it was unused. She took me and James to her private room where I could get high. We went, and James sat flirting with some girl that lived there.
 That is called Mexican black tar. They stopped as they watched me boil it in a spoon with some water. Nobody in that room ever did heroin. I was the only one doing it relying on what I saw in pulp fiction. I got out the syringe and sucked up some of the solution, and shot it up. It kinda stung when I shot it, but that sensation dissappeared within 30 secs. I was so smacked out it wasn't even funny.
Suddenly I was withdrawn from everything. A wave of heat consumed me so strong. I was so comfortable, and so happy. I felt like a super star, kinda like everyone was in the room cause I was there. I was the cool one cause I did heroin and the others were pussies.   I felt so good. Nothing could go wrong.
We left just afterward to find another club. I felt like cameras were watching me as me the big hero was walking down the street. I felt like a bridge, as I was the first to cross the borders, and now that I knew where to find heroin, I could be other people's bridge. I felt important. I felt liked. Things I haven't felt much in my life.
We sat in a bar, and I stared at balloons and, don't get me wrong I didn't trip out or anything, just focused. At the moment I could see how the balloons could be having a conversation if only they could talk. Then I imagined what they would be saying, and how I could fuel a conversation. I was talkative for a minute and suddenly silent and then suddenly talkative. My mind wondered everywhere over the strangest things. Music that was played in the bar was an instant conversation. Suddenly tones along with those colors I always saw became words, and chords had personalities allowing me to dig to depths of my own sense of expression that I had never before been to.
Coming down. I itched after six hours of shooting up. Everywhere in my body it felt like the creepy crawlers were racing under my skin. That didn't last but an hour. After that I was home and passed out. It took me three or four days to fully come down off of it, or so it seemed. I had mild sores. Basically I just felt very drained physically, mentally and emotionally.  After those couple days, I felt normal.
I had a great experience. I don't, however, encourage anyone to try it. That is your own choice. If you do decide to try make sure you know that is what you want to do. I, personally wouldn't do it again, cause I enjoyed it way too much the first time. Its been about a month and a half now, so I don't think I got addicted.
Blind Squid
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: archive title: Zulip Chat Archive permalink: /stream/113488-general/topic/Style.html ---
Let's play a new game: each time someone opens a PR and is asked for style corrections, we check whether https://github.com/leanprover/mathlib/blob/master/docs/style.md and https://github.com/leanprover/mathlib/blob/master/docs/naming.md already have them. If not we open something like https://github.com/leanprover/mathlib/pull/95
Everybody can play, and make contributing to, and maintaining, mathlib slightly easier
Good idea! How do we pick a winner?
In the best games, everybody wins.
"Everybody has won and all must have prizes."
What is the recommended spacing in mathlib?
{ ... split, { ... }, { ... }}
or
{ ... split, { ... }, { ... } }
or
{ ... split, { ... }, { ... } }
second
Thanks.
Another one:
⟨begin ... end⟩
or
⟨begin ... end ⟩
or
⟨ begin ... end ⟩
Here I prefer the first one.
The first one
I would say
⟨ begin ... end ⟩
Ah. I would say your suggestion is more readable, but it has the drawback of shifting the proof by 4 characters to the right (instead of two characters for the more condensed version).
you an also write
begin constructor, ... end
In many cases a refine
inside of the tactic block might be necessary anyway.
If there is only one case I would prefer option 1. If it's multiple cases I would use
begin refine <bla _ _, foo _ _>, { ... }, { ... } end
Are the following acceptable styles?
begin have h : ..., { ... }, ... end begin split, { ... }, ... end
I prefer to bracket both cases in the second example, but the first one is common
If one subgoal is much shorter than the other, then you should arrange it so that the short goal comes first and then you can skip the second brackets
Who wants to update the style guide to record all that?
What are the thoughts in the Lean community about multiple synonym/names for a certain theorem? Are there any strategies on how to do that or do people have concerns against doing that?
For example, I was looking for something like "submodule.le_zero" and I wouldn't want to have to dig into lattices and their \bot element, just to get that.
namespace submodule universes u v variables {R : Type u} {M : Type v} [comm_ring R] [add_comm_group M] [module R M] lemma le_zero (N: submodule R M): (0: submodule R M) ≤ N := lattice.bot_le end namespace
Same goes with theorems that have very common names - again from my first "exercise" - e.g. I would want to find Nakayama's lemma preferable formulated in about 5 equivalent ways as something like nakayama
, nakayama_rephrased_1
, nakayama_rephrased_2
or something along those lines, certainly not exists_sub_one_mem_and_smul_eq_zero_of_fg_of_le_smul
.
The le_zero
example is not recommended because that's not how we write the zero submodule
I also have the feeling that the mathlib conventions deserve some updating on this issue. This is not only about finding statements, but also about readability of proofs.
It is important to stick to a single expression consistently because that's the common language for all the simp lemmas and such
Introducing new constants shouldn't be the solution though
Can we alias stuff?
There is an alias
command for exactly that, but it is not much used
Is it documented somewhere?
There are probably less than 10 restated theorems in mathlib
and they are mostly because I thought that core had a dumb name for something
I agree that famous theorems should use famous names, especially if the symbol reading name is unenlightening or very long
The convention for restatements would be to use postfix '
or \1
, \2
etc
There are also boundary cases, e.g. Johannes asked me to rename homogeneous to norm_smul in https://github.com/leanprover-community/mathlib/pull/680#discussion_r253305420
I'm not claiming that homogeneous is the best name ever, but it would be nicer in some proofs
So an alias might really do the trick ...
If it is some kind of f(g x) = g (f x) statement I would definitely prefer the symbol reading name
If it is \ex x, foo x /\ \all y, bar x <= f x + g y
then I would prefer a more informative name
How about the Cauchy Schwarz inequality?
I could see a case for either, but I'd err on the side of symbol reading name
Is there a reason not to define an alias?
the problem is that these theorems often have a few forms, and if they are algebraic manipulation lemmas then it's easier to get at them by the symbol reading name
The alias
command still leaves some to be desired. I would like it if it was possible to have forwarding links, i.e. you type in cauchy_s...
in autocomplete and norm_mul_le
pops up (with an indication that it is redirecting from cauchy_schwarz
)
I see your point for finding statements
But in a proof I'd prefer an informative name
I suppose you could also do it the other way around, seeing as the main reason for the symbol reading names is searchability
So how would that alias
work? I see
/ -- doc string - / alias my_theorem ← alias1 alias2 ...
or
alias A_iff_B ↔ B_of_A A_of_B
in the comments, but alias submodule.le_zero ← lattice.bot_le
does not work.
What is the bad thing of doing
lemma le_zerro: ... := lattice.bot_le
you have to import the tactic, I don't think it's in the default set
The tactic does basically the same thing as that, except it also gives it a nice docstring and attributes and stuff
alias
is a good way to document your intent about it too (otherwise people might just remove it to eliminate duplication)
Of course, alias
is only for exact duplicates. If you want to change the statement it's not an alias
so le_zero
isn't an example
would you mind pointing me to a minimal working example? Also didn't see any documentation about docstrings yet, is there any tutorial/document where to read that stuff?
Yes it is not, but since I could replace my submodule.le_zero
in the proof with lattice.bot_le
, it would be functionally an alias, wouldn't it? (I mean I only did write the lemma because I needed this fact in the proof and couldn't find it)
Just try it and see, it's not a particularly complicated tactic
import tactic.alias section end alias add_comm ← plus_comm #print plus_comm -- mouse over this, the docstring is "**Alias** of `add_comm`" -- @[alias] -- theorem plus_comm : ∀ {α : Type u} [_inst_1 : add_comm_semigroup α] (a b : α), a + b = b + a := -- add_comm
By the way, that theorem would be called zero_le
not le_zero
anyway
and that already exists and might even apply if you can prove submodules have the right structure
but like I said, I strongly recommend against adding that theorem, because it will make you want to use 0
for the zero submodule, and you will be frustrated six more times for lack of other theorems talking about this submodule
because it's uniformly called bot
in the library
thank you!
I'm not going to make any pull request to the library, I am merely trying to figure out how things work, so the example here is rather a theoretical one. But I think it is good to know the options available for giving nicer, shorter notations to things, as this seems to be im my opinion quite important for the usability.
I agree with you that I should use \bot
to match the library style, and also that I messed up the name there (I had first "ge_zero", then I changed the sign later).
Naming things is hard. It took me a long time to get over the fact that mathlib
people were telling me the property that functors have is called map_comp
, rather than functoriality
.
I have grudgingly accepted their point, I think. :-)
absolutely, and it makes sense for searching when you can type something like eq_of...
and it gives you all the options, so I generally like the naming style.
By the way, I've tried this kind of naming in the past. In the long term, you get confused by your own naming system, because it is difficult to name everything consistently this way and you have to look a lot more up
you end up with ad hoc extensions to the naming system all over the place and it becomes a mess
there just isn't enough creativity in the mathematical lexicon to name all the thousands of piddly lemmas that demand names
{% endraw %}Last updated: Apr 24 2020 at 19:02 UTC


For old school players, the World of Greyhawk hardly needs description. This was the birthplace an origin of many monsters, heroes and places that are now as common as household words-- Mordenkainen, Bigby, Tenser, Rary, Iuz the Old, Vecna, Tharizdun, and more. Players will find themselves in the hotbed of the central Flanaess, and will find such places as The Free City of Greyhawk, The Wild Coast, The Abbor Alz and Bright Desert, The Shield Lands, The Gnarley Forest, Village of Hommlet, The Horned Lands, White Plume Mountain, Against the Giants, The Ghost Tower of Inverness, and possibly the most challenging dungeon in the NWN multiverse-- Undermountain, with more on the way. There are many quests, some of which place the world itself in jeopardy. It is low to mid-magic, with some minor environmental factors to consider.
The World of Greyhawk can be a hostile environment, and it is not for the novice player. There are traps, puzzles, obstacles, in addition to rare and dangerous creatures. The not so rare & not so dangerous critters are also pretty dangerous here. :-)
There are also multiple crafting options, character editors, and Bard Studios for bard characters to create their own lyrics or their songs. There are searchable libraries, intrigues, plots, villains, evil cults, and other things that go bump in the night. One can play from Level 1 to Level 40 on this server and then do it again with a different character and adventure in completely different areas unseen by the former character.


Abandoned newborn boy found alive in Plessislaer, KZN
An abandoned new born baby was found alive in Plessislaer in KwaZulu-Natal on Sunday morning, ER24 said.
Spokesperson Ineke van Huyssteen said a search and rescue team followed a footpath to where residents said they heard a baby crying.
"Shortly afterwards, ER24 paramedics met the team on the path where they found them carrying the baby boy."
They found him in a pit.
Suffering from hypothermia, he was treated on the scene and taken to hospital for further care.
The circumstances of the incident are unknown.


foreground
background
SCSS Blend Modes
normal
multiply
lighten
darken
darkercolor
lightercolor
lineardodge
linearburn
difference
screen
exclusion
overlay
softlight
hardlight
colordodge
colorburn
linearlight
vividlight
pinlight
hardmix
Photoshop
colorblend
dissolve
divide
hue
luminosity
saturation
subtract


[gecode-users] Reification
Christian Schulte
cschulte at kth.se
Mon Apr 27 19:45:20 CEST 2009
Actually, for 2. this is used: suppose you want express logical equivalence
by reification, say (x<y) ó (a < b). Then, one could express it by (x < y) ó
b0 = 1, (a < b) ó b1 = 1, and eqv(b0,b1,1). However it can be done more
efficiently by using just a single Boolean variable: (x < y) ó b=1 and (a <
b) ó 1. Only one Boolean variable, and no equivalence propagator.
Cheers
Christian
--
Christian Schulte, www.it.kth.se/~cschulte/
From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf
Of Joe Porter
Sent: Monday, April 27, 2009 7:16 PM
To: users at gecode.org
Subject: Re: [gecode-users] Reification
1. It is really an equivalence: so what it actually says (your example
slightly simplified) is (x != y+c) ó b=1. If b=0 it will assert x == y+c,
and if b=1 it will assert x != y+c. I am not sure whether this answers your
question.
That's exactly what I wanted -- to use the boolean variables to record which
constraints could not be satisfied.
2. Well depends on what you want to express, when you post xi == yi +
c ó b=1 for the same b for all i it means that if b=0, it must hold for all
i that xi != yi +c and likewise if b=1, it must hold for all i that xi = yi
+ c. If you want to have Boolean control variables that make a statement
just for a particular i you have to create a new Boolean variable for each
i.
So I guess that means that no one else has tried it ;-)
Thanks for all of your help,
-Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ps.uni-sb.de/pipermail/users/attachments/20090427/20451b92/attachment.htm>
More information about the gecode-users
mailing list


[§432E-2] Conflict with other laws. If there is a conflict with any other law, this chapter shall prevail to the extent that this chapter offers greater protection or rights to the enrollee. [L 1998, c 178, pt of §2]


|
VirtualSCADA
1.0
VirtualSCADA Senior Design Project
|
Public Member Functions | |
| __construct (array $attributes=array()) | |
| getGlobalScopes () | |
| fill (array $attributes) | |
| forceFill (array $attributes) | |
| newInstance ($attributes=array(), $exists=false) | |
| newFromBuilder ($attributes=array(), $connection=null) | |
| fresh (array $with=array()) | |
| load ($relations) | |
| hasOne ($related, $foreignKey=null, $localKey=null) | |
| morphOne ($related, $name, $type=null, $id=null, $localKey=null) | |
| belongsTo ($related, $foreignKey=null, $otherKey=null, $relation=null) | |
| morphTo ($name=null, $type=null, $id=null) | |
| hasMany ($related, $foreignKey=null, $localKey=null) | |
| hasManyThrough ($related, $through, $firstKey=null, $secondKey=null) | |
| morphMany ($related, $name, $type=null, $id=null, $localKey=null) | |
| belongsToMany ($related, $table=null, $foreignKey=null, $otherKey=null, $relation=null) | |
| morphToMany ($related, $name, $table=null, $foreignKey=null, $otherKey=null, $inverse=false) | |
| morphedByMany ($related, $name, $table=null, $foreignKey=null, $otherKey=null) | |
| joiningTable ($related) | |
| delete () | |
| forceDelete () | |
| getObservableEvents () | |
| setObservableEvents (array $observables) | |
| addObservableEvents ($observables) | |
| removeObservableEvents ($observables) | |
| update (array $attributes=array()) | |
| push () | |
| save (array $options=array()) | |
| touchOwners () | |
| touches ($relation) | |
| touch () | |
| setCreatedAt ($value) | |
| setUpdatedAt ($value) | |
| getCreatedAtColumn () | |
| getUpdatedAtColumn () | |
| freshTimestamp () | |
| freshTimestampString () | |
| newQuery () | |
| newQueryWithoutScope ($scope) | |
| newQueryWithoutScopes () | |
| applyGlobalScopes ($builder) | |
| removeGlobalScopes ($builder) | |
| newEloquentBuilder ($query) | |
| newCollection (array $models=array()) | |
| newPivot (Model $parent, array $attributes, $table, $exists) | |
| getTable () | |
| setTable ($table) | |
| getKey () | |
| getQueueableId () | |
| getKeyName () | |
| setKeyName ($key) | |
| getQualifiedKeyName () | |
| getRouteKey () | |
| getRouteKeyName () | |
| usesTimestamps () | |
| getMorphClass () | |
| getPerPage () | |
| setPerPage ($perPage) | |
| getForeignKey () | |
| getHidden () | |
| setHidden (array $hidden) | |
| addHidden ($attributes=null) | |
| getVisible () | |
| setVisible (array $visible) | |
| addVisible ($attributes=null) | |
| setAppends (array $appends) | |
| getFillable () | |
| fillable (array $fillable) | |
| getGuarded () | |
| guard (array $guarded) | |
| isFillable ($key) | |
| isGuarded ($key) | |
| totallyGuarded () | |
| getTouchedRelations () | |
| setTouchedRelations (array $touches) | |
| getIncrementing () | |
| setIncrementing ($value) | |
| toJson ($options=0) | |
| jsonSerialize () | |
| toArray () | |
| attributesToArray () | |
| relationsToArray () | |
| getAttribute ($key) | |
| hasGetMutator ($key) | |
| setAttribute ($key, $value) | |
| hasSetMutator ($key) | |
| getDates () | |
| fromDateTime ($value) | |
| replicate (array $except=null) | |
| getAttributes () | |
| setRawAttributes (array $attributes, $sync=false) | |
| getOriginal ($key=null, $default=null) | |
| syncOriginal () | |
| syncOriginalAttribute ($attribute) | |
| isDirty ($attributes=null) | |
| getDirty () | |
| getRelations () | |
| getRelation ($relation) | |
| setRelation ($relation, $value) | |
| setRelations (array $relations) | |
| getConnection () | |
| getConnectionName () | |
| setConnection ($name) | |
| getMutatedAttributes () | |
| __get ($key) | |
| __set ($key, $value) | |
| offsetExists ($offset) | |
| offsetGet ($offset) | |
| offsetSet ($offset, $value) | |
| offsetUnset ($offset) | |
| __isset ($key) | |
| __unset ($key) | |
| __call ($method, $parameters) | |
| __toString () | |
| __wakeup () | |
| __construct (array $attributes=array()) | |
| getGlobalScopes () | |
| fill (array $attributes) | |
| forceFill (array $attributes) | |
| newInstance ($attributes=array(), $exists=false) | |
| newFromBuilder ($attributes=array(), $connection=null) | |
| fresh (array $with=array()) | |
| load ($relations) | |
| hasOne ($related, $foreignKey=null, $localKey=null) | |
| morphOne ($related, $name, $type=null, $id=null, $localKey=null) | |
| belongsTo ($related, $foreignKey=null, $otherKey=null, $relation=null) | |
| morphTo ($name=null, $type=null, $id=null) | |
| hasMany ($related, $foreignKey=null, $localKey=null) | |
| hasManyThrough ($related, $through, $firstKey=null, $secondKey=null) | |
| morphMany ($related, $name, $type=null, $id=null, $localKey=null) | |
| belongsToMany ($related, $table=null, $foreignKey=null, $otherKey=null, $relation=null) | |
| morphToMany ($related, $name, $table=null, $foreignKey=null, $otherKey=null, $inverse=false) | |
| morphedByMany ($related, $name, $table=null, $foreignKey=null, $otherKey=null) | |
| joiningTable ($related) | |
| delete () | |
| forceDelete () | |
| getObservableEvents () | |
| setObservableEvents (array $observables) | |
| addObservableEvents ($observables) | |
| removeObservableEvents ($observables) | |
| update (array $attributes=array()) | |
| push () | |
| save (array $options=array()) | |
| touchOwners () | |
| touches ($relation) | |
| touch () | |
| setCreatedAt ($value) | |
| setUpdatedAt ($value) | |
| getCreatedAtColumn () | |
| getUpdatedAtColumn () | |
| freshTimestamp () | |
| freshTimestampString () | |
| newQuery () | |
| newQueryWithoutScope ($scope) | |
| newQueryWithoutScopes () | |
| applyGlobalScopes ($builder) | |
| removeGlobalScopes ($builder) | |
| newEloquentBuilder ($query) | |
| newCollection (array $models=array()) | |
| newPivot (Model $parent, array $attributes, $table, $exists) | |
| getTable () | |
| setTable ($table) | |
| getKey () | |
| getQueueableId () | |
| getKeyName () | |
| setKeyName ($key) | |
| getQualifiedKeyName () | |
| getRouteKey () | |
| getRouteKeyName () | |
| usesTimestamps () | |
| getMorphClass () | |
| getPerPage () | |
| setPerPage ($perPage) | |
| getForeignKey () | |
| getHidden () | |
| setHidden (array $hidden) | |
| addHidden ($attributes=null) | |
| getVisible () | |
| setVisible (array $visible) | |
| addVisible ($attributes=null) | |
| setAppends (array $appends) | |
| getFillable () | |
| fillable (array $fillable) | |
| getGuarded () | |
| guard (array $guarded) | |
| isFillable ($key) | |
| isGuarded ($key) | |
| totallyGuarded () | |
| getTouchedRelations () | |
| setTouchedRelations (array $touches) | |
| getIncrementing () | |
| setIncrementing ($value) | |
| toJson ($options=0) | |
| jsonSerialize () | |
| toArray () | |
| attributesToArray () | |
| relationsToArray () | |
| getAttribute ($key) | |
| hasGetMutator ($key) | |
| setAttribute ($key, $value) | |
| hasSetMutator ($key) | |
| getDates () | |
| fromDateTime ($value) | |
| replicate (array $except=null) | |
| getAttributes () | |
| setRawAttributes (array $attributes, $sync=false) | |
| getOriginal ($key=null, $default=null) | |
| syncOriginal () | |
| syncOriginalAttribute ($attribute) | |
| isDirty ($attributes=null) | |
| getDirty () | |
| getRelations () | |
| getRelation ($relation) | |
| setRelation ($relation, $value) | |
| setRelations (array $relations) | |
| getConnection () | |
| getConnectionName () | |
| setConnection ($name) | |
| getMutatedAttributes () | |
| __get ($key) | |
| __set ($key, $value) | |
| offsetExists ($offset) | |
| offsetGet ($offset) | |
| offsetSet ($offset, $value) | |
| offsetUnset ($offset) | |
| __isset ($key) | |
| __unset ($key) | |
| __call ($method, $parameters) | |
| __toString () | |
| __wakeup () | |
Static Public Member Functions | |
| static | addGlobalScope (ScopeInterface $scope) |
| static | hasGlobalScope ($scope) |
| static | getGlobalScope ($scope) |
| static | observe ($class) |
| static | hydrate (array $items, $connection=null) |
| static | hydrateRaw ($query, $bindings=array(), $connection=null) |
| static | create (array $attributes) |
| static | forceCreate (array $attributes) |
| static | firstOrCreate (array $attributes) |
| static | firstOrNew (array $attributes) |
| static | updateOrCreate (array $attributes, array $values=array()) |
| static | query () |
| static | on ($connection=null) |
| static | onWriteConnection () |
| static | all ($columns=array('*')) |
| static | find ($id, $columns=array('*')) |
| static | findOrNew ($id, $columns=array('*')) |
| static | with ($relations) |
| static | destroy ($ids) |
| static | saving ($callback, $priority=0) |
| static | saved ($callback, $priority=0) |
| static | updating ($callback, $priority=0) |
| static | updated ($callback, $priority=0) |
| static | creating ($callback, $priority=0) |
| static | created ($callback, $priority=0) |
| static | deleting ($callback, $priority=0) |
| static | deleted ($callback, $priority=0) |
| static | flushEventListeners () |
| static | unguard ($state=true) |
| static | reguard () |
| static | isUnguarded () |
| static | unguarded (callable $callback) |
| static | resolveConnection ($connection=null) |
| static | getConnectionResolver () |
| static | setConnectionResolver (Resolver $resolver) |
| static | unsetConnectionResolver () |
| static | getEventDispatcher () |
| static | setEventDispatcher (Dispatcher $dispatcher) |
| static | unsetEventDispatcher () |
| static | cacheMutatedAttributes ($class) |
| static | __callStatic ($method, $parameters) |
| static | addGlobalScope (ScopeInterface $scope) |
| static | hasGlobalScope ($scope) |
| static | getGlobalScope ($scope) |
| static | observe ($class) |
| static | hydrate (array $items, $connection=null) |
| static | hydrateRaw ($query, $bindings=array(), $connection=null) |
| static | create (array $attributes) |
| static | forceCreate (array $attributes) |
| static | firstOrCreate (array $attributes) |
| static | firstOrNew (array $attributes) |
| static | updateOrCreate (array $attributes, array $values=array()) |
| static | query () |
| static | on ($connection=null) |
| static | onWriteConnection () |
| static | all ($columns=array('*')) |
| static | find ($id, $columns=array('*')) |
| static | findOrNew ($id, $columns=array('*')) |
| static | with ($relations) |
| static | destroy ($ids) |
| static | saving ($callback, $priority=0) |
| static | saved ($callback, $priority=0) |
| static | updating ($callback, $priority=0) |
| static | updated ($callback, $priority=0) |
| static | creating ($callback, $priority=0) |
| static | created ($callback, $priority=0) |
| static | deleting ($callback, $priority=0) |
| static | deleted ($callback, $priority=0) |
| static | flushEventListeners () |
| static | unguard ($state=true) |
| static | reguard () |
| static | isUnguarded () |
| static | unguarded (callable $callback) |
| static | resolveConnection ($connection=null) |
| static | getConnectionResolver () |
| static | setConnectionResolver (Resolver $resolver) |
| static | unsetConnectionResolver () |
| static | getEventDispatcher () |
| static | setEventDispatcher (Dispatcher $dispatcher) |
| static | unsetEventDispatcher () |
| static | cacheMutatedAttributes ($class) |
| static | __callStatic ($method, $parameters) |
Data Fields | |
| $incrementing = true | |
| $timestamps = true | |
| $exists = false | |
| const | CREATED_AT = 'created_at' |
| const | UPDATED_AT = 'updated_at' |
Static Public Attributes | |
| static | $snakeAttributes = true |
| static | $manyMethods = array('belongsToMany', 'morphToMany', 'morphedByMany') |
Static Protected Member Functions | |
| static | boot () |
| static | bootTraits () |
| static | firstByAttributes ($attributes) |
| static | registerModelEvent ($event, $callback, $priority=0) |
| static | boot () |
| static | bootTraits () |
| static | firstByAttributes ($attributes) |
| static | registerModelEvent ($event, $callback, $priority=0) |
Protected Attributes | |
| $connection | |
| $table | |
| $primaryKey = 'id' | |
| $perPage = 15 | |
| $attributes = array() | |
| $original = array() | |
| $relations = array() | |
| $hidden = array() | |
| $visible = array() | |
| $appends = array() | |
| $fillable = array() | |
| $guarded = array('*') | |
| $dates = array() | |
| $casts = array() | |
| $touches = array() | |
| $observables = array() | |
| $with = array() | |
| $morphClass | |
Static Protected Attributes | |
| static | $resolver |
| static | $dispatcher |
| static | $booted = array() |
| static | $globalScopes = array() |
| static | $unguarded = false |
| static | $mutatorCache = array() |
Definition at line 9313 of file compiled.php.
| __construct | ( | array | $attributes = array() | ) |
Definition at line 9346 of file compiled.php.
| __construct | ( | array | $attributes = array() | ) |
| __call | ( | $method, | |
| $parameters | |||
| ) |
| __call | ( | $method, | |
| $parameters | |||
| ) |
Definition at line 10588 of file compiled.php.
|
static |
|
static |
Definition at line 10596 of file compiled.php.
| __get | ( | $key | ) |
| __get | ( | $key | ) |
Definition at line 10556 of file compiled.php.
| __isset | ( | $key | ) |
| __isset | ( | $key | ) |
Definition at line 10580 of file compiled.php.
| __set | ( | $key, | |
| $value | |||
| ) |
| __set | ( | $key, | |
| $value | |||
| ) |
Definition at line 10560 of file compiled.php.
| __toString | ( | ) |
| __toString | ( | ) |
Definition at line 10601 of file compiled.php.
| __unset | ( | $key | ) |
| __unset | ( | $key | ) |
Definition at line 10584 of file compiled.php.
| __wakeup | ( | ) |
| __wakeup | ( | ) |
Definition at line 10605 of file compiled.php.
|
static |
|
static |
Definition at line 9374 of file compiled.php.
| addHidden | ( | $attributes = null | ) |
| addHidden | ( | $attributes = null | ) |
Definition at line 10070 of file compiled.php.
| addObservableEvents | ( | $observables | ) |
| addObservableEvents | ( | $observables | ) |
Definition at line 9755 of file compiled.php.
| addVisible | ( | $attributes = null | ) |
| addVisible | ( | $attributes = null | ) |
Definition at line 10083 of file compiled.php.
|
static |
|
static |
Definition at line 9511 of file compiled.php.
| applyGlobalScopes | ( | $builder | ) |
| applyGlobalScopes | ( | $builder | ) |
Definition at line 9965 of file compiled.php.
|
protected |
|
protected |
Definition at line 10394 of file compiled.php.
| attributesToArray | ( | ) |
| attributesToArray | ( | ) |
Definition at line 10189 of file compiled.php.
| belongsTo | ( | $related, | |
$foreignKey = null , |
|||
$otherKey = null , |
|||
$relation = null |
|||
| ) |
| belongsTo | ( | $related, | |
$foreignKey = null , |
|||
$otherKey = null , |
|||
$relation = null |
|||
| ) |
Definition at line 9564 of file compiled.php.
| belongsToMany | ( | $related, | |
$table = null , |
|||
$foreignKey = null , |
|||
$otherKey = null , |
|||
$relation = null |
|||
| ) |
| belongsToMany | ( | $related, | |
$table = null , |
|||
$foreignKey = null , |
|||
$otherKey = null , |
|||
$relation = null |
|||
| ) |
Definition at line 9614 of file compiled.php.
|
staticprotected |
|
staticprotected |
Definition at line 9362 of file compiled.php.
|
protected |
|
protected |
Definition at line 9352 of file compiled.php.
|
staticprotected |
|
staticprotected |
Definition at line 9366 of file compiled.php.
|
static |
|
static |
Definition at line 10543 of file compiled.php.
|
protected |
|
protected |
Definition at line 10330 of file compiled.php.
|
static |
|
static |
Definition at line 9456 of file compiled.php.
|
static |
|
static |
Definition at line 9718 of file compiled.php.
|
static |
|
static |
Definition at line 9714 of file compiled.php.
|
protected |
|
protected |
Definition at line 9769 of file compiled.php.
| delete | ( | ) |
| delete | ( | ) |
Definition at line 9674 of file compiled.php.
|
static |
|
static |
Definition at line 9726 of file compiled.php.
|
static |
|
static |
Definition at line 9722 of file compiled.php.
|
static |
|
static |
Definition at line 9661 of file compiled.php.
| fill | ( | array | $attributes | ) |
| fill | ( | array | $attributes | ) |
Definition at line 9402 of file compiled.php.
| fillable | ( | array | $fillable | ) |
| fillable | ( | array | $fillable | ) |
Definition at line 10096 of file compiled.php.
|
protected |
|
protected |
Definition at line 9422 of file compiled.php.
|
static |
|
static |
Definition at line 9516 of file compiled.php.
|
static |
|
static |
Definition at line 9520 of file compiled.php.
|
protected |
|
protected |
Definition at line 9825 of file compiled.php.
|
protected |
|
protected |
Definition at line 9887 of file compiled.php.
|
staticprotected |
|
staticprotected |
Definition at line 9492 of file compiled.php.
|
static |
|
static |
Definition at line 9472 of file compiled.php.
|
static |
|
static |
Definition at line 9479 of file compiled.php.
|
static |
|
static |
Definition at line 9730 of file compiled.php.
|
static |
|
static |
Definition at line 9462 of file compiled.php.
| forceDelete | ( | ) |
| forceDelete | ( | ) |
Definition at line 9690 of file compiled.php.
| forceFill | ( | array | $attributes | ) |
| forceFill | ( | array | $attributes | ) |
Definition at line 9415 of file compiled.php.
| fresh | ( | array | $with = array() | ) |
| fresh | ( | array | $with = array() | ) |
Definition at line 9527 of file compiled.php.
| freshTimestamp | ( | ) |
| freshTimestamp | ( | ) |
Definition at line 9942 of file compiled.php.
| freshTimestampString | ( | ) |
| freshTimestampString | ( | ) |
Definition at line 9946 of file compiled.php.
| fromDateTime | ( | $value | ) |
| fromDateTime | ( | $value | ) |
Definition at line 10381 of file compiled.php.
|
protected |
|
protected |
Definition at line 10220 of file compiled.php.
|
protected |
|
protected |
Definition at line 10216 of file compiled.php.
|
protected |
|
protected |
Definition at line 10253 of file compiled.php.
|
protected |
|
protected |
Definition at line 10249 of file compiled.php.
| getAttribute | ( | $key | ) |
| getAttribute | ( | $key | ) |
Definition at line 10260 of file compiled.php.
|
protected |
|
protected |
Definition at line 10288 of file compiled.php.
| getAttributes | ( | ) |
| getAttributes | ( | ) |
Definition at line 10417 of file compiled.php.
|
protected |
|
protected |
Definition at line 10273 of file compiled.php.
|
protected |
|
protected |
Definition at line 9644 of file compiled.php.
|
protected |
|
protected |
Definition at line 10326 of file compiled.php.
| getConnection | ( | ) |
| getConnection | ( | ) |
Definition at line 10494 of file compiled.php.
| getConnectionName | ( | ) |
| getConnectionName | ( | ) |
Definition at line 10498 of file compiled.php.
|
static |
|
static |
Definition at line 10511 of file compiled.php.
| getCreatedAtColumn | ( | ) |
| getCreatedAtColumn | ( | ) |
Definition at line 9934 of file compiled.php.
|
protected |
|
protected |
Definition at line 10406 of file compiled.php.
| getDates | ( | ) |
| getDates | ( | ) |
Definition at line 10376 of file compiled.php.
| getDirty | ( | ) |
| getDirty | ( | ) |
Definition at line 10458 of file compiled.php.
|
static |
|
static |
Definition at line 10523 of file compiled.php.
| getFillable | ( | ) |
| getFillable | ( | ) |
Definition at line 10092 of file compiled.php.
| getForeignKey | ( | ) |
| getForeignKey | ( | ) |
Definition at line 10058 of file compiled.php.
|
static |
|
static |
Definition at line 9382 of file compiled.php.
| getGlobalScopes | ( | ) |
| getGlobalScopes | ( | ) |
Definition at line 9388 of file compiled.php.
| getGuarded | ( | ) |
| getGuarded | ( | ) |
Definition at line 10101 of file compiled.php.
| getHidden | ( | ) |
| getHidden | ( | ) |
Definition at line 10062 of file compiled.php.
| getIncrementing | ( | ) |
| getIncrementing | ( | ) |
Definition at line 10168 of file compiled.php.
| getKey | ( | ) |
| getKey | ( | ) |
Definition at line 10008 of file compiled.php.
|
protected |
|
protected |
Definition at line 9901 of file compiled.php.
| getKeyName | ( | ) |
| getKeyName | ( | ) |
Definition at line 10016 of file compiled.php.
| getMorphClass | ( | ) |
| getMorphClass | ( | ) |
Definition at line 10046 of file compiled.php.
|
protected |
|
protected |
Definition at line 10040 of file compiled.php.
| getMutatedAttributes | ( | ) |
| getMutatedAttributes | ( | ) |
Definition at line 10535 of file compiled.php.
| getObservableEvents | ( | ) |
| getObservableEvents | ( | ) |
Definition at line 9747 of file compiled.php.
| getOriginal | ( | $key = null , |
|
$default = null |
|||
| ) |
| getOriginal | ( | $key = null , |
|
$default = null |
|||
| ) |
Definition at line 10428 of file compiled.php.
| getPerPage | ( | ) |
| getPerPage | ( | ) |
Definition at line 10050 of file compiled.php.
| getQualifiedKeyName | ( | ) |
| getQualifiedKeyName | ( | ) |
Definition at line 10024 of file compiled.php.
| getQueueableId | ( | ) |
| getQueueableId | ( | ) |
Implements QueueableEntity.
Definition at line 10012 of file compiled.php.
| getRelation | ( | $relation | ) |
| getRelation | ( | $relation | ) |
Definition at line 10480 of file compiled.php.
| getRelations | ( | ) |
| getRelations | ( | ) |
Definition at line 10476 of file compiled.php.
|
protected |
|
protected |
Definition at line 10294 of file compiled.php.
| getRouteKey | ( | ) |
| getRouteKey | ( | ) |
Implements UrlRoutable.
Definition at line 10028 of file compiled.php.
| getRouteKeyName | ( | ) |
| getRouteKeyName | ( | ) |
Implements UrlRoutable.
Definition at line 10032 of file compiled.php.
| getTable | ( | ) |
| getTable | ( | ) |
Definition at line 9997 of file compiled.php.
| getTouchedRelations | ( | ) |
| getTouchedRelations | ( | ) |
Definition at line 10160 of file compiled.php.
| getUpdatedAtColumn | ( | ) |
| getUpdatedAtColumn | ( | ) |
Definition at line 9938 of file compiled.php.
| getVisible | ( | ) |
| getVisible | ( | ) |
Definition at line 10075 of file compiled.php.
| guard | ( | array | $guarded | ) |
| guard | ( | array | $guarded | ) |
Definition at line 10105 of file compiled.php.
|
protected |
|
protected |
Definition at line 10315 of file compiled.php.
| hasGetMutator | ( | $key | ) |
| hasGetMutator | ( | $key | ) |
Definition at line 10302 of file compiled.php.
|
static |
|
static |
Definition at line 9378 of file compiled.php.
| hasMany | ( | $related, | |
$foreignKey = null , |
|||
$localKey = null |
|||
| ) |
| hasMany | ( | $related, | |
$foreignKey = null , |
|||
$localKey = null |
|||
| ) |
Definition at line 9592 of file compiled.php.
| hasManyThrough | ( | $related, | |
| $through, | |||
$firstKey = null , |
|||
$secondKey = null |
|||
| ) |
| hasManyThrough | ( | $related, | |
| $through, | |||
$firstKey = null , |
|||
$secondKey = null |
|||
| ) |
Definition at line 9599 of file compiled.php.
| hasOne | ( | $related, | |
$foreignKey = null , |
|||
$localKey = null |
|||
| ) |
| hasOne | ( | $related, | |
$foreignKey = null , |
|||
$localKey = null |
|||
| ) |
Definition at line 9549 of file compiled.php.
| hasSetMutator | ( | $key | ) |
| hasSetMutator | ( | $key | ) |
Definition at line 10372 of file compiled.php.
|
static |
|
static |
Definition at line 9442 of file compiled.php.
|
static |
|
static |
Definition at line 9450 of file compiled.php.
|
protected |
|
protected |
Definition at line 9765 of file compiled.php.
|
protected |
|
protected |
Definition at line 9773 of file compiled.php.
|
protected |
|
protected |
Definition at line 9782 of file compiled.php.
|
protected |
|
protected |
Definition at line 9869 of file compiled.php.
| isDirty | ( | $attributes = null | ) |
| isDirty | ( | $attributes = null | ) |
Definition at line 10442 of file compiled.php.
| isFillable | ( | $key | ) |
| isFillable | ( | $key | ) |
Definition at line 10132 of file compiled.php.
| isGuarded | ( | $key | ) |
| isGuarded | ( | $key | ) |
Definition at line 10145 of file compiled.php.
|
protected |
|
protected |
Definition at line 10319 of file compiled.php.
|
static |
|
static |
Definition at line 10118 of file compiled.php.
| joiningTable | ( | $related | ) |
| joiningTable | ( | $related | ) |
Definition at line 9653 of file compiled.php.
| jsonSerialize | ( | ) |
| jsonSerialize | ( | ) |
Definition at line 10180 of file compiled.php.
| load | ( | $relations | ) |
| load | ( | $relations | ) |
Definition at line 9532 of file compiled.php.
| morphedByMany | ( | $related, | |
| $name, | |||
$table = null , |
|||
$foreignKey = null , |
|||
$otherKey = null |
|||
| ) |
| morphedByMany | ( | $related, | |
| $name, | |||
$table = null , |
|||
$foreignKey = null , |
|||
$otherKey = null |
|||
| ) |
Definition at line 9638 of file compiled.php.
| morphMany | ( | $related, | |
| $name, | |||
$type = null , |
|||
$id = null , |
|||
$localKey = null |
|||
| ) |
| morphMany | ( | $related, | |
| $name, | |||
$type = null , |
|||
$id = null , |
|||
$localKey = null |
|||
| ) |
Definition at line 9606 of file compiled.php.
| morphOne | ( | $related, | |
| $name, | |||
$type = null , |
|||
$id = null , |
|||
$localKey = null |
|||
| ) |
| morphOne | ( | $related, | |
| $name, | |||
$type = null , |
|||
$id = null , |
|||
$localKey = null |
|||
| ) |
Definition at line 9556 of file compiled.php.
| morphTo | ( | $name = null , |
|
$type = null , |
|||
$id = null |
|||
| ) |
| morphTo | ( | $name = null , |
|
$type = null , |
|||
$id = null |
|||
| ) |
Definition at line 9578 of file compiled.php.
| morphToMany | ( | $related, | |
| $name, | |||
$table = null , |
|||
$foreignKey = null , |
|||
$otherKey = null , |
|||
$inverse = false |
|||
| ) |
| morphToMany | ( | $related, | |
| $name, | |||
$table = null , |
|||
$foreignKey = null , |
|||
$otherKey = null , |
|||
$inverse = false |
|||
| ) |
Definition at line 9628 of file compiled.php.
|
protected |
|
protected |
Definition at line 10306 of file compiled.php.
|
protected |
|
protected |
Definition at line 10310 of file compiled.php.
|
protected |
|
protected |
Definition at line 9983 of file compiled.php.
| newCollection | ( | array | $models = array() | ) |
| newCollection | ( | array | $models = array() | ) |
Definition at line 9989 of file compiled.php.
| newEloquentBuilder | ( | $query | ) |
| newEloquentBuilder | ( | $query | ) |
Definition at line 9979 of file compiled.php.
| newFromBuilder | ( | $attributes = array() , |
|
$connection = null |
|||
| ) |
| newFromBuilder | ( | $attributes = array() , |
|
$connection = null |
|||
| ) |
Definition at line 9435 of file compiled.php.
| newInstance | ( | $attributes = array() , |
|
$exists = false |
|||
| ) |
| newInstance | ( | $attributes = array() , |
|
$exists = false |
|||
| ) |
Definition at line 9429 of file compiled.php.
| newPivot | ( | Model | $parent, |
| array | $attributes, | ||
| $table, | |||
| $exists | |||
| ) |
| newPivot | ( | Model | $parent, |
| array | $attributes, | ||
| $table, | |||
| $exists | |||
| ) |
Definition at line 9993 of file compiled.php.
| newQuery | ( | ) |
| newQuery | ( | ) |
Definition at line 9950 of file compiled.php.
| newQueryWithoutScope | ( | $scope | ) |
| newQueryWithoutScope | ( | $scope | ) |
Definition at line 9955 of file compiled.php.
| newQueryWithoutScopes | ( | ) |
| newQueryWithoutScopes | ( | ) |
Definition at line 9960 of file compiled.php.
|
static |
|
static |
Definition at line 9392 of file compiled.php.
| offsetExists | ( | $offset | ) |
| offsetExists | ( | $offset | ) |
Definition at line 10564 of file compiled.php.
| offsetGet | ( | $offset | ) |
| offsetGet | ( | $offset | ) |
Definition at line 10568 of file compiled.php.
| offsetSet | ( | $offset, | |
| $value | |||
| ) |
| offsetSet | ( | $offset, | |
| $value | |||
| ) |
Definition at line 10572 of file compiled.php.
| offsetUnset | ( | $offset | ) |
| offsetUnset | ( | $offset | ) |
Definition at line 10576 of file compiled.php.
|
static |
|
static |
Definition at line 9500 of file compiled.php.
|
static |
|
static |
Definition at line 9506 of file compiled.php.
|
protected |
|
protected |
Definition at line 10470 of file compiled.php.
|
protected |
|
protected |
Definition at line 9694 of file compiled.php.
|
protected |
|
protected |
Definition at line 9851 of file compiled.php.
|
protected |
|
protected |
Definition at line 9833 of file compiled.php.
| push | ( | ) |
| push | ( | ) |
Definition at line 9794 of file compiled.php.
|
static |
Definition at line 9496 of file compiled.php.
|
staticprotected |
|
staticprotected |
Definition at line 9740 of file compiled.php.
|
static |
|
static |
Definition at line 10114 of file compiled.php.
| relationsToArray | ( | ) |
| relationsToArray | ( | ) |
Definition at line 10227 of file compiled.php.
| removeGlobalScopes | ( | $builder | ) |
| removeGlobalScopes | ( | $builder | ) |
Definition at line 9972 of file compiled.php.
| removeObservableEvents | ( | $observables | ) |
| removeObservableEvents | ( | $observables | ) |
Definition at line 9760 of file compiled.php.
|
protected |
|
protected |
Definition at line 10153 of file compiled.php.
| replicate | ( | array | $except = null | ) |
| replicate | ( | array | $except = null | ) |
Definition at line 10410 of file compiled.php.
|
static |
|
static |
Definition at line 10507 of file compiled.php.
| save | ( | array | $options = array() | ) |
| save | ( | array | $options = array() | ) |
Definition at line 9809 of file compiled.php.
|
static |
|
static |
Definition at line 9702 of file compiled.php.
|
static |
|
static |
Definition at line 9698 of file compiled.php.
| setAppends | ( | array | $appends | ) |
| setAppends | ( | array | $appends | ) |
Definition at line 10088 of file compiled.php.
| setAttribute | ( | $key, | |
| $value | |||
| ) |
| setAttribute | ( | $key, | |
| $value | |||
| ) |
Definition at line 10359 of file compiled.php.
| setConnection | ( | $name | ) |
| setConnection | ( | $name | ) |
Definition at line 10502 of file compiled.php.
|
static |
|
static |
Definition at line 10515 of file compiled.php.
| setCreatedAt | ( | $value | ) |
| setCreatedAt | ( | $value | ) |
Definition at line 9926 of file compiled.php.
|
static |
|
static |
Definition at line 10527 of file compiled.php.
| setHidden | ( | array | $hidden | ) |
| setHidden | ( | array | $hidden | ) |
Definition at line 10066 of file compiled.php.
| setIncrementing | ( | $value | ) |
| setIncrementing | ( | $value | ) |
Definition at line 10172 of file compiled.php.
| setKeyName | ( | $key | ) |
| setKeyName | ( | $key | ) |
Definition at line 10020 of file compiled.php.
|
protected |
|
protected |
Definition at line 9896 of file compiled.php.
| setObservableEvents | ( | array | $observables | ) |
| setObservableEvents | ( | array | $observables | ) |
Definition at line 9751 of file compiled.php.
| setPerPage | ( | $perPage | ) |
| setPerPage | ( | $perPage | ) |
Definition at line 10054 of file compiled.php.
| setRawAttributes | ( | array | $attributes, |
$sync = false |
|||
| ) |
| setRawAttributes | ( | array | $attributes, |
$sync = false |
|||
| ) |
Definition at line 10421 of file compiled.php.
| setRelation | ( | $relation, | |
| $value | |||
| ) |
| setRelation | ( | $relation, | |
| $value | |||
| ) |
Definition at line 10484 of file compiled.php.
| setRelations | ( | array | $relations | ) |
| setRelations | ( | array | $relations | ) |
Definition at line 10489 of file compiled.php.
| setTable | ( | $table | ) |
| setTable | ( | $table | ) |
Definition at line 10004 of file compiled.php.
| setTouchedRelations | ( | array | $touches | ) |
| setTouchedRelations | ( | array | $touches | ) |
Definition at line 10164 of file compiled.php.
| setUpdatedAt | ( | $value | ) |
| setUpdatedAt | ( | $value | ) |
Definition at line 9930 of file compiled.php.
| setVisible | ( | array | $visible | ) |
| setVisible | ( | array | $visible | ) |
Definition at line 10079 of file compiled.php.
| syncOriginal | ( | ) |
| syncOriginal | ( | ) |
Definition at line 10432 of file compiled.php.
| syncOriginalAttribute | ( | $attribute | ) |
| syncOriginalAttribute | ( | $attribute | ) |
Definition at line 10437 of file compiled.php.
| toArray | ( | ) |
| toArray | ( | ) |
Implements Arrayable.
Definition at line 10184 of file compiled.php.
| toJson | ( | $options = 0 | ) |
| toJson | ( | $options = 0 | ) |
Implements Jsonable.
Definition at line 10176 of file compiled.php.
| totallyGuarded | ( | ) |
| totallyGuarded | ( | ) |
Definition at line 10149 of file compiled.php.
| touch | ( | ) |
| touch | ( | ) |
Definition at line 9908 of file compiled.php.
| touches | ( | $relation | ) |
| touches | ( | $relation | ) |
Definition at line 9883 of file compiled.php.
| touchOwners | ( | ) |
| touchOwners | ( | ) |
Definition at line 9874 of file compiled.php.
|
static |
|
static |
Definition at line 10110 of file compiled.php.
|
static |
|
static |
Definition at line 10122 of file compiled.php.
|
static |
|
static |
Definition at line 10519 of file compiled.php.
|
static |
|
static |
Definition at line 10531 of file compiled.php.
| update | ( | array | $attributes = array() | ) |
| update | ( | array | $attributes = array() | ) |
Definition at line 9787 of file compiled.php.
|
static |
|
static |
Definition at line 9710 of file compiled.php.
|
static |
|
static |
Definition at line 9486 of file compiled.php.
|
protected |
|
protected |
Definition at line 9916 of file compiled.php.
|
static |
|
static |
Definition at line 9706 of file compiled.php.
| usesTimestamps | ( | ) |
| usesTimestamps | ( | ) |
Definition at line 10036 of file compiled.php.
|
static |
|
static |
Definition at line 9541 of file compiled.php.
|
protected |
Definition at line 9326 of file compiled.php.
|
protected |
Definition at line 9321 of file compiled.php.
|
staticprotected |
Definition at line 9339 of file compiled.php.
|
protected |
Definition at line 9330 of file compiled.php.
|
protected |
Definition at line 9315 of file compiled.php.
|
protected |
Definition at line 9329 of file compiled.php.
|
staticprotected |
Definition at line 9338 of file compiled.php.
| $exists = false |
Definition at line 9335 of file compiled.php.
|
protected |
Definition at line 9327 of file compiled.php.
|
staticprotected |
Definition at line 9340 of file compiled.php.
|
protected |
Definition at line 9328 of file compiled.php.
|
protected |
Definition at line 9324 of file compiled.php.
| $incrementing = true |
Definition at line 9319 of file compiled.php.
|
static |
Definition at line 9343 of file compiled.php.
|
protected |
Definition at line 9334 of file compiled.php.
|
staticprotected |
Definition at line 9342 of file compiled.php.
|
protected |
Definition at line 9332 of file compiled.php.
|
protected |
Definition at line 9322 of file compiled.php.
|
protected |
Definition at line 9318 of file compiled.php.
|
protected |
Definition at line 9317 of file compiled.php.
|
protected |
Definition at line 9323 of file compiled.php.
|
staticprotected |
Definition at line 9337 of file compiled.php.
|
static |
Definition at line 9336 of file compiled.php.
|
protected |
Definition at line 9316 of file compiled.php.
| $timestamps = true |
Definition at line 9320 of file compiled.php.
|
protected |
Definition at line 9331 of file compiled.php.
|
staticprotected |
Definition at line 9341 of file compiled.php.
|
protected |
Definition at line 9325 of file compiled.php.
|
protected |
Definition at line 9333 of file compiled.php.
| const CREATED_AT = 'created_at' |
Definition at line 9344 of file compiled.php.
| const UPDATED_AT = 'updated_at' |
Definition at line 9345 of file compiled.php.


Scroll to try it out!
Create your fixed nav (or header) as you typically would.
You can use whatever markup suits you, just make sure the header works well with position:fixed.

Logo

After that, take any sections of your page that need a different nav and add data-midnight="your-class" to it, where .your-class is the class you are going to use to style that header.
If you don't use the property or just leave it blank, the .default class will be used for that section.

Use a white nav here

And a blue nav here

This will just use the default header

You can style it in your css using the class .midnightHeader.your-class.
Use whatever CSS or markup you like for each one. They will be switched automatically when necessary.
.midnightHeader.default {
background: none;
color: black;
}
.midnightHeader.white {
background: white;
color: black;
}
.midnightHeader.blue {
background: blue;
color: white;
}
To make everything work, just load midnight (and jQuery) and initialize it. We take care of the rest.

Want to use custom markup for each header?
You just need to add a div with the class .midnightHeader.default inside your header, as well as any other custom headers you want.
For instance the "butterflies" section will use the .midnightHeader.butterflies header, and any other ones will just use the markup from .midnightHeader.default.

Logo

Logo