Skip to content

Commit 165f406

Browse files
committed
Update copyright, add new jbang script
1 parent f744cf3 commit 165f406

File tree

246 files changed

+1545
-709
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

246 files changed

+1545
-709
lines changed

.editorconfig

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
################################################################################
2-
# Copyright (c) 2015-2019 Skymind, Inc.
2+
#
33
#
44
# This program and the accompanying materials are made available under the
55
# terms of the Apache License, Version 2.0 which is available at
66
# https://www.apache.org/licenses/LICENSE-2.0.
7+
See the NOTICE file distributed with this work for additional
8+
information regarding copyright ownership.
9+
See the NOTICE file distributed with this work for additional
10+
information regarding copyright ownership.
711
#
812
# Unless required by applicable law or agreed to in writing, software
913
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#
2+
#
3+
# This program and the accompanying materials are made available under the
4+
# terms of the Apache License, Version 2.0 which is available at
5+
# https://www.apache.org/licenses/LICENSE-2.0.
6+
See the NOTICE file distributed with this work for additional
7+
information regarding copyright ownership.
8+
#
9+
# See the NOTICE file distributed with this work for additional
10+
# information regarding copyright ownership.
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
# License for the specific language governing permissions and limitations
15+
# under the License.
16+
#
17+
# SPDX-License-Identifier: Apache-2.0
18+
#
19+
#
20+
#
21+

.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
################################################################################
2-
# Copyright (c) 2015-2019 Skymind, Inc.
2+
#
33
#
44
# This program and the accompanying materials are made available under the
55
# terms of the Apache License, Version 2.0 which is available at
66
# https://www.apache.org/licenses/LICENSE-2.0.
7+
See the NOTICE file distributed with this work for additional
8+
information regarding copyright ownership.
79
#
810
# Unless required by applicable law or agreed to in writing, software
911
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT

android-examples/app/build.gradle

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
/*
2+
*
3+
* This program and the accompanying materials are made available under the
4+
* terms of the Apache License, Version 2.0 which is available at
5+
* https://www.apache.org/licenses/LICENSE-2.0.
6+
See the NOTICE file distributed with this work for additional
7+
information regarding copyright ownership.
8+
*
9+
* See the NOTICE file distributed with this work for additional
10+
* information regarding copyright ownership.
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations
15+
* under the License.
16+
*
17+
* SPDX-License-Identifier: Apache-2.0
18+
*
19+
*
20+
*/
21+
122
apply plugin: 'com.android.application'
223

324
android {

android-examples/app/src/main/AndroidManifest.xml

+21
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,25 @@
11
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
~
4+
~ This program and the accompanying materials are made available under the
5+
~ terms of the Apache License, Version 2.0 which is available at
6+
~ https://www.apache.org/licenses/LICENSE-2.0.
7+
See the NOTICE file distributed with this work for additional
8+
information regarding copyright ownership.
9+
~
10+
~ See the NOTICE file distributed with this work for additional
11+
~ information regarding copyright ownership.
12+
~ Unless required by applicable law or agreed to in writing, software
13+
~ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14+
~ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15+
~ License for the specific language governing permissions and limitations
16+
~ under the License.
17+
~
18+
~ SPDX-License-Identifier: Apache-2.0
19+
~
20+
~
21+
-->
22+
223
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
324
package="com.example.androidclassifier">
425

android-examples/app/src/main/res/layout/activity_main.xml

+21
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,25 @@
11
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
~
4+
~ This program and the accompanying materials are made available under the
5+
~ terms of the Apache License, Version 2.0 which is available at
6+
~ https://www.apache.org/licenses/LICENSE-2.0.
7+
See the NOTICE file distributed with this work for additional
8+
information regarding copyright ownership.
9+
~
10+
~ See the NOTICE file distributed with this work for additional
11+
~ information regarding copyright ownership.
12+
~ Unless required by applicable law or agreed to in writing, software
13+
~ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14+
~ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15+
~ License for the specific language governing permissions and limitations
16+
~ under the License.
17+
~
18+
~ SPDX-License-Identifier: Apache-2.0
19+
~
20+
~
21+
-->
22+
223
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
324
xmlns:app="http://schemas.android.com/apk/res-auto"
425
xmlns:tools="http://schemas.android.com/tools"

android-examples/app/src/main/res/menu/menu_main.xml

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
<!--
2+
~
3+
~ This program and the accompanying materials are made available under the
4+
~ terms of the Apache License, Version 2.0 which is available at
5+
~ https://www.apache.org/licenses/LICENSE-2.0.
6+
See the NOTICE file distributed with this work for additional
7+
information regarding copyright ownership.
8+
~
9+
~ See the NOTICE file distributed with this work for additional
10+
~ information regarding copyright ownership.
11+
~ Unless required by applicable law or agreed to in writing, software
12+
~ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
~ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
~ License for the specific language governing permissions and limitations
15+
~ under the License.
16+
~
17+
~ SPDX-License-Identifier: Apache-2.0
18+
~
19+
~
20+
-->
21+
122
<menu xmlns:android="http://schemas.android.com/apk/res/android"
223
xmlns:app="http://schemas.android.com/apk/res-auto">
324
<item
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,23 @@
11
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
~
4+
~ This program and the accompanying materials are made available under the
5+
~ terms of the Apache License, Version 2.0 which is available at
6+
~ https://www.apache.org/licenses/LICENSE-2.0.
7+
See the NOTICE file distributed with this work for additional
8+
information regarding copyright ownership.
9+
~
10+
~ See the NOTICE file distributed with this work for additional
11+
~ information regarding copyright ownership.
12+
~ Unless required by applicable law or agreed to in writing, software
13+
~ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14+
~ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15+
~ License for the specific language governing permissions and limitations
16+
~ under the License.
17+
~
18+
~ SPDX-License-Identifier: Apache-2.0
19+
~
20+
~
21+
-->
22+
223
<resources />

android-examples/app/src/main/res/values/strings.xml

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
<!--
2+
~
3+
~ This program and the accompanying materials are made available under the
4+
~ terms of the Apache License, Version 2.0 which is available at
5+
~ https://www.apache.org/licenses/LICENSE-2.0.
6+
See the NOTICE file distributed with this work for additional
7+
information regarding copyright ownership.
8+
~
9+
~ See the NOTICE file distributed with this work for additional
10+
~ information regarding copyright ownership.
11+
~ Unless required by applicable law or agreed to in writing, software
12+
~ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
~ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
~ License for the specific language governing permissions and limitations
15+
~ under the License.
16+
~
17+
~ SPDX-License-Identifier: Apache-2.0
18+
~
19+
~
20+
-->
21+
122
<resources>
223
<string name="app_name">Android DL4j classifier</string>
324
<string name="action_linear">Linear</string>

android-examples/app/src/main/res/values/styles.xml

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
<!--
2+
~
3+
~ This program and the accompanying materials are made available under the
4+
~ terms of the Apache License, Version 2.0 which is available at
5+
~ https://www.apache.org/licenses/LICENSE-2.0.
6+
See the NOTICE file distributed with this work for additional
7+
information regarding copyright ownership.
8+
~
9+
~ See the NOTICE file distributed with this work for additional
10+
~ information regarding copyright ownership.
11+
~ Unless required by applicable law or agreed to in writing, software
12+
~ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
~ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
~ License for the specific language governing permissions and limitations
15+
~ under the License.
16+
~
17+
~ SPDX-License-Identifier: Apache-2.0
18+
~
19+
~
20+
-->
21+
122
<resources>
223

324
<!-- Base application theme. -->
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,25 @@
11
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
~
4+
~ This program and the accompanying materials are made available under the
5+
~ terms of the Apache License, Version 2.0 which is available at
6+
~ https://www.apache.org/licenses/LICENSE-2.0.
7+
See the NOTICE file distributed with this work for additional
8+
information regarding copyright ownership.
9+
~
10+
~ See the NOTICE file distributed with this work for additional
11+
~ information regarding copyright ownership.
12+
~ Unless required by applicable law or agreed to in writing, software
13+
~ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14+
~ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15+
~ License for the specific language governing permissions and limitations
16+
~ under the License.
17+
~
18+
~ SPDX-License-Identifier: Apache-2.0
19+
~
20+
~
21+
-->
22+
223
<full-backup-content>
324
<!-- Exclude specific shared preferences that contain GCM registration Id -->
425
</full-backup-content>

android-examples/build.gradle

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
/*
2+
*
3+
* This program and the accompanying materials are made available under the
4+
* terms of the Apache License, Version 2.0 which is available at
5+
* https://www.apache.org/licenses/LICENSE-2.0.
6+
See the NOTICE file distributed with this work for additional
7+
information regarding copyright ownership.
8+
*
9+
* See the NOTICE file distributed with this work for additional
10+
* information regarding copyright ownership.
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations
15+
* under the License.
16+
*
17+
* SPDX-License-Identifier: Apache-2.0
18+
*
19+
*
20+
*/
21+
122
// Top-level build file where you can add configuration options common to all sub-projects/modules.
223

324
buildscript {

android-examples/gradle.properties

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
#
2+
#
3+
# This program and the accompanying materials are made available under the
4+
# terms of the Apache License, Version 2.0 which is available at
5+
# https://www.apache.org/licenses/LICENSE-2.0.
6+
See the NOTICE file distributed with this work for additional
7+
information regarding copyright ownership.
8+
#
9+
# See the NOTICE file distributed with this work for additional
10+
# information regarding copyright ownership.
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
# License for the specific language governing permissions and limitations
15+
# under the License.
16+
#
17+
# SPDX-License-Identifier: Apache-2.0
18+
#
19+
#
20+
#
21+
122
# Project-wide Gradle settings.
223
# IDE (e.g. Android Studio) users:
324
# Gradle settings configured through the IDE *will override*

android-examples/gradle/wrapper/gradle-wrapper.properties

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
#
2+
#
3+
# This program and the accompanying materials are made available under the
4+
# terms of the Apache License, Version 2.0 which is available at
5+
# https://www.apache.org/licenses/LICENSE-2.0.
6+
See the NOTICE file distributed with this work for additional
7+
information regarding copyright ownership.
8+
#
9+
# See the NOTICE file distributed with this work for additional
10+
# information regarding copyright ownership.
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
# License for the specific language governing permissions and limitations
15+
# under the License.
16+
#
17+
# SPDX-License-Identifier: Apache-2.0
18+
#
19+
#
20+
#
21+
122
#Sun Jun 07 20:18:50 CEST 2020
223
distributionBase=GRADLE_USER_HOME
324
distributionPath=wrapper/dists

android-examples/gradlew

+21
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
#!/usr/bin/env sh
22

3+
#
4+
#
5+
# This program and the accompanying materials are made available under the
6+
# terms of the Apache License, Version 2.0 which is available at
7+
# https://www.apache.org/licenses/LICENSE-2.0.
8+
See the NOTICE file distributed with this work for additional
9+
information regarding copyright ownership.
10+
#
11+
# See the NOTICE file distributed with this work for additional
12+
# information regarding copyright ownership.
13+
# Unless required by applicable law or agreed to in writing, software
14+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
16+
# License for the specific language governing permissions and limitations
17+
# under the License.
18+
#
19+
# SPDX-License-Identifier: Apache-2.0
20+
#
21+
#
22+
#
23+
324
##############################################################################
425
##
526
## Gradle start up script for UN*X

android-examples/settings.gradle

+21
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,23 @@
1+
/*
2+
*
3+
* This program and the accompanying materials are made available under the
4+
* terms of the Apache License, Version 2.0 which is available at
5+
* https://www.apache.org/licenses/LICENSE-2.0.
6+
See the NOTICE file distributed with this work for additional
7+
information regarding copyright ownership.
8+
*
9+
* See the NOTICE file distributed with this work for additional
10+
* information regarding copyright ownership.
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations
15+
* under the License.
16+
*
17+
* SPDX-License-Identifier: Apache-2.0
18+
*
19+
*
20+
*/
21+
122
rootProject.name='AndroidImageExperiment'
223
include ':app'

0 commit comments

Comments
 (0)