create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| package com.pitch.common.jms_azure_jackson | |
| import com.fasterxml.jackson.core.JsonProcessingException | |
| import com.fasterxml.jackson.core.type.TypeReference | |
| import com.fasterxml.jackson.databind.ObjectMapper | |
| import java.io.Serializable | |
| import org.springframework.core.MethodParameter | |
| import org.springframework.jms.support.converter.MessageConversionException | |
| import org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver |
| /** | |
| * Enables self-configuring by loading properties from redis to be used by Spring. | |
| */ | |
| public class RedisEnvPostProcessor implements EnvironmentPostProcessor { | |
| @Override | |
| public void postProcessEnvironment( | |
| final ConfigurableEnvironment environment, final SpringApplication application) { | |
| final List<String> activeProfiles = Arrays.asList(environment.getActiveProfiles()); |
| /* Kalman Filter */ | |
| float Qvalue; | |
| long locationTimeInMillis = (long)(location.getElapsedRealtimeNanos() / 1000000); | |
| long elapsedTimeInMillis = locationTimeInMillis - runStartTimeInMillis; | |
| if(currentSpeed == 0.0f){ | |
| Qvalue = 3.0f; //3 meters per second | |
| }else{ | |
| Qvalue = currentSpeed; // meters per second |
| <?php | |
| declare(strict_types=1); | |
| interface BinarySearchComparatorInterface | |
| { | |
| public function compare($element, $needle): int; | |
| } |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| https://coderwall.com/p/uaohzg |
| http://askubuntu.com/questions/272358/extrememly-slow-dns-lookup |
| sudo add-apt-repository ppa:noobslab/themes | |
| sudo add-apt-repository ppa:satyajit-happy/themes | |
| sudo add-apt-repository ppa:numix/ppa | |
| sudo apt-get update | |
| sudo apt-get install numix-gtk-theme | |
| sudo apt-get install gnome-shell-theme-elegance-colors |
| # Office files | |
| AddType application/vnd.ms-word.document.macroEnabled.12 docm | |
| AddType application/vnd.openxmlformats-officedocument.wordprocessingml.document docx | |
| AddType application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx | |
| AddType application/vnd.ms-powerpoint.template.macroEnabled.12 potm | |
| AddType application/vnd.openxmlformats-officedocument.presentationml.template potx | |
| AddType application/vnd.ms-powerpoint.addin.macroEnabled.12 ppam | |
| AddType application/vnd.ms-powerpoint.slideshow.macroEnabled.12 ppsm | |
| AddType application/vnd.openxmlformats-officedocument.presentationml.slideshow ppsx | |
| AddType application/vnd.ms-powerpoint.presentation.macroEnabled.12 pptm |
| GRANT SELECT ON database.VIEW TO 'user'@'host'; | |
| GRANT SHOW VIEW ON database.VIEW TO 'user'@'host'; |