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 | |
class BaseDoctrineForm extends sfFormDoctrine | |
{ | |
public function __construct($object = null, $options = array(), $CSRFSecret = null) | |
{ | |
parent::__construct($object, $options, $CSRFSecret); | |
// tell the widget schema which fields are required | |
$this->widgetSchema->addOption('required_fields', $this->getRequiredFields()); |
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 targetBounds, i, markerPositions; | |
markerPositions = ; //pole objektu google.mapsLatLng pro jdnotlive markery | |
targetBounds = new google.maps.LatLngBounds(); | |
for (i = 0; i < markerPositions.length; i++) { | |
targetBounds.extend(markerPositions[i]); | |
} | |
map.fitBounds(targetBounds); //map je objekt google.maps.Map |
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 | |
//ftp deploy helper (git only) | |
$targetDir = "../webdeploy"; | |
//$lastDeploy = "bd777c31090f9e22aef12e61f7ba64c39f09f5d0"; | |
if (isset($argv[1])) { | |
$lastDeploy = $argv[1]; | |
} | |
$cfgWarning = array(); |
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
Testovací<br> | |
<b>HTML</b> | |
<ul> | |
<li>odrazka</li> | |
</ul> | |
<a href="test">odkaz</a> a <i>kurziva</i> a <u>podtrzene</u> | |
<ol> | |
<li>cislovanay</li> | |
<li>seznam</li> | |
</ol> |
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
new IScroll(".map-wrapper", { | |
//options | |
mouseWheel: false, | |
scrollbars: true, | |
scrollX: true, | |
scrollY: false, | |
eventPassthrough: true, | |
tap: true, | |
click:false | |
}); |
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.josefadamcik.compassexperiment; | |
import androidx.appcompat.app.AppCompatActivity; | |
import android.content.Context; | |
import android.hardware.Sensor; | |
import android.hardware.SensorEvent; | |
import android.hardware.SensorEventListener; | |
import android.hardware.SensorManager; | |
import android.os.Bundle; |
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 PPSimpleFastPointOverlayActivity extends SimpleFastPointOverlay { | |
private Bitmap mIcon; | |
public PPSimpleFastPointOverlayActivity(PointAdapter pointList, SimpleFastPointOverlayOptions style) { | |
super(pointList, style); | |
} | |
public PPSimpleFastPointOverlayActivity(PointAdapter pointList) { | |
super(pointList); | |
} | |
protected void drawPointAt(Canvas canvas, float x, float y, boolean showLabel, String label, Paint pointStyle, Paint textStyle){ |
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
[ | |
{ | |
"name": "Lily58" | |
}, | |
[ | |
{ | |
"x": 3, | |
"c": "#e8e7e3", | |
"p": "CHICKLET", | |
"a": 7, |
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
[ | |
{ | |
"name": "SofleKeyboard", | |
"author": "Josef Adamcik", | |
"switchMount": "cherry" | |
}, | |
[ | |
{ | |
"y": 0.2, | |
"x": 3, |
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 ch.olmero.jo.test | |
import android.content.Context | |
import android.view.View | |
import android.view.ViewGroup | |
import androidx.test.platform.app.InstrumentationRegistry | |
import androidx.test.rule.ActivityTestRule | |
import ch.olmero.jo.EmptyTestActivity | |
OlderNewer