Skip to content

Instantly share code, notes, and snippets.

Das Problem trat auf nachdem ich auf iOS 7 geupdated habe. Dabei habe ich in iTunes ein unverschlüsseltes Backup gemacht. Dieses enthält nicht die Keychain des Gerätes in der Apps normalerweise ihre Passwörter speichern.

Alle anderen Apps mit Passwörtern haben mich nach Restore dieses Backups erneut nach dem nun verlorengegangenen Passwort gefragt.

Die Kundencenter-App speichert ihre Login-Daten vermutlich auch in der Keychain, fragte aber in diesem Fall nicht erneut nach dem Passwort sondern gab stattdessen eine unspezifische Verbindungsfehlermeldung zurück.

Ich bin Softwareentwickler, leiten Sie diese Beschreibung an Ihr Entwicklungsteam weiter, die können damit was anfangen.

@janv
janv / view_model.js
Last active December 24, 2015 21:09
angular.module('ngViewExample', ['ngRoute', 'ngAnimate'], function($routeProvider, $locationProvider) {
$routeProvider.when('/Book/:bookId', {
templateUrl: 'book.html',
controller: BookCntl,
resolve: {
book: function(BookResource, $route){
return BookResource.get({bookId: $route.current.params.bookId});
}
}
});
@janv
janv / wrapply.js
Created September 17, 2013 15:21
use wrapply to wrap your callbacks in $rootScope.$apply()
angular.module('wrapply', []).factory('wrapply', ['$rootScope', function($rootScope){
return function wrapply(originalCallback){
return function wrappedCallback(){
var args=arguments, self=this, retval;
$rootScope.$apply(function(){
retval = originalCallback.apply(self, args);
});
return retval;
}
}
@janv
janv / apply.js
Created September 17, 2013 15:12
How to wrap your external callback for AngularJS
mymodule.factory('myWrappedService', function($rootScope){
var originalService; // Must be set from somewhere of course
return {
myAsyncFunction: function(a,b,callback){
return originalService.asyncFunction(a,b,function(){
var args = arguments, self=this;
$rootScope.$apply(function(){
callback.apply(self, arguments);
@janv
janv / gist:6434236
Created September 4, 2013 08:24
Trigger jQuery-UI sortable
(function () {
var widget = $('.ui-sortable').data("ui-sortable");
widget._trigger("start", null, widget._uiHash(widget));
$('.ui-sortable tr:first-child').appendTo('.ui-sortable');
widget._trigger("update", null, widget._uiHash(widget));
})()
@janv
janv / broken_promise.js
Last active May 6, 2023 03:55
A sad poem, written in Javascript
// Replacing callbacks with scumbacks
// Promises to call you back but then doesn't
// Getting your hopes up again
// and again
var brokenPromise = {
then: doesnt
};
function doesnt(callback){
return brokenPromise;
@janv
janv / broken_promise.js
Created July 16, 2013 16:08
A sad poem, written in Javascript
// Replacing callbacks with scumbacks
// Promises to call you back but then doesn't
// Getting you hopes up again
// and again
var brokenPromise = {
then: doesnt
};
function doesnt(callback){
return brokenPromise;
@janv
janv / broken_promise.js
Last active December 19, 2015 19:59
A sad poem, written in Javascript
// Replacing callbacks with scumbacks
// Promise to call you back but then doesn't
// Getting you hopes up again
// and again
var brokenPromise = {
then: doesnt
};
function doesnt(callback){
return brokenPromise;
}
@janv
janv / async_block.js
Last active December 17, 2015 10:49
Better async testing with jasmine.
'use strict';
// Usage:
// Inside your examples call
// this.async(function(done){
// someAsyncOperation(function callback(){
// try {
// doStuff();
// done() // Calling done without parameter causes test to pass
// } catch(e) {
main = do sequence_ (map (putStr . (++ "\n")) (fizzbuzz 100))
fizzbuzz upper = [stringify x | x <- [1..upper]]
where stringify n
| n `divisibleBy` 15 = "fizzbuzz"
| n `divisibleBy` 3 = "fizz"
| n `divisibleBy` 5 = "buzz"
| otherwise = show n
divisibleBy dividend divisor = dividend `mod` divisor == 0