For some reason there is a whole thread on this seemingly simple tasks. In a bootstrapped Laravel 5.4 instance the following worked for me.
npm install font-awesome
FROM ruby:2.3.1 | |
# Install Node 6.1 | |
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash - | |
RUN apt install -y nodejs | |
# Install other Apt Dependencies | |
RUN apt update | |
RUN apt install -y libicu-dev |
<!DOCTYPE html> | |
<html xmlns:th="http://www.thymeleaf.org"> | |
<head> | |
<title>CircleCI Spring Demo</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<link rel="stylesheet" th:href="@{/webjars/bootstrap/3.3.7/css/bootstrap.min.css}" /> | |
<link rel="stylesheet" th:href="@{/css/style.css}" href="../static/css/style.css" /> | |
</head> |
package com.circleci.demojavaspring; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.context.annotation.Configuration; | |
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder; | |
import org.springframework.security.config.annotation.web.builders.HttpSecurity; | |
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter; | |
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity; | |
@Configuration |
# Please add your public key below |
- name: postgres | |
containers: | |
- source: circleci-docker | |
image_name: circleci/postgres-script-enhance | |
version: ${circleci_postgres_script_enhance} | |
name: postgres | |
volumes: | |
- host_path: /data/circle/postgres/9.5/data | |
container_path: /var/lib/postgresql/data | |
env_vars: |
import com.launchdarkly.client.LDClient; | |
import com.launchdarkly.client.LDUser; | |
import java.io.IOException; | |
public class Hello { | |
public static void main(String... args) throws IOException { | |
LDClient client = new LDClient("YOUR_SDK_TOKEN"); |
For some reason there is a whole thread on this seemingly simple tasks. In a bootstrapped Laravel 5.4 instance the following worked for me.
npm install font-awesome
def connect_db(): | |
"""Connects to Database.""" | |
rv = sqlite3.connect( | |
app.config['DATABASE'], | |
detect_types=sqlite3.PARSE_DECLTYPES | sqlite3.PARSE_COLNAMES) | |
rv.row_factory = sqlite3.Row | |
return rv | |
def get_db(): |
#cgit config | |
#=========== | |
#see cgitrc(5) for details | |
#========================= | |
css=/cgit.css | |
logo=/cgit.png | |
virtual-root=/ |
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
sub ShowFeature { | |
my ($key, $user) = @_; | |
ld_eval($key, $user); | |
}; |