type below:
brew update
brew install redis
To have launchd start redis now and restart at login:
brew services start redis
| [ | |
| { | |
| "country_code":"AW", | |
| "timezone":"America/Aruba" | |
| }, | |
| { | |
| "country_code":"AF", | |
| "timezone":"Asia/Kabul" | |
| }, | |
| { |
| valid_words = ['chair', 'racket', 'touch', 'height', 'tunic'] | |
| chain = [] | |
| def chain_words(available_words:[], current_word: str): | |
| chain.append(current_word) | |
| available_words.remove(current_word) | |
| for word in available_words: |
| if (window.navigator.geolocation) { | |
| navigator.geolocation.getCurrentPosition(function (position) { | |
| var lat = position.coords.latitude, | |
| lng = position.coords.longitude, | |
| latlng = new google.maps.LatLng(lat, lng), | |
| geocoder = new google.maps.Geocoder(); | |
| geocoder.geocode({'latLng': latlng}, function(results, status) { | |
| if (status == google.maps.GeocoderStatus.OK) { | |
| if (results[1]) { | |
| for (var i = 0; i < results.length; i++) { |
| // Goto https://m.facebook.com/friends/center/requests/outgoing/#friends_center_main | |
| javascript:var inputs = document.getElementsByClassName('_54k8 _56bs _56bt'); | |
| for(var i=0; i<inputs.length;i++) { | |
| inputs[i].click(); | |
| } |
| '''Provides utility functions for encoding and decoding linestrings using the | |
| Google encoded polyline algorithm. | |
| ''' | |
| def encode_coords(coords): | |
| '''Encodes a polyline using Google's polyline algorithm | |
| See http://code.google.com/apis/maps/documentation/polylinealgorithm.html | |
| for more information. | |
type below:
brew update
brew install redis
To have launchd start redis now and restart at login:
brew services start redis
| {"lastUpload":"2017-10-28T06:47:58.086Z","extensionVersion":"v2.8.3"} |
| #include <stdio.h> | |
| #include <string.h> | |
| typedef struct | |
| { | |
| char name[40]; | |
| int math; | |
| int bangla; | |
| int english; | |
| int total; | |
| float avarage; |
| /* ========================================================= | |
| * bootstrap-datepicker.js | |
| * http://www.eyecon.ro/bootstrap-datepicker | |
| * ========================================================= | |
| * Copyright 2012 Stefan Petre | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * |