developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
35
results
Andrew Fletcher
•
First off, this isn't the only method to achieve the outcome of emptying a file.
Using a symbol : is a shell built-in command that is essence equivalent to the true command and it can be used as a no-op (no operation). It can be used as follows:
# : > filename.txtOR
# true > filename.txt
My initial file was as follows:
21548342 16 Mar 20:27 code.logPost using the command
: > filename.txtThe response was
0 16 Mar 20:27...
Andrew Fletcher
•
Clear DNS Cache
The DNS (Domain Name Service) cache on your Mac helps browsers...
Andrew Fletcher
•
Changing git push from passphrase? There are several ways to tackle this...
Andrew Fletcher
•
Z shell (Zsh) is a Unix shell built on top of bash (the default shell for...
Andrew Fletcher
•
Registering a user via REST is an important process particularly when the...