Avada WordPress Theme – custom data source for Post Cards

In getting frustrated with needing to get more detailed and specific with the posts being shown in post-cards in certain circumstances, i’ve dug into the code and found a great wordpress filter which can be used to inject your own WP_Query object, instead of using the query generated based on your criteria in the builder.

fusion_post_cards_shortcode_query_override

To use it, you’ll need to use the wordpress ‘add_filter’ method, such as the following;

function my_filter_post_cards($args, $defaults) {
if($defaults['id'] === 'customise-the-query') {
return new WP_Query([
'posts_per_page' => $defaults['number_posts'],
'post_type' => 'suppliers'
]
);
}
}
add_filter( 'fusion_post_cards_shortcode_query_override', 'my_filter_post_cards', 0, 2 );

This lets you really customise the posts shown in the post cards element, rather than being restricted to the options shown in the builder.

Potato Salad

Ingredients;

  • Boil potatoes & carrots, then drain and peel (once cooled)
  • Sweet & sour cucumbers (chopped)
  • Red capsicum
  • Eggs
  • Mayonaise (swiss / good maoy)

Chopped salami (optional)

Starting lead-climbing after doing the lead-course

So, you’ve done the Lead course — congratulations!

We’ve included a few helpful tips to keep in mind as you get started with the skills you’ve learnt;

  • If you are unsure of something ASK. Accidents only take one tiny mistake.
  • Never be afraid to ask for help, or why someone has done something differently. Experienced people are always happy to help.
  • Learn to lead at Arapiles, it is so much better than anywhere else. Once you have done at 20 climbs then perhaps consider different locations. Be aware that the quality of rock is quite variable at the grampians, werribee gorge, and camles hump.
  • Down climbing is a trad climbers best friend.
  • Do not even consider multipitch climbing until you have done at least 10-20 single pitch climbs and a climb takes under 2 hours from start to finish (including racking up and returning to the ground).
  • Avoid doing climbs longer than 30m when you start out. If something goes wrong you can always be lowered to the ground.
  • Climbs that are describe as “bouldery” have tough starts. Do not do these climbs unless you can get lots of gear in down low.
  • If you can’t protect the crux of the climb, DO NOT DO THE CLIMB
  • At least 3 bombproof pieces of gear for an anchor.
  • You are only safe at the top of a climb when the anchor is finished and there is no chance of falling off the edge.
  • If belaying normally from the top, the brake rope is always in the locked off position.
  • Use names when communicating with your seconder/ leader.
  • Gear at feet = More gear (a good time to put in another piece of gear/protection).
  • At crux= More gear (another good time to put some more gear in).
  • Traverse/ gear below over hang = More gear with an extender (as above).
  • Always take more gear than less. It makes you stronger and you are less likely to run out.
  • NEVER GET COMPLACENT. That’s when stuff really really goes wrong.
  • Abseiling is a dangerous activity. Always be on a safety line and triple check everything before you commit to the decent.
  • Triple checking any safety system is probably a very good idea always.
  • You are responsible for yourself and your judgement is your best friend.
  • And finally, NEVER ABSEIL THE MULDOON RAP STATION WitH ONE ROPE. You have been warned

The suggested list at the bottom is a great starting point to plenty of good climbs with good protection and a great place to hone your skills. Remember, when you are first starting out, it’s about refining your skills (placements, anchors, JUDGEMENT), as opposed to climbing hard & your ability (ie. trying the latest silly run out death climb). Get the technical side of things down-pat so that it’s second nature, and harder routes in time will be easier and more safer. Do at LEAST 20 of the climbs listed before contemplating multi-pitch climbing (which generally takes longer, is more committing and is more “in the deep-end” than the single-pitch options).

After 20 of the recommended climbs (ideally at least a few being grade 10), maybe have a look at some of the smaller multi-pitch climbs. Just make sure you can complete a single pitch, from leaving the ground to back on the ground in around 1 – 1.5 hours. This is a fairly good guide that you are becoming efficient in your climbing.

Spend 3 trips at Arapiles learning the ropes before you consider the Grampians (Summerday Valley has great beginner leads). Leave Werribee Gorge and Camels Hump for quite a few months.

Once you have done at least ten leads (that’s yourself actually leading, not just seconding) consider coming along on a lead rescue course. YOU WILL ALSO HAVE TO RUN ONE LEAD TRIP before you can come on the rescue course, but they have to be the easiest trips on the planet to run.

Suggested climbs to start with

Bitbucket Symfony Security Checker

To implement the symfony security checker as part of your bitbucket pipeline, include the following lines of code in one of the steps.

The first line downloads the Symfony CLI tool, and adds it to the path (so it can be run). The 2nd line actually runs the security-check.

- curl -sS https://get.symfony.com/cli/installer | bash && export PATH="$HOME/.symfony/bin:$PATH"
- symfony check:security

Ref; https://symfony.com/doc/current/setup.html#checking-security-vulnerabilities

The tale of the Mexican Fisherman and the Investment Banker

(Author Unknown)

An American investment banker was at the pier of a small coastal Mexican village when a small boat with just one fisherman docked. Inside the small boat were several large yellowfin tuna. The American complimented the Mexican on the quality of his fish and asked how long it took to catch them.

The Mexican replied, “only a little while.”

The American then asked why didn’t he stay out longer and catch more fish?

The Mexican said he had enough to support his family’s immediate needs.

The American then asked, “but what do you do with the rest of your time?”

The Mexican fisherman said, “I sleep late, fish a little, play with my children, take siestas with my wife, Maria, and stroll into the village each evening where I sip wine, and play guitar with my amigos. I have a full and busy life.”

The American scoffed. “I have an MBA from Harvard, and can help you,” he said. “You should spend more time fishing, and with the proceeds, buy a bigger boat. With the proceeds from the bigger boat, you could buy several boats, and eventually you would have a fleet of fishing boats. Instead of selling your catch to a middle-man, you could sell directly to the processor, eventually opening up your own cannery. You could control the product, processing, and distribution,” he said. “Of course, you would need to leave this small coastal fishing village and move to Mexico City, then Los Angeles, and eventually to New York City, where you will run your expanding enterprise.”

The Mexican fisherman asked, “But, how long will this all take?”

To which the American replied, “Oh, 15 to 20 years or so.”

“But what then?” asked the Mexican.

The American laughed and said, “That’s the best part. When the time was right, you would announce an IPO, and sell your company stock to the public and become very rich. You would make millions!”

“Millions – then what?”

The American said, “Then you could retire. Move to a small coastal fishing village where you could sleep late, fish a little, play with your kids, take siestas with your wife, and stroll to the village in the evenings where you could sip wine and play guitar with your amigos.”

Ref; http://renewablewealth.com/the-parable-of-the-mexican-fisherman/

AGM Batteries – State of charge

The below figures are in volts

State of Charge Sealed or Flooded Lead Acid Gel battery AGM battery
100% 12.70+ 12.85+ 12.80+
75% 12.40 12.65 12.60
50% 12.20 12.35 12.30
25% 12.00 12.00 12.00
0% 11.80 11.80 11.80

Ref; http://www.energymatters.com.au/components/battery-voltage-discharge/

Other notes;

11.5v = 50%
12v = 70%
12.8 – 128v = 100%

12.3v / 12.4v – 13v
Solar panel should be +5v on top of the battery voltage