This file contains hidden or 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
// Update the lat/lon or altitude code like this, there are some adjustments | |
// to the servo code but the setup will all be the same. | |
// 1. Add a boolean that will be true when we are in our target | |
bool cheat = false; // This line already exists but add: | |
bool inTargetArea = false; | |
// 2. Update the target check to set the boolean | |
// Change this: | |
if (altitude > 300) { |
This file contains hidden or 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
# Run me from the root of mozilla/app-validator (requires updates from pull #27). | |
import json | |
import re | |
import subprocess | |
import sys | |
from tempfile import NamedTemporaryFile | |
from appvalidator import unicodehelper |
This file contains hidden or 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
#!/bin/sh | |
git log $1...$2 | | |
grep -o 'bug \d\d*' | | |
cut -d ' ' -f2 | | |
sort | | |
uniq | | |
ruby -e "puts 'https://bugzilla.mozilla.org/buglist.cgi?quicksearch=' + STDIN.map(&:chomp).join(',')" |
This file contains hidden or 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
"1" 7 9.750142857142857 9.77 Array [ 9.239, 9.265, 9.559, 9.77, 9.9, 9.95, 10.568 ] | |
"5" 7 7.559428571428571 7.494 Array [ 7.154, 7.293, 7.437, 7.494, 7.498, 7.98, 8.06 ] | |
"10" 7 7.130857142857144 7.098 Array [ 6.424, 6.922, 6.97, 7.098, 7.171, 7.541, 7.79 ] | |
"25" 7 7.312285714285714 7.044 Array [ 6.913, 7.02, 7.023, 7.044, 7.246, 7.354, 8.586 ] | |
"50" 7 7.268428571428571 7.326 Array [ 6.895, 6.925, 7.258, 7.326, 7.428, 7.462, 7.585 ] | |
"100" 7 6.996428571428572 7.035 Array [ 6.429, 6.602, 6.95, 7.035, 7.178, 7.275, 7.506 ] | |
--- | |
"5" Object { mean: 7.106, median: 7.316, count: 5 } |
This file contains hidden or 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
iVBORw0KGgoAAAANSUhEUgAAAUAAABEZCAYAAACBz2BbAAAgAElEQVR4nOy9bVcb2X7mnc+hj3FgZa3M+F03r5xOFuGFp1e3D+e4nfEwbmfaYya5FZM4Pjie5sa+D1ZmzGGCuyFt03GbjttMm7j9IMAYW8Y8GISMZRAGISSQQBIqoZIoSdf9op6lklQSEsLU/7fWtZYtqnbt2rX3Vfup9v6j7e1tkEgkkhH1RyAIgjAoZIAEQRgWMkCCIAwLGSBBEIaFDJAgCMNCBkgQhGE5tAYYCAQwPT2Np0+fYmhoiEQiHVI9ffoU09PTCAQCRfvEoTRAl8sFm80Gv98PjuOqHR2CICoIx3Hw+/2w2WxwuVxFnXvoDDAQCMBms2F3d7faUSEIYh/Z3d2FzWYrqiZ46Axwenoafr+/2tEgCKIK+P1+TE9P6z7+0Bng06dPqdlLEAaF4zg8ffpU9/GHzgCHhoaqHQWCIKpIMR6wrwaYTqexsLCA8fHxijVTyQAJwtgcWANcXl7Gixcv8OLFC0xMTFTkGmSABGFsDqQB+v1+yfwOmgHu7ALPvcCPC7yee/nfCIL48DhwBsgwDGw2m8oAfT5fRa5VrAH+qxP4dBC48ALotvO68IL/7V+dFYniBwkX3wHD7KBSw0uVDv/AkuKwE40gspOodkw02WV3EInsIFntiBTBgTLA3d1dTE5OqsxvcXGxYtcr5ua/cQB/eg/wx7L/5o8Bv30ItL0qT7w4dgfhUBjbkTBCoW3ssB9SFTOFLc8qVldXsRmrRFGodPhal+TAsixYlkWCS2nGKSH8nY1XzpZTsS2srq5i1bN1AE1Gfi5bMa00OpgcGANMpVKYm5tTmZ/dbkcqVbnE1Hvz3zt5g9vNE5XdFG+Qe6oJphPY9PGZKEveDUTzReDAkELIJxaE0ospF9tGwL+FnSw/KU/4xSAZz+oqVn3bSGcesLst/72C5pRig0IcgihfTuAQCW4isMXsMcz9fy7l4MAYoMvlUpnf5OQkEonKVvX13PwO |
This file contains hidden or 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
iVBORw0KGgoAAAANSUhEUgAAAUAAABEZCAYAAACBz2BbAAAgAElEQVR4nOy9bVcb2X7mnc+hj3FgZa3M+F03r5xOFuGFp1e3D+e4nfEwbmfaYya5FZM4Pjie5sa+D1ZmzGGCuyFt03GbjttMm7j9IMAYW8Y8GISMZRAGISSQQBIqoZIoSdf9op6lklQSEsLU/7fWtZYtqnbt2rX3Vfup9v6j7e1tkEgkkhH1RyAIgjAoZIAEQRgWMkCCIAwLGSBBEIaFDJAgCMNCBkgQhGE5tAYYCAQwPT2Np0+fYmhoiEQiHVI9ffoU09PTCAQCRfvEoTRAl8sFm80Gv98PjuOqHR2CICoIx3Hw+/2w2WxwuVxFnXvoDDAQCMBms2F3d7faUSEIYh/Z3d2FzWYrqiZ46Axwenoafr+/2tEgCKIK+P1+TE9P6z7+0Bng06dPqdlLEAaF4zg8ffpU9/GHzgCHhoaqHQWCIKpIMR6wrwaYTqexsLCA8fHxijVTyQAJwtgcWANcXl7Gixcv8OLFC0xMTFTkGmSABGFsDqQB+v1+yfwOmgHu7ALPvcCPC7yee/nfCIL48DhwBsgwDGw2m8oAfT5fRa5VrAH+qxP4dBC48ALotvO68IL/7V+dFYniBwkX3wHD7KBSw0uVDv/AkuKwE40gspOodkw02WV3EInsIFntiBTBgTLA3d1dTE5OqsxvcXGxYtcr5ua/cQB/eg/wx7L/5o8Bv30ItL0qT7w4dgfhUBjbkTBCoW3ssB9SFTOFLc8qVldXsRmrRFGodPhal+TAsixYlkWCS2nGKSH8nY1XzpZTsS2srq5i1bN1AE1Gfi5bMa00OpgcGANMpVKYm5tTmZ/dbkcqVbnE1Hvz3zt5g9vNE5XdFG+Qe6oJphPY9PGZKEveDUTzReDAkELIJxaE0ospF9tGwL+FnSw/KU/4xSAZz+oqVn3bSGcesLst/72C5pRig0IcgihfTuAQCW4isMXsMcz9fy7l4MAYoMvlUpnf5OQkEonKVvX13PwO |
This file contains hidden or 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
iVBORw0KGgoAAAANSUhEUgAAAUAAABEZCAYAAACBz2BbAAAgAElEQVR4nOy9bVcb2X7mnc+hj3FgZa3M+F03r5xOFuGFp1e3D+e4nfEwbmfaYya5FZM4Pjie5sa+D1ZmzGGCuyFt03GbjttMm7j9IMAYW8Y8GISMZRAGISSQQBIqoZIoSdf9op6lklQSEsLU/7fWtZYtqnbt2rX3Vfup9v6j7e1tkEgkkhH1RyAIgjAoZIAEQRgWMkCCIAwLGSBBEIaFDJAgCMNCBkgQhGE5tAYYCAQwPT2Np0+fYmhoiEQiHVI9ffoU09PTCAQCRfvEoTRAl8sFm80Gv98PjuOqHR2CICoIx3Hw+/2w2WxwuVxFnXvoDDAQCMBms2F3d7faUSEIYh/Z3d2FzWYrqiZ46Axwenoafr+/2tEgCKIK+P1+TE9P6z7+0Bng06dPqdlLEAaF4zg8ffpU9/GHzgCHhoaqHQWCIKpIMR6wrwaYTqexsLCA8fHxijVTyQAJwtgcWANcXl7Gixcv8OLFC0xMTFTkGmSABGFsDqQB+v1+yfwOmgHu7ALPvcCPC7yee/nfCIL48DhwBsgwDGw2m8oAfT5fRa5VrAH+qxP4dBC48ALotvO68IL/7V+dFYniBwkX3wHD7KBSw0uVDv/AkuKwE40gspOodkw02WV3EInsIFntiBTBgTLA3d1dTE5OqsxvcXGxYtcr5ua/cQB/eg/wx7L/5o8Bv30ItL0qT7w4dgfhUBjbkTBCoW3ssB9SFTOFLc8qVldXsRmrRFGodPhal+TAsixYlkWCS2nGKSH8nY1XzpZTsS2srq5i1bN1AE1Gfi5bMa00OpgcGANMpVKYm5tTmZ/dbkcqVbnE1Hvz3zt5g9vNE5XdFG+Qe6oJphPY9PGZKEveDUTzReDAkELIJxaE0ospF9tGwL+FnSw/KU/4xSAZz+oqVn3bSGcesLst/72C5pRig0IcgihfTuAQCW4isMXsMcz9fy7l4MAYoMvlUpnf5OQkEonKVvX13PwO |
This file contains hidden or 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
Running under SlimerJS | |
Version: 0.10.0 | |
Test file: tests/ui/app_list.js | |
# New page app list main tests | |
Starting test | |
Opening http://localhost:8675/new | |
Viewport dimensions changed to: 320x480 | |
PASS Selector is visible | |
PASS Find an element matching: .app-list-app:nth-child(23) | |
PASS Fail to find element matching selector: .app-list-app:nth-child(25) |
This file contains hidden or 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
git clone https://github.com/mozilla/fireplace | |
pushd fireplace | |
npm install | |
make install | |
cp src/media/js/settings_local_test.js src/media/js/settings_local.js | |
popd |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://code.jquery.com/jquery-2.1.0.min.js"></script> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
* { box-sizing: border-box } |
OlderNewer