© by klickagent.ch

Tweaks

11.05.2016Play Tinder without Tinder or FaceBook account

You want to play Tinder without having a Tinder account?

If you simply want to have some fun with some friends (only someone needs a Tinder account), you can definitively do this without a Facebook account by using the TeamPlayer for Tinder App: http://team-player-for-tinder.klickagent.ch. Download the App from the Appstore or Google Playstore

12.06.2015There was a problem connecting to the server "XY" keeps popping up

Your problem:

There was a problem connecting to the server Message: "There was a problem connecting to the server "XY". The server may not exist or it is unavailable at this time. Check the server name or IP address, check your network connection, and then try again." The message above opens repeatedly without having a mounted network or similar. In addition it opens up before you even logged in on the login user screen. If your Macosx tries to connect constantly to connect to a server which is not available and you checked all other places like described in:

Your solution:

Run the following commands to delete the files
    sudo rm /Library/Preferences/com.apple.alf.plist
    sudo rm /Library/Preferences/com.apple.alf.plist~orig
    sudo rm /Library/Preferences/com.apple.AppleFileServer.plist
    sudo rm -r /Library/Preferences/OpenDirectory
    

23.12.2014CakePHP saveAll / saveAssociated error

CakePHP saveAll command does not work when using a non INT primary key for a model. Cakephp does not create the records over the relation. It does not matter whether you are using VARCHAR or CHAR. It simply does not work...unfortunately...

15.11.2014Turingmachine (Turischmaschine) Multiplikation mit 0 gefixt

Zustandstabelle für unäre Multiplikation mit einer Turingmaschine

18.10.2014Macosx Yosemite (10.10) php.ini and Apache httpd.conf paths

The location of the php.ini file in Yosemite is
    	/usr/local/etc/php/5.5/php.ini
    
The location of the httpd.conf file is
    	/etc/apache2/httpd.conf
    
The default files are:

18.10.2014Enable GD Library for PHP in Yosemite (10.10) for png support

Reinstall php using brew: (this adds a new php instance to your computer!)
    	brew install php55
    
load the php55 module from homebrew in apache by adding the following line to the httpd.conf file:
    	LoadModule php5_module    /usr/local/opt/php55/libexec/apache2/libphp5.so
    

14.10.2014Openlayers v3 update, transform coordinates


    ol.proj.transform([lng,lat],projectionFrom(string!),projectionTo(string!))
    

Long = X, Lat = Y!

12.10.2014Openlayers v3 update, add marker (icon) to map with image offsets

    marker.setStyle(
    	new ol.style.Style({
    		image: new ol.style.Icon({
    		    anchor: [16, 30],
    		    anchorYUnits: 'pixels',
    		    anchorXUnits: 'pixels',
    		    opacity: 0.75,
    		    src: 'http://xy.png'
    		}),
    		
    	})
    );
    

10.10.2014Openlayers v3 update, addFeatures in the new OpenLayers (ol) version

From:
    	this.LinesLayer = new OpenLayers.layer.Vector();
    	this.map.addLayer(this.LinesLayer);
    	this.LinesLayer.addFeatures(this.Lines);
    

To:
    	this.LinesLayer = new ol.layer.Vector({
    		source: new ol.source.Vector({
    			features: []
    		})
    	});
    	this.map.addLayer(this.LinesLayer);
    	this.LinesLayer.getSource().addFeatures(this.Lines[i]);
    

14.06.2014Barcode 128 b mit Umlauten / Barcode 128 b with umlauts

barcode 128 generator (javascript, css, font), supporting umlauts (umlaute)

30.05.2014Center the twitter Bootstrap 3 Modal Dialog horizontally and vertically using css only (without javascript!)


html code:
	
		<div id="confirm-dialog" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		
			<div class="modal_wrapper" >
				<div class="modal-dialog">
					<div class="modal-content">
						<div class="modal-header">
							<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
							<h4 class="modal-title">Confirm</h4>
						</div>
						<div class="modal-body">
							&nbsp;
						</div>
						<div class="modal-footer">
							<button type="button" class="btn btn-default" data-dismiss="modal" id="confirm-dialog-button-left">Close</button>
							<button type="button" class="btn btn-primary" id="confirm-dialog-button-right">Cancel</button>
						</div>
					</div>
				</div>
			</div>
		</div>    
css:
    .modal{
    	width: 100%;
    	position: fixed;
    	text-align: center;
    	margin: 0px auto;
    	top: 0px;
    	left: 0px;
    	bottom: 0px;
    	right: 0px;
    	z-index: 1050;
    }
    .modal_wrapper{
    	display: table;
    	overflow: auto;
    	overflow-y: scroll;
    	height: 100%;
    	-webkit-overflow-scrolling: touch;
    	outline: 0;
    	text-align: center;
    	margin: 0px auto;
    }
    .modal-dialog{
    	margin-top: 0px;
    	display: table-cell;
    	vertical-align: middle;
    	margin: 0px 20px;
    }
    
If you additionally want to remove the slide in effect (and simply fade in instead) add the following css as well:
    	.modal.fade .modal-dialog {
    	  transform: translate(0, 0%) !important;
    	  -ms-transform: translate(0, 0%) !important; 
    	  -webkit-transform: translate(0, 0%) !important; 
    	}
    

29.05.2014Cordova App using angularjs does not run controller

If you have an empty view, the controller of the angularjs application will no be executed!

28.05.2014Cordova Code Signing Error when trying to run App in emulator

If you experience a "** BUILD FAILED **"-Error when running your cordova application via CLI you are probably running the app using
cordova run ios
without having a provision profile installed. Try to emulate by using
cordova emulate ios
. Error that might occur using "cordova run ios":
Check dependencies,
Code Sign error: No matching provisioning profiles found: No provisioning profiles matching the team ID ... were found.
CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 7.1').

10.02.2014Send custom headers to tests (testcase) in cakephp using testAction method

Simply add the element to the global variable $_SERVER and you are done
    $_SERVER['HTTP_AUTHORIZATION'] = 'AUTH_TOKEN';
    $response = $this->testAction('URL', 
    	array(
       		'return' => 'vars' 
    	)
    );
    

05.11.2013Remove all cookies from specified domain / Alle Cookies von voreingestellten Domains löschen

Chrome Extension installieren

05.11.2013Remove all cookies from domain / Alle Cookies von einer Domain löschen

25.10.2013Create an appleID (apple ID, iCloud ID) for iTunes / App Store without credit card.

25.10.2013Neue appleID (apple ID, iCloud ID) für den iTunes / App Store ohne Kreditkarte erstellen

25.10.2013Activate an existing appleID for use in AppStore without credit card information

25.10.2013Aktiviere einen existierenden appleID Acount für den AppStore ohne Kreditkarte zu hinterlegen

14.06.2013Deploying with Capistrano (Ruby on Rails, RVM, Gitolite, Git)

if you encounter
FATAL: suspicious characters loitering about
during
cap deploy:setup
you probably miss configured the file deploy.rb: make sure you use another user for your deployment process than for the git (gitolite):

set :repository, "GITUSER@SERVER:REPO"
set :user, "DEPLOYUSER"

4.07.2013How to convert a decimal into a fraction (TI Voyage 200/89) / Dezimalzahl in einen Bruch umwandeln mit dem TI Voyage 200

1.01.2013view PDF s on iOs (iPhone, iPad, iPodTouch) on Moodle / PDF von Moodle auf iOs Gerät öffnen