Using the Google maps JS API. When calling InfoWindow.open(map, marker); you may come across the following error:
Uncaught TypeError: a.lat is not a function
This is caused by setting the position property in the map options object.
Using the Google maps JS API. When calling InfoWindow.open(map, marker); you may come across the following error:
Uncaught TypeError: a.lat is not a function
This is caused by setting the position property in the map options object.
| { | |
| "rules": { | |
| "string-quotes": [2, "single"], | |
| "color-hex-case": [2, "lower"], | |
| "color-no-invalid-hex": 2, | |
| "number-leading-zero": [2, "always"], | |
| "number-no-trailing-zeros": 2, | |
| "number-zero-length-no-unit": 2, |
I have tried this on Verizon Moto E devices with and without the Android 5.1 update. I have also run this on a Windows and Mac OSX machine. I have used T-mobile(US) and EE(UK) sims.
Everytime you swap the sim with the Android 5.1 fix, you need to re-run the adb commands.
INACCESSIBLE_BOOT_DEVICE bleu screen error when booting
bcdedit /set {current} safeboot minimalDEL key)Ctrl+I on boot -> Create RAID Volume, etcbcdedit /deletevalue {current} safeboot| var spacebarKey = 32; | |
| var enterKey = 13; | |
| var checkIfActivationEvent = function(e) { | |
| if(e.type === 'click' || (e.type === 'keydown' && (e.keyCode === spacebarKey || e.keyCode === enterKey))) { | |
| return true; | |
| } | |
| return false; | |
| }; |
| var gulp = require('gulp'); | |
| var through = require('through2'); | |
| gulp.task('replace-dep', function() { | |
| var replaceDep = function() { | |
| return through.obj(function(chunk, enc, callback) { | |
| if(chunk.isBuffer()) { | |
| var contents = String(chunk.contents); |
| var Halley = require('halley'); | |
| var ClientAuthExt = require('./lib/client-auth-ext'); | |
| var config = require('./config.json'); | |
| var client = new Halley.Client('https://ws.gitter.im/bayeux'); | |
| client.addExtension(new ClientAuthExt({ | |
| token: config.token | |
| })); |
Just some personal git-foo I want to reference.
git commit --amend: Shove changes onto last commit (easy rebase if you want to add more to previous commit)git config --list: I use it to find if the clone is using https or ssh
git config remote.origin.url [email protected]: Set your project to use SSH (grab the full SSH URL from the repo page)git fetch && git diff master..origin/master --name-status: Get list of incoming changes from the remote origin.
--name-only For just namesgit filter-branch: If you want to remove some changes to some files in a branch across all commits in the feature-branch.
git filter-branch --force --tree-filter 'git checkout {some-commit-sha} -- some-file.js; {other-commands-if-you-want-like-rm-or-other-git-checkouts}' --prune-empty develop..feature/some-feature-branchgit show :/myqueryhere: search commitsCurrent version: 1.0.19 1.0.15 (as of 2018-12-10)