text:
All Genres & Sub-Genres
Top Movie Reviews
FIX Filmmakers
Log in Subscribe Now
Fandor.com uses Javascript extensively. Please enable Javascript in your browser preferences before proceeding.
see all genres ›
The "front line" in the arts, the avant-garde defied (and continues to defy) the market and the masses. Cinema's early avant-garde movements (impressionism, expressionism and others) spoke to film's intrinsic artistic properties. Often the creation of a single person or small group working on a shoestring budget, films of the avant-garde may not be straightforward "stories" as much as reflections on/refractions of the medium itself.
FEATURED FILM
Kick That Habit
KICK THAT HABIT is a film created in the bleak eastern region of Switzerland. The Swiss musicians Voice Crack rehearse in the studio, aft...
Araneae
Filmmaker Paul Clipson's underlying attraction to things that elude the touch finds its apotheosis in the translucent thread of the spide...
Screen Tone
Half-tone dot "screens" intended for use as shadings and tones in Manga comic illustrations have here been "photogrammed" directly onto r...
POPULAR FILM
By sprinkling a little Georges Melies magic over the peep show motif, Gunvor Nelson simultaneously revels in cinema's earliest forms whil...
The Heart of the World
This acclaimed, award-winning short is a brilliant, breathless parody of silent Soviet propaganda films.
Bygone Brooklyn is richly evoked in the everyday life of the street: the elevated train, Lithuanian storefronts and especially in the fac...
Watch Avant-garde Films
Top countries in Avant-garde
Bosnian/ Herzegovinian
Top subgenres in Avant-garde
City Symphony
Genres / Avant-garde
SUB-GENRES · City Symphony · Surrealistic · Culture Jamming · Nonobjective · Structural · Silent
« 1 2 3 4 5 6 7 8 9 … 35 36 »
Sort within
Popularity Title Rating Year Duration Added to Fandor
Freaky and not a little transcendent, TAKE OFF takes the strip tease well past its usual climax. By sprinkling a little Georges Melies magic over the peep show motif, Gunvor Nelson simultaneously revels in cinema's earliest forms while exploding the medium's customary reliance on (and...
(1972) 10 min
Gunvor Nelson
Freaky and not a little transcendent, TAKE OFF takes the strip tease well past its usual climax. By...
Voted one of the best films of 2000 by both The New York Times and The Village Voice. Guy Maddin's acclaimed, award-winning short created for the Toronto Film Festival is a brilliant, breathless parody of silent Soviet propaganda films.
(2000) 7 min
Canadian Silent Drama
This acclaimed, award-winning short is a brilliant, breathless parody of silent...
A pocket-sized city symphony, WILLIAMSBURG collects some of the first images Jonas Mekas shot with a film camera in 1950 (along with footage from 1972 when he was returning to his old neighborhood as a visitor). Bygone Brooklyn is richly evoked in the everyday life of the street: the elevated...
A pocket-sized city symphony, WILLIAMSBURG collects some of the first images Jonas Mekas shot with a film...
The Place Between Our Bodies
The hedonistic yet spiritually-questing spirit of San Francisco life at the height of the "Gay Liberation" movement is captured in Michael Wallin's poetical, highly personal film. As we watch city denizens cruise each other in the free-for-all atmosphere of a mid-1970s erotic...
Michael Wallin
The hedonistic yet spiritually-questing spirit of San Francisco life at the...
One of the most important films in the history of American avant-garde cinema, Maya Deren's MESHES OF THE AFTERNOON is captivating and dream-like, filled with tinges of psychodrama, murder mystery, and film noir. In a seemingly ordinary Los Angeles home, the film's...
Maya Deren, Alexander Hammid
One of the most important films in the history of American avant-garde cinema,...
HUMAN REMAINS is a haunting documentary which illustrates the banality of evil by creating intimate portraits of five of the 20th century's most reviled dictators. The film unveils the personal lives of Adolf Hitler, Benito Mussolini, Joseph Stalin, Francisco Franco and Mao Tse Tung. We learn the...
HUMAN REMAINS is a haunting documentary which illustrates the banality of evil by creating intimate...
Joy Street
A masterpiece, JOY STREET captures a woman's journey from suicidal despair to personal renewal, with the help of an unlikely spirit guide.
Suzan Pitt
A masterpiece captures a woman's journey from suicidal despair to personal renewal, with the help of an...
The Double Life of Paul Henreid
Paul Henreid, perhaps most famous for his roles in CASABLANCA and NOW, VOYAGER became a star at Warner Brothers during World War II, as the exotic lead with the European accent. After the war, his contract was cancelled and he was left to his own devices. He continued acting...
Mark Rappaport
Paul Henreid, perhaps most famous for his roles in CASABLANCA and NOW, VOYAGER...
Possibly Werner Herzog's most experimental work, FATA MORGANA defies categorization. Is it a narrative feature? A documentary? A metaphysical essay on film? As the director himself has noted, it regards Earth and its creatures as if from the curious, alienated viewpoint of interplanetary...
German Quasi-Documentary
Possibly Werner Herzog's most experimental work, FATA MORGANA defies categorization. Is it a narrative...
Tribulation 99
Upon its release in 1991, TRIBULATION 99 became an instant counter-culture classic. Craig Baldwin's "pseudo-pseudodocumentary" presents a factual chronicle of U.S. intervention in Latin America in the form of the ultimate far-right conspiracy theory, combining covert action, environmental...
Pseudo-pseudodocumentary
Craig Baldwin
"[A] skewed history of United States intervention in Latin America and a satire of conspiracy thinking." -...
Report from Millbrook
Jonas Mekas' elegant report on a Poughkeepsie police department's raid of Timothy Leary's base-of-operations amply demonstrates the political potential of his diary filmmaking. The film's protest is lodged in the disjunction between sound and image, with Mekas' intimate,...
Jonas Mekas' elegant report on a Poughkeepsie police department's raid of...
Knuckleface Jones
Hailed as being "wildly surrealist" by Jonathan Rosenbaum of the Chicago Reader and called "a work of demented brilliance" by Dave Nuttycombe of the DC City Paper. KNUCKLEFACE JONES won some big fans at the 2001 Slamdance Film Festival and made a lot of enemies elsewhere. It...
Todd Rohal
KNUCKLEFACE JONES won some big fans at the 2001 Slamdance Film Festival and...
Rock Hudson's Home Movies
"It was all up there," says Rock Hudson (Eric Farr) at the start of this rule-breaking, dizzying assortment of clips from Rock Hudson's Hollywood career that make up Mark Rappaport's feature film, ROCK HUDSON'S HOME MOVIES. Employing a narrative commentary from beyond the...
Official selection of the 1992 Toronto International Film Festival.
Act of Being Polite
After gaining notoriety for their burn-it-down deconstructionist covers of popular hits (including songs by the Beatles, the Rolling Stones and James Brown), the anonymous Residents produced their own insincere iteration of a Top 40 chart. The second of their "One Minute...
After gaining notoriety for their burn-it-down deconstructionist covers of...
Tati vs Bresson: The Gag
Jacques Tati and Robert Bresson were very different directors, yet the way they structure a scene is very similar.
Jacques Tati and Robert Bresson were very different directors, yet the way they...
Sergei / Sir Gay
As a teenager, Eisenstein signed his drawings with 'Sir Gay'. Roguish essayist Rappaport sees clear signs of his sexual preferences throughout the Russian's film oeuvre. Numerous asides illustrate how Hollywood productions likewise frequently played with nods and winks and...
A fictitious auto-biography by Sergei/Sir Gay Eisenstein: his films and sexual...
A house cat dreams of her past lives.
Cornell, 1965
I worked as Joseph Cornell's assistant during the summer and fall of 1965, during which time I shot four rolls of Kodachrome 16mm film in and around Cornell's house. The scenes included a brief biographical glimpse of Cornell and his work, as well as his working environment, which is perhaps the...
Lawrence Jordan's remarkable portrait of reclusive artist Joseph Cornell.
Watch everywhere
In Your Living Room
On Your Device
Sign up now to be the first to hear about new and featured films, film culture news and exclusive offers from Fandor.
Follow @fandor
©2010-2020 Our Film Festival, Inc. Privacy Terms Sitemap


text:
Q: Determining Thousandths in a number If an aircraft is flying VFR in the US, if the heading is east, the altitude must be an odd thousand plus 500 feet (1500, 3500, 5500, etc). If flying west, the altitude must be an even thousand plus 500 feet (2500, 4500, 6500, etc). If I input a given altitude, but it is the wrong (odd or even) for the heading, how do I get Python to correct it next higher odd or even thousandths (1500 becomes 2500, 6500 becomes 7500, etc)? We never round down for altitudes. Thanks!

A: You could divide your altitude by 1000.0 and cast to an int which would drop the decimal:
if int(altitude/1000.0) % 2 == 0
Then you can do whatever you want with that information.

A: You can use math.ceil to do this:
>>> import math
>>> def next_alt(alt):
...    return (math.ceil(alt/1000)+1)*1000+500
...
>>> next_alt(2500)
3500.0
>>> next_alt(3500)
4500.0

Which could then be used in a function this way:
def set_alt(heading, alt):
    if 0<=heading<=179:       # odd + 500
        return alt if alt / 1000 % 2 else (math.ceil(alt/1000)+1)*1000+500
    else:
        return alt if not alt / 1000 % 2 else (math.ceil(alt/1000)+1)*1000+500

(If Python 3, you need // instead of /)
>>> set_alt(290, 3500)
4500
>>> set_alt(90, 3500)
3500

redpajama_set_name: RedPajamaStackExchange


text:
package consulo.wm.impl;

import com.intellij.ide.DataManager;
import com.intellij.ide.actions.CloseAction;
import com.intellij.ide.actions.ShowContentAction;
import com.intellij.ide.util.PropertiesComponent;
import com.intellij.openapi.actionSystem.*;
import com.intellij.openapi.actionSystem.impl.ActionManagerImpl;
import com.intellij.openapi.actionSystem.impl.MenuItemPresentationFactory;
import com.intellij.openapi.project.DumbAwareAction;
import com.intellij.openapi.ui.popup.JBPopupFactory;
import com.intellij.openapi.ui.popup.ListPopup;
import com.intellij.openapi.util.*;
import com.intellij.openapi.wm.ToolWindowContentUiType;
import com.intellij.ui.content.*;
import com.intellij.ui.content.tabs.PinToolwindowTabAction;
import com.intellij.ui.content.tabs.TabbedContentAction;
import com.intellij.util.Alarm;
import com.intellij.util.ContentUtilEx;
import consulo.disposer.Disposer;
import consulo.ui.layout.DockLayout;
import consulo.ui.annotation.RequiredUIAccess;
import consulo.util.dataholder.Key;
import consulo.wm.impl.layout.UnifiedComboContentLayout;
import consulo.wm.impl.layout.UnifiedContentLayout;
import consulo.wm.impl.layout.UnifiedTabContentLayout;
import kava.beans.PropertyChangeEvent;
import kava.beans.PropertyChangeListener;
import org.jetbrains.annotations.NonNls;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import javax.swing.*;
import java.awt.*;
import java.awt.event.MouseEvent;
import java.util.ArrayList;
import java.util.List;

public class UnifiedToolWindowContentUI implements ToolWindowContentUI, PropertyChangeListener, DataProvider {
  public static final String POPUP_PLACE = ToolWindowContentUI.POPUP_PLACE;
  // when client property is put in toolwindow component, hides toolwindow label
  public static final String HIDE_ID_LABEL = ToolWindowContentUI.HIDE_ID_LABEL;

  ContentManager myManager;

  private final DockLayout myContent = DockLayout.create();
  private ToolWindowBase myWindow;

  TabbedContentAction.CloseAllAction myCloseAllAction;
  TabbedContentAction.MyNextTabAction myNextTabAction;
  TabbedContentAction.MyPreviousTabAction myPreviousTabAction;

  ShowContentAction myShowContent;

  private UnifiedContentLayout myTabsLayout = new UnifiedTabContentLayout(this);
  private UnifiedContentLayout myComboLayout = new UnifiedComboContentLayout(this);

  private ToolWindowContentUiType myType = ToolWindowContentUiType.TABBED;
  private boolean myShouldNotShowPopup;

  public UnifiedToolWindowContentUI(ToolWindowBase window) {
    myWindow = window;
    // myContent.setOpaque(false);
    // myContent.setFocusable(false);
    //setOpaque(false);

   // myShowContent = new ShowContentAction(myWindow, myContent);

    //setBorder(JBUI.Borders.empty(0, 0, 0, 2));
  }

  public void setType(@Nonnull ToolWindowContentUiType type) {
    if (myType != type) {

      if (myType != null) {
        getCurrentLayout().reset();
      }

      myType = type;

      getCurrentLayout().init();
      rebuild();
    }
  }

  private UnifiedContentLayout getCurrentLayout() {
    assert myManager != null;
    return myType == ToolWindowContentUiType.TABBED ? myTabsLayout : myComboLayout;
  }

  @Override
  public JComponent getComponent() {
    throw new AbstractMethodError();
  }

  @Nonnull
  @Override
  public consulo.ui.Component getUIComponent() {
    return myContent;
  }

  @Override
  public void setManager(@Nonnull final ContentManager manager) {
    if (myManager != null) {
      getCurrentLayout().reset();
    }

    myManager = manager;

    getCurrentLayout().init();

    myManager.addContentManagerListener(new ContentManagerListener() {
      @Override
      public void contentAdded(final ContentManagerEvent event) {
        getCurrentLayout().contentAdded(event);
        event.getContent().addPropertyChangeListener(UnifiedToolWindowContentUI.this);
        rebuild();
      }

      @Override
      public void contentRemoved(final ContentManagerEvent event) {
        event.getContent().removePropertyChangeListener(UnifiedToolWindowContentUI.this);
        getCurrentLayout().contentRemoved(event);
        ensureSelectedContentVisible();
        rebuild();
      }

      @Override
      public void contentRemoveQuery(final ContentManagerEvent event) {
      }

      @Override
      public void selectionChanged(final ContentManagerEvent event) {
        ensureSelectedContentVisible();

        update();

        //myContent.revalidate();
        //myContent.repaint();
      }
    });

    //initMouseListeners(this, this);

    rebuild();

    //myCloseAllAction = new TabbedContentAction.CloseAllAction(myManager);
    //myNextTabAction = new TabbedContentAction.MyNextTabAction(myManager);
   // myPreviousTabAction = new TabbedContentAction.MyPreviousTabAction(myManager);
  }

  @RequiredUIAccess
  private void ensureSelectedContentVisible() {
    final Content selected = myManager.getSelectedContent();
    if (selected == null) {
      myContent.removeAll();
      return;
    }

    /*if (myContent.getComponentCount() == 1) {
      final Component visible = myContent.getComponent(0);
      if (visible == selected.getComponent()) return;
    } */

    myContent.removeAll();
    myContent.center(selected.getUIComponent());
  }

  private void rebuild() {
    getCurrentLayout().rebuild();
    getCurrentLayout().update();

    if (myManager.getContentCount() == 0 && myWindow.isToHideOnEmptyContent()) {
      myWindow.hide(null);
    }
  }

  /*@Override
  public void doLayout() {
    getCurrentLayout().layout();
  }

  @Override
  protected void paintComponent(final Graphics g) {
    super.paintComponent(g);
    getCurrentLayout().paintComponent(g);
  }

  @Override
  protected void paintChildren(final Graphics g) {
    super.paintChildren(g);
    getCurrentLayout().paintChildren(g);
  }

  @Override
  public Dimension getMinimumSize() {
    Insets insets = getInsets();
    return new Dimension(insets.left + insets.right + getCurrentLayout().getMinimumWidth(), super.getMinimumSize().height);
  }

  @Override
  public Dimension getPreferredSize() {
    Dimension size = super.getPreferredSize();
    size.height = 0;
    for (int i = 0; i < getComponentCount(); i++) {
      final Component each = getComponent(i);
      size.height = Math.max(each.getPreferredSize().height, size.height);
    }
    return size;
  }  */

  @Override
  public void propertyChange(final PropertyChangeEvent evt) {
    update();
  }

  private void update() {
    getCurrentLayout().update();
  }

  @Override
  public boolean isSingleSelection() {
    return true;
  }

  @Override
  public boolean isToSelectAddedContent() {
    return false;
  }

  @Override
  public boolean canBeEmptySelection() {
    return false;
  }

  @Override
  public void beforeDispose() {
  }

  @Override
  public boolean canChangeSelectionTo(@Nonnull Content content, boolean implicit) {
    return true;
  }

  @Nonnull
  @Override
  public String getCloseActionName() {
    return getCurrentLayout().getCloseActionName();
  }

  @Nonnull
  @Override
  public String getCloseAllButThisActionName() {
    return getCurrentLayout().getCloseAllButThisActionName();
  }

  @Nonnull
  @Override
  public String getPreviousContentActionName() {
    return getCurrentLayout().getPreviousContentActionName();
  }

  @Nonnull
  @Override
  public String getNextContentActionName() {
    return getCurrentLayout().getNextContentActionName();
  }

  private void initActionGroup(DefaultActionGroup group, final Content content) {
    if (content == null) {
      return;
    }
    group.addSeparator();
    group.add(new TabbedContentAction.CloseAction(content));
    group.add(myCloseAllAction);
    group.add(new TabbedContentAction.CloseAllButThisAction(content));
    group.addSeparator();
    if (content.isPinnable()) {
      group.add(PinToolwindowTabAction.getPinAction());
      group.addSeparator();
    }

    group.add(myNextTabAction);
    group.add(myPreviousTabAction);
    group.add(myShowContent);

    if (content instanceof TabbedContent && ((TabbedContent)content).getTabs().size() > 1) {
      group.addAction(createSplitTabsAction((TabbedContent)content));
    }

    if (Boolean.TRUE == content.getUserData(Content.TABBED_CONTENT_KEY)) {
      final String groupName = content.getUserData(Content.TAB_GROUP_NAME_KEY);
      if (groupName != null) {
        group.addAction(createMergeTabsAction(myManager, groupName));
      }
    }

    group.addSeparator();
  }

  public void showContextMenu(Component comp, int x, int y, ActionGroup toolWindowGroup, @Nullable Content selectedContent) {
    if (selectedContent == null && toolWindowGroup == null) {
      return;
    }
    DefaultActionGroup group = new DefaultActionGroup();
    if (selectedContent != null) {
      initActionGroup(group, selectedContent);
    }

    if (toolWindowGroup != null) {
      group.addAll(toolWindowGroup);
    }

    final ActionPopupMenu popupMenu = ((ActionManagerImpl)ActionManager.getInstance()).createActionPopupMenu(POPUP_PLACE, group, new MenuItemPresentationFactory(true));
    popupMenu.getComponent().show(comp, x, y);
  }

  private static AnAction createSplitTabsAction(final TabbedContent content) {
    return new DumbAwareAction("Split '" + content.getTitlePrefix() + "' group") {
      @RequiredUIAccess
      @Override
      public void actionPerformed(@Nonnull AnActionEvent e) {
        content.split();
      }
    };
  }

  private static AnAction createMergeTabsAction(final ContentManager manager, final String tabPrefix) {
    return new DumbAwareAction("Merge tabs to '" + tabPrefix + "' group") {
      @RequiredUIAccess
      @Override
      public void actionPerformed(@Nonnull AnActionEvent e) {
        final Content selectedContent = manager.getSelectedContent();
        final List<Pair<String, JComponent>> tabs = new ArrayList<Pair<String, JComponent>>();
        int selectedTab = -1;
        for (Content content : manager.getContents()) {
          if (tabPrefix.equals(content.getUserData(Content.TAB_GROUP_NAME_KEY))) {
            final String label = content.getTabName().substring(tabPrefix.length() + 2);
            final JComponent component = content.getComponent();
            if (content == selectedContent) {
              selectedTab = tabs.size();
            }
            tabs.add(Pair.create(label, component));
            manager.removeContent(content, false);
            content.setComponent(null);
            Disposer.dispose(content);
          }
        }
        PropertiesComponent.getInstance().unsetValue(TabbedContent.SPLIT_PROPERTY_PREFIX + tabPrefix);
        for (int i = 0; i < tabs.size(); i++) {
          final Pair<String, JComponent> tab = tabs.get(i);
          ContentUtilEx.addTabbedContent(manager, tab.second, tabPrefix, tab.first, i == selectedTab);
        }
      }
    };
  }

  private void hideWindow(final MouseEvent e) {
    if (e.isControlDown()) {
      myWindow.fireHiddenSide();
    }
    else {
      myWindow.fireHidden();
    }
  }

  @Override
  @Nullable
  public Object getData(@Nonnull @NonNls Key<?> dataId) {
    if (PlatformDataKeys.TOOL_WINDOW == dataId) return myWindow;

    if (CloseAction.CloseTarget.KEY == dataId) {
      return computeCloseTarget();
    }

    return null;
  }

  private CloseAction.CloseTarget computeCloseTarget() {
    if (myManager.canCloseContents()) {
      Content selected = myManager.getSelectedContent();
      if (selected != null && selected.isCloseable()) {
        return new CloseContentTarget(selected);
      }
    }

    return new HideToolwindowTarget();
  }

  private class HideToolwindowTarget implements CloseAction.CloseTarget {
    @Override
    public void close() {
      myWindow.fireHidden();
    }
  }

  private class CloseContentTarget implements CloseAction.CloseTarget {

    private Content myContent;

    private CloseContentTarget(Content content) {
      myContent = content;
    }

    @Override
    public void close() {
      myManager.removeContent(myContent, true, true, true);
    }
  }

  @Override
  public void dispose() {

  }

  boolean isCurrent(UnifiedContentLayout layout) {
    return getCurrentLayout() == layout;
  }

  public void toggleContentPopup() {
    if (myShouldNotShowPopup) {
      myShouldNotShowPopup = false;
      return;
    }
    final Ref<AnAction> selected = Ref.create();
    final Ref<AnAction> selectedTab = Ref.create();
    final Content[] contents = myManager.getContents();
    final Content selectedContent = myManager.getSelectedContent();
    final AnAction[] actions = new AnAction[contents.length];
    for (int i = 0; i < actions.length; i++) {
      final Content content = contents[i];
      if (content instanceof TabbedContent) {
        final TabbedContent tabbedContent = (TabbedContent)content;

        final List<Pair<String, JComponent>> tabs = ((TabbedContent)content).getTabs();
        final AnAction[] tabActions = new AnAction[tabs.size()];
        for (int j = 0; j < tabActions.length; j++) {
          final int index = j;
          tabActions[j] = new DumbAwareAction(tabs.get(index).first) {
            @RequiredUIAccess
            @Override
            public void actionPerformed(@Nonnull AnActionEvent e) {
              myManager.setSelectedContent(tabbedContent);
              tabbedContent.selectContent(index);
            }
          };
        }
        final DefaultActionGroup group = new DefaultActionGroup(tabActions);
        group.getTemplatePresentation().setText(((TabbedContent)content).getTitlePrefix());
        group.setPopup(true);
        actions[i] = group;
        if (content == selectedContent) {
          selected.set(group);
          final int selectedIndex = ContentUtilEx.getSelectedTab(tabbedContent);
          if (selectedIndex != -1) {
            selectedTab.set(tabActions[selectedIndex]);
          }
        }
      }
      else {
        actions[i] = new DumbAwareAction(content.getTabName()) {
          @RequiredUIAccess
          @Override
          public void actionPerformed(@Nonnull AnActionEvent e) {
            myManager.setSelectedContent(content, true, true);
          }
        };
        if (content == selectedContent) {
          selected.set(actions[i]);
        }
      }
    }

    final ListPopup popup = JBPopupFactory.getInstance()
            .createActionGroupPopup(null, new DefaultActionGroup(actions), DataManager.getInstance().getDataContext(myManager.getComponent()), false, true, true, null, -1, new Condition<AnAction>() {
              @Override
              public boolean value(AnAction action) {
                return action == selected.get() || action == selectedTab.get();
              }
            });

    getCurrentLayout().showContentPopup(popup);

    if (selectedContent instanceof TabbedContent) {
      new Alarm(Alarm.ThreadToUse.SWING_THREAD, popup).addRequest(new Runnable() {
        @Override
        public void run() {
          popup.handleSelect(true);
        }
      }, 30);
    }
  }
}

redpajama_set_name: RedPajamaGithub


+ How many people will clean my house?
In most cases, our cleaning professionals work solo or in small teams of two. There is just no better way to provide you with a more personalized, non-intrusive service.
+ Will I need to be home while you are cleaning?
It's totally up to you. Most clients are at work or prefer to take some time off for themselves while we put things in order. Let us know your preference, and we can work with you to customize your experience.
+ Can I trust your company?
Absolutely. We hire for character, conduct and believe trust to be the foundation of our company and the relationships we have with our staff and customers. We pour a lot of effort into training and caring for our employees. We understand your home is your personal space and we respect your privacy, property and possessions.
+ Are you comfortable with pets?
We love pets! Let us know if your pets need any special attention when it comes to cleaning around them.
+ What types of cleaning do you do?
Our most popular services are Weekly and Bi-Weekly Cleanings. Some of our customers prefer a three or four week rotation, but a popular package is a One-Time Cleaning. If you're moving out of a house or apartment and you want to get your security deposit back, you'll want to schedule a Move-in/Move-out Cleaning. We also do Office Cleaning and the common areas of apartment buildings and condominiums.
+ How will you enter my house?
Most customers give us house keys and instructions to activate and deactivate their alarm systems.
+ Do you have a referral program?
We love to get referrals! When you refer us to your friends, please have them mention your name. When they schedule with us, we'll apply a 15% discount to your next cleaning.
Every home/office is very different with a wide range of factors that effect the rate for cleaning your home or office. If you're looking to set up a regular cleaning schedule, we generally like to meet with you for a few minutes to discuss your needs. We can then tell you more about our service and give you a quote with a fixed rate for each cleaning. We're confident you'll find G. B. Cleaning Service to be a good fit for you, your family and your home.
+ Do you bring your own cleaning supplies?
Yes. We have a standard list of household products that we bring to every cleaning service. However, if you prefer that we use your products or vacuum cleaner, we are certainly able to do that.
We ask that you let us know at least 3 business days before your appointment if you need to cancel or reschedule to avoid a $20 fee per worker. We honor our appointments and will dedicate staff to cleaning your home.
+ Do I need to sign a contract?
No. We believe that our commitment to your satisfaction will be enough to keep you coming back to us for your house cleaning needs.
+ Can you clean entire buildings or multiple buildings?
Up to 50%off when you request a quote online!


text:
Q: Trying to get property of non-object when send Email with mailgun i'm doing send email with mailgun but get trouble. Here my controller
<?php

namespace App\Http\Controllers;

use Mail;
use App\User;
use App\Mail\TestMail;
use Illuminate\Http\Request;
use Auth;
use DB;
use Carbon\Carbon;

class EmailController extends Controller
{
    /**
     * Create a new controller instance.
     *
     * @return void
     */
    public function __construct()
    {
        //
    }

    public function mail()
    {
        $user = User::find(1)->toArray();
        Mail::send('emails.active', $user, function($message) use ($user) {
            $message->to($user->email);
            $message->subject('Mailgun Testing');
        });
        dd('Mail Send Successfully');
    }
}

here my .env file
MAIL_DRIVER=mailgun
MAIL_HOST=smtp.mailgun.org
MAIL_PORT=587
MAIL_USERNAME=postmaster@sandbox3ae9e61e75da41cab7a649e0f06ac340.mailgun.org
MAIL_PASSWORD=xxxe90fdef17344b3505ab04d369xxx
MAIL_ENCRYPTION=tls

and here my route
Route::get('/sendmail','EmailController@mail');

and i get trouble is Trying to get property of non-object EmailController.php line 29 ( $message->to($user->email); ) somebody help me and thanks!!

A: change this line if you are converting it toArray();
$message->to($user->email);

to
$message->to($user['email']);

A: Why are you converting to array in line ?
        $user = User::find(1)->toArray();

toArray() converts $user to associative array. Just change this line to  following
    $user = User::find(1);

or following line
        $message->to($user->email);

to
        $message->to($user['email']);

A:     $mail = \Mail::send('emails.active', array('receiver'=>$user,'sender'=>$sender),
        function($message) use ($user)
            {

                $message->to($user->email, $user->name)->subject('Reset Password!');

            });

Pass user parameter inside an array as second parameter in Mail::send()


A proposal to increase the tax rate on fruit juices with a minimum 25% fruit level from 5% to 23% has delayed the vote.
The planned vote on a bill to overhaul Poland's value-added tax (VAT) rate system for food products was delayed at the Sejm, the lower chamber of the Polish parliament, after opposition MPs submitted motions to reject the legislation in its first reading. The draft bill is now expected to be amended before further legislative work.
Objections to tax rate increase on fruit juices has delayed the vote in the Sejm.


It is not everyone who gets such a long spot on any medium in Hungary, TV, newspaper or radio.
As far as I could tell, it was, mostly conductors speaking. The professionalism was better than I have heard anywhere else, not so much what they said necessarily but their confidence and their clarity, and the way in which they presented themselves. As to what was said, I think that I understood well enough to know that apart from the information about the financial situation, the rest seemed to be very much about the upbringing that I learnt about at the PAI.
Well worth listening to if it is still up there for you to hear.