: All Posts
Git commit in terminal opens VIM but cant get back to terminal
Trying to learn GitHub at the moment and doing this Git essentials tutorial over at nettuts Im on the lesson about making commits The teacher types git commit
Read more →
Go to beginning of line without opening new line in VI
For ages now Ive used SHIFTO and SHIFT to move to the beginning and end of a line in vi However SHIFTO is more for opening a new line above the cursor Is there
Read more →
How big can a user agent string get
If you were going to store a user agent in a database how large would you accomdate for I found this technet article which recommends keeping UA under 200 It
Read more →
How can I delete the last n commits on GitHub and locally
Im trying to delete the last two commits from one of my GitHub repositories Ive tried as suggested here git push f origin HEADmaster It seems that it works as
Read more →
How can I quickly sum all numbers in a file
I have a file which contains several thousand numbers each on its own line 34 42 11 6 2 99 Im looking to write a script which will print the sum of all numbers
Read more →
How can I remove all text after a character in bash
How can I remove all text after a character in this case a colon in bash Can I remove the colon too I have no idea how
Read more →
How can I use wildcards to cp a group of files with the AWS CLI closed
Closed This question is not about programming or software development It is not currently accepting answers This question does not appear to be about a
Read more →
How do I copy SQL Azure database to my local development server
Does anyone know how I can copy a SQL Azure database to my development machine Id like to stop paying to have a development database in the cloud but its the
Read more →
How do I do multiple CASE WHEN conditions using SQL Server 2008
What Im trying to do is use more than one CASE WHEN condition for the same column Here is my code for the query SELECT Url pArtNo pDescription pSpecification
Read more →