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
sh-3.2# brew doctor | |
Please note that these warnings are just used to help the Homebrew maintainers | |
with debugging if you file an issue. If everything you use Homebrew for is | |
working fine: please don't worry and just ignore them. Thanks! | |
Warning: You have unlinked kegs in your Cellar | |
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on | |
those kegs to fail to run properly once built. Run `brew link` on these: | |
gcc49 |
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
var tessel = require('tessel'); | |
var bleLib = require('ble-ble113a'); | |
var bleadvertise = require('bleadvertise'); | |
var uuid = "D8EE2A9F24176669F9508C97F10AAB5B"; // Apple's example UUID | |
var major = '01'; | |
var minor = '10'; | |
var iBeaconData = new Buffer(uuid+major+minor, 'hex'); // Create data Buffer |
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
I've created a custom view for a component to be used in the app. | |
That component has been added via the IB to the main viewController, it should have gonne through several | |
transformations while using gesture recognizer. Everything worked well in the simulator, but not on the device. | |
Acted really werid. | |
After many hours of playing around I came to the realization it was a constraints problem, as removing Autolayout | |
caused everything to act well on the device. | |
So i tried removing constraints, adding, programmatically adding / changing. Nothing worked. | |
Eventually, i removed the view from IB and added it programmatically. |
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
io.configure(function() { | |
io.set('authorization', function(handshakeData, callback) { | |
if (handshakeData.headers.cookie) { | |
req_cookie = cookie.parse(decodeURIComponent(handshakeData.headers.cookie)); | |
req_session = parseSignedCookie(req_cookie['connect.sid'], SECRET); |