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
/** | |
* @license wysihtml5 v0.2.0 | |
* https://github.com/xing/wysihtml5 | |
* | |
* Author: Christopher Blum (https://github.com/tiff) | |
* | |
* Copyright (C) 2011 XING AG | |
* Licensed under GNU General Public License | |
* | |
*/ |
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
package cz.gnipjan.gpsmarker; | |
import java.io.BufferedWriter; | |
import java.io.File; | |
import java.io.FileWriter; | |
import java.io.IOException; | |
import android.location.Criteria; | |
import android.location.Location; | |
import android.location.LocationListener; |
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
public class HomeActivity extends MyActionBar { | |
@Override | |
public void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.main); | |
ArrayList<String> events = new ArrayList<String>(); | |
events.add("Birthday party"); | |
events.add("Epic party"); |
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
public class FirstActivity extends Activity { | |
@Override | |
public void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
ArrayList<String> events = new ArrayList<String>(); | |
events.add("Oslava narozenin Tomase"); | |
events.add("Koncert 2,5 promile"); | |
events.add("Grilovani na zahrade"); |
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
<?php | |
abstract class BasePresenter extends Nette\Application\UI\Presenter { | |
public function getModel($model) { | |
return $this->context->modelLoader->loadModel($model); // umozni nam v presenterech nacitat model ve tvaru: $this->getModel('foo') | |
} | |
} | |
?> |
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
<?php | |
use Nette\Object, | |
Nette\Security as NS; | |
/** | |
* Users authenticator. | |
*/ | |
class Authenticator extends Object implements NS\IAuthenticator { |