This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Best ls for CLI RickRolling | |
# Just create an alias for it in a friend's / coworker computer | |
cat << EOF | |
----------------------------------------- | |
We're no strangers to love | |
You know the rules and so do I | |
A full commitment's what I'm thinking of |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"enabled": true, | |
"url": "https://www.teamwork.com/blog/introducing-teamworks-new-beautifully-designed-native-project-management/", | |
"text": "We at Teamwork are proud to announce the release of our new mobile Native applications! We would love to share our work with you.\n\nIf you’re interested, download the new app and make yourself at home. If you have thoughts you’d like to share, we would love to hear it.", | |
"acceptButtonTitle": "Check it out!", | |
"title": "Introducing Teamwork Beta", | |
"appReleasedInfo": { | |
"enabled": true, | |
"url": "https://www.teamwork.com/blog/introducing-teamworks-new-beautifully-designed-native-project-management/", | |
"storeurl": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
SU_DATE="## `date "+%d %m %Y (%a)"`" | |
SU_TEXT1="Yesterday:" | |
SU_TEXT2="Today:" | |
SU_TEXT3="---" | |
# weather info | |
SU_WEATHER=`curl 'wttr.in/Sevilla?format=3'` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ $CONFIGURATION = "Release" ]; then | |
echo "NOT DOING ICON CHANGE" | |
exit 0 | |
fi | |
echo $CONFIGURATION | |
echo "*** STARTED ICON CHANGE ***" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/dfreniche/.oh-my-zsh | |
# Set name of the theme to load. Optionally, if you set this to "random" | |
# it'll load a random theme each time that oh-my-zsh is loaded. | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
ZSH_THEME="agnoster" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# copied from http://blog.pragbits.com/it/2015/02/09/slack-notifications-via-curl/ | |
# format message as a code block ```${msg}``` | |
# SLACK_MESSAGE="\`\`\`$1\`\`\`" | |
SLACK_MESSAGE="$1" | |
SLACK_URL=https://hooks.slack.com/services/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 | |
case "$2" in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# if 1st param empty... | |
if [ -z "$1" ] | |
then | |
echo "Usage: select-xcode {8|9}" | |
exit | |
fi | |
XCODE8_APP=/Applications/Xcode-8.app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
// Not Optional Operator | |
// Useful to print out Optional values without the "Optional" text | |
prefix operator !? {} | |
prefix func !? (any: Any?) -> Any { | |
if let something = any { | |
return something |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__As a__ ideista | |
__I use a hotmail account__ | |
__I introduce myself__ as a loser | |
__And I want you__ to _work for free in my shitty project_ | |
__to develop__ _my Idea I'm not going to tell you so you can't copy because it's the new Facebook (yeah, for sure...) |
NewerOlder