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
# adapted from following sources: | |
# https://github.com/jverkoey/iOS-Framework | |
# http://codefriend.blogspot.jp/2011/09/creating-ios-framework-with-xcode4.html | |
# http://www.cocoanetics.com/2010/04/making-your-own-iphone-frameworks/ | |
# "No architecture.." error resolved by trying some of these: | |
# http://stackoverflow.com/questions/6151549/how-can-i-build-a-specific-architecture-using-xcodebuild | |
set -e | |
set +u |
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
__author__ = 'purbo' | |
import os | |
import time | |
import threading | |
import urllib | |
import re | |
import logging | |
from pyftpdlib.authorizers import DummyAuthorizer | |
from pyftpdlib.handlers import FTPHandler |
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
export ANDROID_HOME=/Applications/Android\ Studio.app/sdk/ | |
cd facebook-android-sdk-3.14 | |
gradle facebook:build | |
mv facebook/build/libs/facebook.aar facebook/build/libs/facebook-3.14.aar | |
mvn install:install-file -Dfile=facebook/build/libs/facebook-3.14.aar -DgroupId=com.facebook -DartifactId=android-sdk -Dversion=3.14 -Dpackaging=aar |
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 org.apache.commons.logging.Log; | |
import org.apache.commons.logging.LogFactory; | |
import org.springframework.messaging.Message; | |
import org.springframework.messaging.MessageChannel; | |
import org.springframework.messaging.simp.stomp.StompHeaderAccessor; | |
import org.springframework.messaging.support.ChannelInterceptorAdapter; | |
public class StompInboundChannelInterceptor extends ChannelInterceptorAdapter { | |
static final Log LOG = LogFactory.getLog(StompInboundChannelInterceptor.class); |
OlderNewer