Notes. Sketches. Ideas.

In order to take advantage of HTML5’s History API, the application must ignore the URI in the http request and resolve to the root – otherwise you’ll get a 404 error. This can be an issue with a WordPress application because WordPress uses a similar technique by using either Apache or NGINX to resolve all requests to index.php, which then parses the URI and renders the corresponding page/post/archive/ect.

Read full article »

Instead of sending giant payloads or screenshots, send a cURL. From Chrome’s Networking console, simply right click the request and select “Copy as cURL”. Now your colleague can see the exact response you are without going to the browser.

Read full article »

We are proud to introduce React Serial Forms, a module which makes creating forms in large and medium scale applications easier.  Check it out here and please feel free to contribute!

We even put together a snazzy example to see it in action.

 

When we started Lev two years ago, we faced a decision that companies and organizations of all stripes need to deal with — deployments. There is a seemingly infinite number of setups but, in our view, all options seem to fall short in one way or another. When putting together a wish list for our ideal automated deployment solution, here’s what we came up with:

  • Manage config files in one place for applications. (Environment specific files like wp-config.php, production.rb, ect.)
  • Securely maintain both our open source and our client’s deployments under one roof. No need to mess with a configuration files or connecting wires for each new project.
  • Deploy to any SSH-capable Linux server, including shared hosting environments.
  • Parallel multi-server delivery.
  • Repository-specific deploy keys. Ideal for Git providers that require unique deploy keys. In our case, GitHub and GitLab.
  • Post-deployment commands for building/compiling our applications right on the server. Useful for building docker images, compiling assets or restarting services.
  • Incredibly fast and secure file migration with only SSH (not relying on FTP or FTPS).
  • No server dependencies needed for deployment. Not even Git.
  • The ability to intelligently deploy while respecting the .gitignore file so nothing gets blown out.

So we took it upon ourselves to write a low level node.js script which handled Git post-receive payloads. After some tweaking it worked great. Success, right? Well, almost. We had achieved our goal of automated deployments, but the solution was cobbled together using too many tools and providers, and fell short of the all-in-one-place requirement. We needed to manually configure a post-receive hook in whatever repository we were deploying (GitHub or GitLab), and for post-commands we needed to create one-off bash scripts. Not ideal. We needed a user interface.

Many hours of development later, Stackahoy was born.

ss

We now use Stackahoy for all deployments (including Stackahoy itself) and we’re inviting you to check it out for free.

npm is an incredibly handy development tool. Allowing for breaking your projects up into separate modules keeps logic isolated, maintainable and composable – especially when working with a larger team. When working with proprietary software, we can supply specific URLs in the package to lock down permissions and keep the code out of the public npm registry. However, this can cause a problem when working with portable docker images as the git clone will fail due to a missing id_rsa.

The solution we’re using is quite simple. Provide an ssh id_rsa file to authorize the clone. Instead of using your personal id_rsa, it’s much more appropriate to create one specific for the application and then add the id_rsa.pub as an authorized deploy hook in your git provider. This way you don’t have someone’s actual id_rsa floating around in repositories. Here are the steps:

Read full article »

The past few days I’ve been working a lot with Docker. As with many powerful tools, there are quite a few ways to get the job done. The most esoteric of them being how to persist data within Docker’s containers. From bind-mounting directories to your local system, to spinning up containers with only one purpose in life – storage. Here I’m going to be discussing and experimenting with a slightly different way of handling the issue: Controlled Persistence.

Read full article »

Quite a few of our projects are built on top of WordPress. One of the side effects to having a great community of developers behind the CMS is that there are updates almost every week for the core and some of the more popular plugins. Each of our projects is versioned using Git, naturally, so manually dealing with these updates can be quite tedious. So how can we make our lives easier? Well, a command-line script would be nice. There are a few of these that exist. From shell scripts to a fully fleshed out PHP WP package manager. The problem with these is that they are made to work in a similar way the built-in WordPress updater works – update on the server, thus making the staging/production code out of sync with the repository. These scripts also use the database itself to get information about the website via the wp-config.php script. What if you don’t have a local database setup for the project?

This is the reason we wrote this little bash script which handles updating the core and all plugins without the need for a database, wp-config file or a domain name in one fell swoop. Checkout the open source project here on GitHub for more information.

Testing Out the Surprisingly Great AirBnB of Boats

best replica designer Labor Day weekend is almost upon us, and if you not jacked about the prospect of another high quality replica handbags ho hum barbecue, or seeing the same old friends and doing the same things KnockOff Handbags you been doing all summer, Designer Replica Bags consider going out on a boat. Can afford one, you say? Most of us Replica Designer Handbags can _ charters are usually arranged far in advance, and day of rentals directly from a marina can be expensive and/or risky. best replica designer

cheap designer bags replica Enter Boatbound and Boatsetter. These two online boat rental companies recently merged, combining to create the largest replica handbags online boat rental resource in the world. Whether you want a daycruiser for your weekend in Miami or a pontoon for relaxing cheap replica handbags on Lake Havasu, Boatbound and Boatsetter can Replica Handbags get you on the water in just a few clicks. We tried it recently, and were on the boat of our choice the very next day. It a bit like AirBnB. But with boats. cheap designer bags replica

buy replica bags online First, we went to the Fake Handbags Boatbound wholesale replica designer handbags website (there are also apps for both, but they share information and inventory) and created a profile, which requires an email address and phone number, driver license info, and a credit card. Next, we plugged in our destination and dates, and our budget. A list returned almost immediately, showing us a dozen or more boats available for rent by private owners craft already in the water, docked on the lake where we were staying with friends. Now, there are plenty of filters available to check: type of boat/activity, amount of people, Captain replica Purse or no, etc. Replica Bags So if you looking for a specific thing say, a fishing boat off Montauk, a ski boat on Lake of the Ozarks, or a sailboat in Mission Bay you can easily find it. We had no idea what we be in the mood for, though, only the name of the lake and the date we wanted to rent the boat (that right, the next day). So we left our options open and filters unchecked, and just scrolled around. buy replica bags online

buy replica bags replica bags After passing the iPhone around the room a couple of times, the Wholesale Replica Bags group decided on an 18 foot a day cruiser with a powerful engine and plenty of room for two families. A few clicks and an hour later, we got a text message saying our reservation had been confirmed. All we had Replica Bags Wholesale to do on our end was log back in to the site or app, and click a green button. Soon we were texting back and forth with the boat owner Bob who, it turned out, had the Sea Ray 180 docked about Designer Fake Bags 10 minutes from our lake house. buy replica bags

replica bags online RELATED: How to Name Your Boat replica bags online

replica bags buy online The next morning, we got a ride over to meet Bob at his property. After a handshake, a short tutorial, and a shove off, we were on replica handbags china the water. We had a veritable blast making laps around Lake Hopatcong, jumping off for the occasional swim and towing the kids around on a raft. It was a great time, and definitely broke up the late summer monotony of a long day in the sun. replica bags buy online

best replica designer bags If Boatbound/Boatsetter seems Handbags Replica too easy and good to be true, it practically is. It only cost about $250 for a day of glorious boating, easily manageable when split between parties. (Like AirBnB, individual boat owners set their own prices, so they will vary; we saw boats for as little as $100 to well over a thousand dollars/day for a lake in New Jersey.) The rental company takes care of the liability insurance; they email a copy of the policy (ours was held by GEICO Marine, which is legit), along with some paperwork to fill out and keep with you. But other than that, you on your own. best replica designer bags

high quality designer replica Of course, if you opt to pilot the boat yourself then aaa replica designer handbags you should definitely have some knowledge of how to operate whatever type of craft you renting, and a familiarity with the area where you be Fake Designer Bags boating. And of course, individual bodies of water often have their own boating and sailing laws and etiquette, which https://www.whhandbags.com you should absolutely know before you go out. Furthermore, local law enforcement often requires specific permits and or licenses to operate watercraft, so it a good idea to make whatever preparations are required for a safe, fun, and legal day on the water. high quality designer replica

replica wallets All in all, Boatbound and Boatsetter are doing far more than just revolutionizing boat rentals; they effectively making boating available to most everyone, in every location. So if you never glided across a glassy lake as the morning steam rises off the water and the sun peeks through the pines or seen the euphoria in a child face while purse replica handbags he tubing, then you owe it to yourself to try something different this weekend replica wallets.

rapid executive turnover raises eyebrows as Musk thins the ranks

Musk announced a reorganization in a memo to employees Monday, saying Tesla was changing its structure to improve communication, combine functions and get rid of activities that aren to the success of the replica handbags china company mission. Last Replica Bags Wholesale week, a spokesman confirmed one of only four Replica Bags executive officers named in the company recent proxy statement was taking time away from the company to Musk, 46, has replica handbags online said the burn of the century is coming soon to investors betting against Tesla, he rapidly losing top deputies to help him deliver on that prediction. Famed investor Jim Chanos, one of the most vocal Tesla short sellers, maintains a list of executive departures that he calls The turnover is comparable to what his firm Kynikos Associates Ltd. observed at Replica Designer Handbags Valeant Pharmaceuticals International Inc. and Enron Corp. two wildly successful short bets.Elon Musk’s behaviour in disastrous analyst call suggests replica bags the great Tesla experiment is under threatElon Musk vows to ‘burn’ Tesla short sellers, admits to acting ‘foolish’ on analyst callCutting off analysts’ ‘boring, bonehead’ questions has a price. For Elon Musk it cost $2 billion is never a good sign when almost all your senior executives are leaving with the stock price at a high, Chanos said on in Business, a Bloomberg Opinion podcast released last week. telling you there something wrong. And I don know high quality replica handbags what it is, but almost all the senior executives at Tesla see something and are leaving stock option packages on the table. in New York and are down about 5 per cent this year.Doug Field, senior vice president of engineering, is taking a break to regroup and spend more time with his family but hasn left the company, according to the spokesman. His sabbatical is significant: Musk has said he regards Field as the world most talented engineering executives. regulators, who just joined the safety team at Waymo, the self driving car company started by Google. Jim Keller, the head of the driver assistance system Autopilot, left last month for Intel Corp. In March, Tesla confirmed two Handbags Replica of its top financial executives had parted ways, and in February, sales chief Jon McNeill defected to KnockOff Handbags Lyft Inc.During his contentious earnings call with analysts early this month, Musk alluded to a restructuring of the company that would take Fake Designer Bags place this month to help the company earn a profit and Wholesale Replica Bags positive cash flow in the third quarter. The chief executive officer didn give details of the reorganization Replica Handbags in his memo Monday.Tesla is valued similar to General Motors Co. despite selling a fraction as many vehicles and burning through billions in cash. purse replica handbags While the electric car maker stock has been a popular pick to bet against for some time, the number of shares being sold short exceeded 40 million for the first time earlier this month, according to S3 Partners LLC.’Divide Conquer’Field, 52, is stepping away from his job just weeks after Musk confirmed a report by The Information that the CEO had taken over production of the critical Model 3 sedan from his top engineer. Musk, 46, tweeted last month that he had asked Field about a year earlier to Designer Fake Bags manage both engineering and production to better align the two departments, but wrote that recently, it was to divide conquer. his tenure at Tesla, Field has collected at least US$908,000 in salary and aaa replica designer handbags has sold roughly US$2.85 million worth of shares, according to regulatory filings. He has unvested stock awards worth about US$8.3 million, based on cheap replica handbags Friday close in New York, and 60,000 stock options that are currently underwater.Tesla efforts to mass manufacture an electric car for the first time has vexed the company for Fake Handbags months. Field made headlines by rallying the ranks in March with an email urging workers to a bunch of haters Designer Replica Bags wrong by boosting Model 3 output.The carmaker came up short of a target to build 2,500 Model 3 sedans in the final week of that month. https://www.whhandbags.com On April 3, the company reported that it produced 2,020 in the previous seven days.Some of the blame for the slower than expected manufacturing lies with Tesla applying too much replica Purse automation to its production of batteries and cars, according to Musk. The company has temporarily turned to semi automated or manual processes while it works out the kinks.Tesla also will continue to hire to support future product development and Model wholesale replica designer handbags 3 output, Musk wrote in his memo. It holding a to fix the two worst production bottlenecks that have hamstrung production thus far.

luxury replica bags

good quality replica bags

replica bags online

high quality replica bags

replica bags buy online

7a replica bags wholesale

cheap designer bags replica

replica designer bags wholesale

high end replica bags

replica bags

are you ready to quit

cheap authentic air jordans for sale Offering sleek cheap air jordan beauty and hypo allergenic qualities, it’s also a favorite among people with sensitive skin or who are prone cheap jordans free shipping to metal allergies. Since titanium and tungsten jewelry are growing in cheap jordans online popularity on a global scale, the market for titanium jewelry is just barely hitting its prime. There are cheap air force so many possibilities and unlimited potential for growth in terms of designs cheap jordans for sale and cheap jordans on sale demand. cheap authentic air jordans for sale

cheap jordan 11 A shout out to Cait Whitson, who came to America several years ago and taught wood graining and marbling to a group of us those skills have come in handy more times than I can cheap jordans free shipping count, THANK YOU!I can wait to see the cheap Air max shoes room completed I thought I be finished by Friday today I started glazing the near 800 sf of walls and realized, even with a helper tomorrow, I don think I get it all done. Rats. My body is achin but the end is near!. cheap jordans online cheap jordan 11

cheap jordans 6 rings Six NationsPaul Gustard claims all is sweetness and light behind scenes at England despite becoming latest in long line of backroom staff to leave set up”There’s no cheap nike shoes ghosts here, nothing about England was wrong. cheap Air max shoes I’ve not walked away from this job from ill feeling or lack of cheap air force happiness. I was negotiating a new contract”. cheap jordans 6 rings

cheap jordans 2017 review Rowing team is trying to take precautions ahead of competing in shitty conditions. Its athletes’ Olympian immune systems are the first defense, of course. But tangibly, hand washing stations will be set up for rowers to immediately disinfect when they get out of the water, the team’s assistant cheap jordans from china manager told Wired in a story published Friday.. cheap jordans 2017 review

cheap jordans amazon Several employees of neighboring businesses told The Oregonian/OregonLive that they haven noticed any smell. One worker said it has most often come from people puffing a joint out in public as they walk by, not from the store. Another worker said he used to detect the cheap jordan sneakers marijuana smell blowing through the building ventilation system, but the aroma stopped long ago.. cheap jordans amazon

cheap nike jordans shoes online Average savings of switchers in 2018, calculated against average bill of 1,172 (Average Big Six energy suppliers’ Monthly D/D payment method standard tariffs) after price rises enacted. Average usage cheap jordans online defined by OFGEM is 12,000 kWh pa gas and cheap air force 3,100 kWh pa electricity. Includes publicly available tariffs available in cheap jordans sale at least 12 of the 14 regions of UK.. cheap nike jordans shoes online

cheap jordan shoes for women There a report that has to be written. There a review process that has to happen, said Matier in a recent phone interview, as he waited to cheap jordans china fly back home to New Mexico from Halifax Stanfield International Airport.can hope for things, but the real cheap jordans in china take away is that we are absolutely following all of the processes as they laid out. Spaceport a potential threat to migratory birds, researcher saysThe project doesn plan to put humans into space, but is rather aimed at attracting consortiums of firms that want to put satellites into orbit for commercial purposes, such as near Earth imaging.The project is a private sector venture, but requires the province environmental approvals and other regulatory approvals.There are still a number of hurdles to overcome before construction can begin, but Matier said good progress has been made.Matier said last week, he met with provincial and federal officials, aerospace companies, environmental firms, cheap jordan sneakers engineering firms and construction companies.He also visited the site in Canso and met with a community group that included officials with Guysborough County, the fisheries cheap jordans online industry and residents.been delighted by the level of support from the community, said Matier, adding that AJ Pub Dining Room and Lounge in Canso has created a four meat pizza dubbed Cyclone 4M a launch vehicle that would be used at the proposed site.WATCH:SpaceX rocket launch lights up California skyMatier said he expects to be back in the Cheap jordans province within the next two or three weeks to submit an environmental assessment to the province.He said the engineering firm hired to carry out cheap air force the assessment has completed their report, but another technical edit is required before it submitted to Nova Scotia Environment Department for review.The assessment will also go the Natural Resources Department as part of the company Crown land lease application.environmental assessment) is the real big key piece for us, he enoft.com said, adding that the review process takes around 50 days.all the regulatory approvals go well, then we be able to get the land lease application finalized and everything ready Cheap jordans to go so we actually have control of the property so that cheap jordans in china we can actually do the groundbreaking we want to do to get things started a little later this summer or early this cheap jordans online fall cheap jordan shoes for women.