Adding one variable into multiple parts of an alias?

alias moveit='mkdir $  1 && find -name "*$  1*" -type f -exec mv -t ~/$  1 {} +' 

I’m not quite sure what I’m doing wrong. Any help would be much appreciated.

I’m trying to make an alias where typing: moveit pdf

1: creates a directory called “pdf” in the current working directory

2: searches for all the files that contain “pdf” in the name within the working directory and subdirectories

3: moves those found files into the new folder called “pdf”

I know “pdf” will return other files that aren’t pdfs. I’m essentially trying to create an automatic sorting script.

I have files called:

greatfile[pdf].rar

greatfile[txt].rar

greatfile[rtf].zip

badfile[pdf].zip

badfile[txt].zip

badfile[rtf].rar

okayfile[pdf].tar.bz

okayfile[txt].zip

okayfile[rtf].rar

And I want to sort these into folders pdf txt rtf all in one script, or at least one at a time for now.

Thank you!

Can one Hag be apart of multiple Covens, and gain the benefits? Can one Coven of Hags form multiple covens using the same set of Hags?

I’ve been messing around with Hag Covens and not that I don’t think they are weak or anything (because they are anything but), I just wanted to add some extra flare to a particular Hag I’ve got in my world.

I’m curious if it’s possible for one Hag to be apart of multiple Covens and the rules for that, or for three Hags to form more than one Coven using the same three hags, in order to gain more coven spells and such?

How to Block Multiple Logins /Sign Up?

So, I have an App where the user needs to sign up to access the app. I’m planning to run an offer where user can order that item only once in a day. But I have the doubt that he may change login Id (if have multiple emails) and can place the order with Different ID’s.

I’m thinking of registering the device with an email id:

Pros: – Not able to login with a different email Id.

Cons: – Not able to use the app on a differnt device ( if changed) as it may give an error email Id already registered with another device.Which leads to deregister from the previous device (Chances device may not be available).Or raise a ticket which is time-consuming. this may lead to customer loss.

Have also, read about IP tracking, Phone number, and Credit card details but not satisfied with the answers (somebody already raised for same). So what will be a good method to avoid multiple logins/sign up from the same device?

OpenVPN MAC filtering – adding multiple MACs?

I was following this OpenVPN documententer link description here and I’ve managed to enable the MAC filtering feature. My question is : How do I add multiple MACs to the database? So multiple MAC for a single user. Example command I would use to replace the registered MAC:

./sacli -u “exampleuser” -k “pvt_hw_addr” -v “00:01:02:ab:cd:12” UserPropPut

Multiple steps each with a tasks vs one step with multiple tasks (for the user)

I am sketching the user flow for a new feature of a fitness/medical recovery application that is using hardware sensors to monitor the way the user is performing certain fitness exercises.

In order for the user to begin the training he has to perform certain tasks before:

  • position the sensors (two sensors) on the body or on a limb (i.e hand scenario), above and below the elbow
  • be sure that the sensors are in a certain position (there are some LEDS* on one side of the sensors and they must face up)
  • have the sensor centred on the body or on the limb
  • strand the straps so the sensor/s does not fall off

If I place all of this in a single screen I am afraid there may be too much information and the screen may end up with a high cognitive load. I would like to split this in multiple screens and after the user goes through this at least 2-3 times, wrap it up in a single screen as the user will be familiar with the process.

Currently I am in an argument regarding splitting the screen, as mentioned above. The team has a solid point against splitting the screen into mutiple screens: the “onboarding process” until the user can start training, beside this screen, contains 6-7 more screens. From these 6-7 screens at least 4 require the user to do at least one action (i.e. move a the limb with the sensors).

If the user does not perform these tasks successfully the hardware device won’t track his movement so the tasks are mandatory. From my point of view, I’d rather have the user go 1-2 times through a longer flow and be able to successfully use the product rather than keeping it simple and confusing the user.

Important: Our users are of an older age demographic therefore everything must be as simple and clean as possible.

What would be the best approach to keep the process as short as possible while maintaining its usability? I haven’t seen any other application that has anything as complex as what I mentioned above.

*the LEDS task is tricky because it is not too visible on the sensor. Beside the phrasing “LEDS must face up” is confusing. Last but not least, our users may not even know what’s a “LED”.

Cheap Windows VPS | Multiple Locations | DMCA Safe VPS |Unmetered | Starting at $6./Mo

WindowsVPS.Host is set up with an aim to serve customers in an excellent manner by providing them quality service. We strongly believe in high quality standards and Hence you’ll always find our services better than every other host in this industry.We understand the value of time and hence our ordering process is very simple. Customers can choose servers from multiple price levels to suit their budgets.

Whats included?

Cheap Windows VPS | Multiple Locations | DMCA Safe VPS |Unmetered | Starting at $ 6./Mo

How to pass multiple custom fields as shortcode’s parameters

I’m learning how to pass parameters in shorcode, I know the basic step after read through WP Codex.

But for now, I have plugin come with custom fields and as the title, I want to know how to do it.

Here is the code from plugin that adds custom fields

$  prefix = '_al_listing_'; $  fields = [];  $  fields[] = [     'name' => __( 'Price', 'auto-listings' ),     'id'   => $  prefix . 'price',     'type' => 'number',     'min'  => 0,     'step' => '0.01', ]; $  fields[] = [     'name' => __( 'Suffix', 'auto-listings' ),     'desc' => __( 'Optional text after price.', 'auto-listings' ),     'id'   => $  prefix . 'price_suffix',     'type' => 'text', ];  $  fields = apply_filters( 'auto_listings_metabox_details', $  fields );  ksort( $  fields );  return [     'id'         => $  prefix . 'details',     'title'      => __( 'Details', 'auto-listings' ),     'post_types' => 'auto-listing',     'fields'     => $  fields,     'context'    => 'side', ]; 

And here is the code I built to call shortcode with parameters, but I only know pass 1 custom fields at one time.

public function listings( $  atts ) {     $  atts = shortcode_atts(         [             'orderby' => 'date',             'order'   => 'asc',             'number'  => '20',             'price' => ''         ],         $  atts     );      $  query_args = [         'post_type'           => $  post-type,         'post_status'         => 'publish',         'meta_key'            => '_al_listing_price',         'orderby'             => 'meta_value',         'meta_value' => $  atts['price'],         'order'               => $  atts['order'],                         'posts_per_page'      => $  atts['number'],     ];      return $  this->listing_loop( $  query_args, $  atts, 'listings' ); } 

Any helps are appreciated.

Displaying multiple column data in a drop down menu

I’m using SP2010 unfortunately without SP Designer and only used InfoPath once.

I have 2 lists:

  • List A – Is a list of ‘Event Codes’ with a ‘status’ column displaying Active, Used or Reserved status for each Event Code.

  • List B – Has a look up column displaying an Event Code from List A.

When adding a new item to List B and selecting an event code from the drop down box, I want to view all event codes and their allocated status next to each event code.

In effect having data from two columns displaying in the drop down menu.

https://drive.google.com/open?id=0B2-gTzHQ8fwVWlJ2dTItTzUxWmQxWjM2MjNITURtdDVNcEtn