Skip to content

Instantly share code, notes, and snippets.

Iacovos Constantinou softius

  • Nicosia, Cyprus
Block or report user

Report or block softius

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@softius
softius / gradient.sh
Last active Jul 23, 2017
Create random gradient backgrounds for your GNOME Desktop
View gradient.sh
#!/bin/bash
GJSON='/tmp/gradients.json'
GPNG='/tmp/gradient.png'
# Avoid to download file if already exists
if [ ! -f $GJSON ]; then
echo 'Fetching gradients from GitHub ...'
curl -o $GJSON https://raw.githubusercontent.com/ghosh/uiGradients/master/gradients.json 2>/dev/null
fi
@softius
softius / bootstrap.sh
Last active Dec 14, 2015
Removes gradients and/or rounded corners from bootstrap css
View bootstrap.sh
# removes rounded corners
grep -v "radius" bootstrap.css > bootstrap-no-radius.css
# removes gradient
grep -v "gradient" bootstrap.css > bootstrap-no-gradient.css
# removes both gradient and rounded corners
grep -v "radius" bootstrap.css | grep -v "gradient" > bootstrap-no-radius-gradient.css
You can’t perform that action at this time.