Face-recognition software is perfect – if you’re a white man https://t.co/k14Ui5up3S
From my twitter post: .@nickherbertmp please speak out against the government plans to change laws behind closed doors on the #EUwithdrawalbill
.@nickherbertmp please speak out against the government plans to change laws behind closed doors on the #EUwithdrawalbill
From my twitter post: Petition: Hold a referendum on the final Brexit deal https://t.co/ZpIiQFdSRs
Petition: Hold a referendum on the final Brexit deal https://t.co/ZpIiQFdSRs
From my twitter post: I’ve signed the petition asking @theresa_may not to throw away our #HumanRights when we leave the EU. Can you too? https://t.co/7UGFKBTWWi
I’ve signed the petition asking @theresa_may not to throw away our #HumanRights when we leave the EU. Can you too? https://t.co/7UGFKBTWWi
From my twitter post: We need cross-party #BrexitNegotiations. Sign the petition if you agree: https://t.co/Z3HeXm2hGS https://t.co/TsUA5PzqmA via @38_degrees
We need cross-party #BrexitNegotiations. Sign the petition if you agree: https://t.co/Z3HeXm2hGS https://t.co/TsUA5PzqmA via @38_degrees
From my twitter post: Time to refit the optics lab courtesy of Oxfam https://t.co/bHtGwpW1Ip
Time to refit the optics lab courtesy of Oxfam https://t.co/bHtGwpW1Ip
vim cheat-sheet
A minimal cheat-sheet to get by in vim (vi /gvim)
There’s no doubt that vim/vi or gvim is an incredibly powerful editor. it’s also very lightweight and fast, making it an ideal editor on the Raspberry Pi. It does however have a learning curve. This in a minimal cheat-sheet of commands. The ones in bold are I think the ones you need to learn to be able to use it at a basic level. Also try running vimtutor from the command line for a tutorial.
Esc key – Normal mode
Inserting text
a -append
i – insert
o – open (inserts line below current line, O open above current line)
r – replace (replaces the character under the cursor with the next one entered,
R – replace mode (overwrite text until Esc pressed)
ce – change (deletes to end of word and then switches to insert mode) c$ deletes the rest of the line
Deleting text
x -delete character
dw – delete word (d2w delete two words)
de – delete from cursor to end of word
d$ – delete from cursor to end of line
dd – delete the line (2dd delete two lines)
Undo
u – undo
U – undo all changes on a line
Put, Past and Cut
p – put the contents of the buffer (paste) (this is the last thing deleted or yanked)
v – visual selections mode (highlights text for eg deletions or write to file with :w FILENAME)
y – yank (copies highlighted text), yw – yanks word
Moving about
gg – go to start of the file
GG – go to end of the file
504G – goto line 504
/ – search, n find next, N find previous
% – find matching bracket (,[,{
0 – move to start of the line, ^ move to first non space character.
$ – move to end of the line
Status
^G – file and position status
! – execute external command e.g. !ls
Writing and Reading
:w – save the file
:w FILENAME – save as FILENAME
:r FILENAME – inserts content of file here, you can also insert output of commands eg :r !ls
:q! -quit discarding changes
: x – quit saving changes (if there are any as opposed to :wq which always saves)
From my twitter post: NHS hospitals in our area are hitting breaking point. Pls make sure it gets urgent funding .@nickherbertmp #NHScrisis
NHS hospitals in our area are hitting breaking point. Pls make sure it gets urgent funding .@nickherbertmp #NHScrisis
From my twitter post: “MATLAB arithmetic expands in R2016b” #matlab #feedly https://t.co/yzvmgmyc5J
“MATLAB arithmetic expands in R2016b” #matlab #feedly https://t.co/yzvmgmyc5J
A real worrying trend in facal recognition and geotagging