Ever found you’ve accidentally entered too many gits in your terminal and wondered if there’s a solution to it? I quite often type git then go away and come
back, then type a full git status after it. This leads to a lovely (annoying) error out the box:
$ git git status
git: 'git' is not a git command. See 'git --help'.
What a git.
My initial thought was overriding the git binary in my $PATH and having it strip any leading arguments that match git, so we end up running just
the git status at the end of the arguments. An easier way is to just use git-config‘s alias.*
functionality to expand the first argument being git to a shell command.
git config --global alias.git '!exec git'
Which adds the following git config to your .gitconfig file
[alias]git=!exec git
And then you’ll find you can git git to your heart’s content
See what other git alias’ I have in my ~/.gitconfig, and laugh at all the typo corrections I
have in there. (Yes, git provides autocorrection if you enable it, but I’m used to these typos working!)
I often get asked about why I use Vim as my primary editor, there is no particular reason for this, except that I ended up learning it when I moved over to Linux full time many years
ago. I ended up liking it because I could edit my small source files on my quad-core machine without needing to wait forever for the file to open.
Sure Vim isn’t a bad editor, it’s highly extensible, it’s easy to shell out to the, err well shell, its everywhere so when you ssh into some obscure server you can just type vim (or
vi) and you’re good to go…
The day has arrived… our lovely little Not Dogs restaurant in the Bullring, Birmingham has had a little update – in fact, our additions are a nod to our festival background complete
with bunting and grass! Let’s go on a virtual tour…
Next year, 25 May looks like being a significant date. That’s because it’s the day that the European Union’s
general data protection regulation (GDPR)
comes into force. This may not seem like a big deal to you, but it’s a date that is already keeping many corporate executives awake at night. And for those who are still sleeping
soundly, perhaps it would be worth checking that their organisations are ready for what’s coming down the line.
First things first. Unlike much of the legislation that emerges from Brussels, the GDPR is a regulation rather than a directive. This means that it becomes law in all EU countries at
the same time; a directive, in contrast, allows each country to decide how its requirements are to be incorporated in national laws…
In a potato field near the Netherlands’ border with Belgium, Dutch farmer Jacob van den Borne is seated in the cabin of an immense harvester before an instrument
panel worthy of the starship Enterprise.
From his perch 10 feet above the ground, he’s monitoring two drones—a driverless tractor roaming the fields and a quadcopter in the air—that provide detailed readings on soil
chemistry, water content, nutrients, and growth, measuring the progress of every plant down to the individual potato. Van den Borne’s production numbers testify to the power of this
“precision farming,” as it’s known. The global average yield of potatoes per acre is about nine tons. Van den Borne’s fields reliably produce more than 20.
That copious output is made all the more remarkable by the other side of the balance sheet: inputs. Almost two decades ago, the Dutch made a national commitment to sustainable
agriculture under the rallying cry “Twice as much food using half as many resources.” Since 2000, van den Borne and many of his fellow farmers have reduced dependence on water for
key crops by as much as 90 percent. They’ve almost completely eliminated the use of chemical pesticides on plants in greenhouses, and since 2009 Dutch poultry and livestock
producers have cut their use of antibiotics by as much as 60 percent…
It’s the grassroots political movement whose launch nobody could envy. Now, social media channels for Activate, the centre-right attempt to emulate Momentum’s youth appeal, appear to be at war with each other over backing for Jacob Rees-Mogg to be Britain’s next
prime minister.
On Twitter, the @ActivateBritain account has tweeted a string of anti-Theresa May
images and issued an “official statement” endorsing the MP for North East Somerset as the next Conservative leader…
It was September 1738, and Benjamin Lay had walked 20 miles, subsisting on “acorns and peaches,” to reach the Quakers’ Philadelphia Yearly Meeting. Beneath his overcoat he wore a
military uniform and a sword — both anathema to Quaker teachings. He also carried a hollowed-out book with a secret compartment, into which he had tucked a tied-off animal bladder
filled with bright red pokeberry juice.
When it was Lay’s turn to speak, he rose to address the Quakers, many of whom had grown rich and bought African slaves. He was a dwarf, barely four feet tall, but from his small body
came a thunderous voice. God, he intoned, respects all people equally, be they rich or poor, man or woman, white or black.
Throwing his overcoat aside, he spoke his prophecy: “Thus shall God shed the blood of those persons who enslave their fellow creatures.” He raised the book above his head and plunged
the sword through it. As the “blood” gushed down his arm, several members of the congregation swooned. He then splattered it on the heads and bodies of the slave keepers. His message
was clear: Anyone who failed to heed his call must expect death — of body and soul.
Lay did not resist when his fellow Quakers threw him out of the building. He knew he would be disowned by his beloved community for his performance, but he had made his point. As long
as Quakers owned slaves, he would use his body and his words to disrupt their hypocritical routines…
Wow, I was really blown away by OMGYes. The concept sounded novel but I wasn’t prepared for how completely engrossed listening to the interviews, watching the examples, and getting to
practice the different techniques on the interactive vuvlas would be. This is genuinely an invaluable resource for folks looking to learn about touchin’ twats. OMGYes…
This was a talk I gave at an internal R&D conference my last week at Workiva. I got a lot of positive feedback on the talk, so I figured I would share it with a wider
audience. Be warned: it’s long. Feel free to read each section separately, though they largely tie together.
Why do you work where you work? For many in tech, the answer is probably culture. When you tell a friend about your job, the culture is probably the first thing you describe.
It’s culture that can be a company’s biggest asset—and its
biggest downfall. But what is it?
Culture isn’t a list of values or a mission statement. It’s not a casual dress code or a beer fridge. Culture is what you reward and what you don’t. More importantly, it’s what you reward and what you punish. That’s an important distinction to make
because when you don’t punish behavior that’s inconsistent with your culture, you send a message: you don’t care about it…