create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
/** | |
* @license AngularJS | |
* (c) 2010-2012 AngularJS http://angularjs.org | |
* License: MIT | |
*/ | |
/** | |
* Backward compatibility module for AngularJS | |
* @author Vojta Jina <vojta.jina@gmail.com> | |
* |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
This guide supports Ubuntu Precise Pangolin 12.04, Ubuntu Oneiric Ocelot 11.10, Ubuntu Natty Narwhal 11.04, and Ubuntu Maverick Meerkat 10.10. Separate guides are available for Ubuntu Lucid Lynx 10.04 and Ubuntu Hardy Heron 8.04. This guide will enable several external encoding and decoding libraries: libfaac (AAC encoder), libfdk-aac (AAC encoder), libmp3lame (MP3 encoder), libopencore-amr (AMR encoder/decoder), librtmp (for additional RTMP protocols), libtheora (Theora encoder), libvorbis (Vorbis encoder), libvpx (VP8 encoder/decoder), and libx264 (H.264 encoder). These are optional and may be omitted if desired. This guide will also install many filters (see the filter list in the [Filtering Guide](https://ffmpeg.org/trac/ffmpeg/wiki/Fi
public class MyAppCtxInitializer implements ApplicationContextInitializer<ConfigurableApplicationContext> { | |
private static Logger LOG = LoggerFactory.getLogger(MyAppCtxInitializer.class); | |
@Override | |
public void initialize(ConfigurableApplicationContext applicationContext) { | |
ConfigurableEnvironment environment = applicationContext.getEnvironment(); | |
try { | |
environment.getPropertySources().addFirst(new ResourcePropertySource("classpath:env.properties")); | |
LOG.info("env.properties loaded"); |
#include <iostream> | |
#include <utility> | |
#include <typeinfo> | |
#include <type_traits> | |
#include <string> | |
template <size_t arg1, size_t ... others> | |
struct static_max; | |
template <size_t arg> |
# Copyright (c) 2014-2023 Florian Wolters | |
# MIT License | |
cmake_minimum_required(VERSION 3.26.3) | |
project( | |
"hello_boost_with_cmake" | |
VERSION 2.0.0 | |
LANGUAGES CXX) |
//Export War file from Eclipse Web Project with Gradle | |
// we need to use war plugin | |
apply plugin: 'war' | |
//default webAppDirName in gradle is not "WebContent" but | |
// it is default in eclise so change it according to eclipse layout | |
// it encapsulates all files under webAppDirName | |
webAppDirName = 'WebContent' |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
#!/bin/bash | |
##################################################### | |
# Name: Bash CheatSheet for Mac OSX | |
# | |
# A little overlook of the Bash basics | |
# | |
# Usage: | |
# | |
# Author: J. Le Coupanec | |
# Date: 2014/11/04 |
[Unit] | |
Description=Jenkins | |
After=network.target | |
Requires=network.target | |
[Service] | |
Type=simple | |
EnvironmentFile=/etc/sysconfig/jenkins | |
ExecStart=/usr/bin/java ${JENKINS_JAVA_OPTIONS} -jar /usr/lib/jenkins/jenkins.war --httpPort=${JENKINS_PORT} --httpListenAddress=${JENKINS_LISTEN_ADDRESS} ${JENKINS_ARGS} | |
Restart=always |