Skip to content

Instantly share code, notes, and snippets.

@shivgadhia
shivgadhia / gist:a2c6bb9592f8d41eb31d97ced4a6a52d
Created May 24, 2017 12:26
Remove a committed .idea folder from a repo
git rm -r --cached .idea
git commit -am "removing .idea folder"
git push
[{
"responseId": "21a5b4ec-0b08-11e7-93ae-92361f002671",
"suggestedResponse": "Thank you very much for your question, I hope that your week has been going well so far"
}, {
"responseId": "21a5b4ec-0b08-11e7-93ae-92361f002672",
"suggestedResponse": "For questions regarding multiple account integrations: As things stand you can only connect one email account (your default one) to Gluru. However, as this is something that many other users have also queried, we are in the process of looking into enabling multiple account integrations. Although I cannot give you an exact timescale for when to expect this, it should arrive in the not too distant future - so watch this space!"
}, {
"responseId": "21a5b4ec-0b08-11e7-93ae-92361f002673",
"suggestedResponse": "Having said that, we have already made progress towards achieving this goal on the Web App as you can now use your Microsoft Work / School account to sign in. As always, this means of signing in will be extended across all devices, shortly."
@shivgadhia
shivgadhia / gist:52c999e95f5385243dda
Last active August 29, 2015 14:23
List failing tests from Spoon report
$('.test-result').each(function() {
var failure = $(this).hasClass("fail");
if (failure) {
console.log($(this).text().trim())
}
});
@shivgadhia
shivgadhia / gist:22feb154e584c51d9e2c
Created April 9, 2015 15:01
Bash script to wait for user input
#!/bin/bash
echo 'Enter your command key...'
while true
do
read -p "" -n1 -s commandKey
if [ $commandKey = "f" ]; then
echo "foo"
else
echo $commandKey is unknown
fi