- Windows 10
- Windows 8
- Windows 7
- Windows Vista (32-bit Firefox only)
- Windows Server 2003 SP1 (32-bit Firefox only)
- Windows XP SP2 (32-bit Firefox only)
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
Exciting! Firefox is now providing simple and chic interfaces for representing, setting and picking a time or date on Nightly. Various content attributes defined in the HTML standard, such as @step, @min, and @max, are implemented for finer-grained control over data values. | |
Take a closer look at this feature, and come join us in making it better with better browser compatibility! | |
What’s Currently Supported | |
<input type=time> | |
The default format is shown as below. | |
Here is how it looks when you are setting a value for a time. The value provided must be in the format “hh:mm[:ss[.mmm]]”, according to the spec. |
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 | |
function getJson($file) { | |
return json_decode( | |
file_get_contents('https://product-details.mozilla.org/1.0/' . $file), | |
true | |
); | |
} | |
function getProductDetailsLocales($version) { |
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
#! /usr/bin/env bash | |
# Pretty printing utility function | |
function echogreen() { | |
NORMAL=$(tput sgr0) | |
GREEN=$(tput setaf 2; tput bold) | |
echo -e "$GREEN$*$NORMAL" | |
} | |
# Path to the temporary profile |
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 | |
/** | |
* Return the current URL with the json GET variable appended | |
* This is used on views which also exist in our public API | |
* https://github.com/mozfr/transvision/wiki/JSON-API | |
* | |
* @param boolean $swap_locales Defaults to False. If set to True, swap the | |
* values of locale and source_locale parameters. | |
* @return string URL with 'json' appended as part of the query string | |
*/ |
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
function patchy() | |
{ | |
tmp='/tmp/diff_being_sent_to_your_server' | |
$1 diff > $tmp | |
scp $tmp john@doe.com:/home/john/patches/$2.diff | |
rm $tmp | |
} |
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 | |
function isUTF8($filename) | |
{ | |
$info = finfo_open(FILEINFO_MIME_ENCODING); | |
$type = finfo_buffer($info, file_get_contents($filename)); | |
finfo_close($info); | |
return ($type == 'utf-8' || $type == 'us-ascii') ? true : 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
<?php | |
function getBugsFromCSV($csv, $full = false) | |
{ | |
$shortBugs = $fullBugs = $temp = []; | |
if (($handle = fopen($csv, 'r')) !== false) { | |
while (($data = fgetcsv($handle, 300, ',')) !== false) { | |
if ($data[0] == 'bug_id') { |
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
#!/usr/bin/env php | |
<?php | |
// Transliteration to Serbian requires ICU library >= 5.0 | |
if (php_sapi_name() != 'cli') { | |
die('Nope'); | |
} | |
$targetFolder = (isset($argv[1])) ? $argv[1] : 'sr-Latn'; // target folder |