A Pen by Josef Engelfrost on CodePen.
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
# Guess what group the project belongs to | |
function _smart-clone() { | |
local result_name=$1 | |
local repo=$2 | |
local dest=$3 | |
local group | |
if [[ `curl --silent --head --output /dev/null -w "%{http_code}" "https://git.diversity.io/textalk-webshop-native-components/$repo"` == "200" ]] | |
then | |
group="textalk-webshop-native-components" |
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
The MIT License (MIT) | |
Copyright (c) 2015 Textalk | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
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
class FacebookJob | |
def initialize | |
# DebugMailer.email('initialize').deliver | |
end | |
def perform | |
# DebugMailer.email('facebook').deliver | |
begin | |
# DebugMailer.email('beginning').deliver | |
fb_auths = Authentication.where(:provider => 'facebook') |