text
stringlengths
9
39.2M
dir
stringlengths
25
226
lang
stringclasses
163 values
created_date
timestamp[s]
updated_date
timestamp[s]
repo_name
stringclasses
751 values
repo_full_name
stringclasses
752 values
star
int64
1.01k
183k
len_tokens
int64
1
18.5M
```javascript console.log('It works!') ```
/content/code_sandbox/part1/example2/src/index.js
javascript
2016-02-03T19:46:42
2024-08-12T10:51:48
WebpackTutorial
AriaFallah/WebpackTutorial
2,231
7
```css h1 { color: rgb(114, 191, 190); text-align: center; } #color { width: 300px; height: 300px; margin: 0 auto; } button { cursor: pointer; display: block; width: 100px; outline: 0; border: 0; margin: 20px auto; } ```
/content/code_sandbox/part1/example6/src/styles.css
css
2016-02-03T19:46:42
2024-08-12T10:51:48
WebpackTutorial
AriaFallah/WebpackTutorial
2,231
89
```html <html> <head> <title>Webpack Tutorial</title> </head> <body> <h1>Very Website</h1> <section id="color"></section> <button id="button">Such Button</button> </body> </html> ```
/content/code_sandbox/part1/example6/src/index.html
html
2016-02-03T19:46:42
2024-08-12T10:51:48
WebpackTutorial
AriaFallah/WebpackTutorial
2,231
58
```javascript console.log('It works!') ```
/content/code_sandbox/part1/example4/src/index.js
javascript
2016-02-03T19:46:42
2024-08-12T10:51:48
WebpackTutorial
AriaFallah/WebpackTutorial
2,231
7
```css ```
/content/code_sandbox/part1/example4/src/styles.css
css
2016-02-03T19:46:42
2024-08-12T10:51:48
WebpackTutorial
AriaFallah/WebpackTutorial
2,231
1
```javascript var path = require('path') var webpack = require('webpack') module.exports = { entry: ['./src/index'], // .js after index is optional output: { path: path.join(__dirname, 'dist'), filename: 'bundle.js' }, plugins: [ new webpack.optimize.UglifyJsPlugin({ compressor: { war...
/content/code_sandbox/part1/example4/webpack.config.js
javascript
2016-02-03T19:46:42
2024-08-12T10:51:48
WebpackTutorial
AriaFallah/WebpackTutorial
2,231
125
```html ```
/content/code_sandbox/part1/example4/src/index.html
html
2016-02-03T19:46:42
2024-08-12T10:51:48
WebpackTutorial
AriaFallah/WebpackTutorial
2,231
1
```batchfile @if "%DEBUG%" == "" @echo off @rem ########################################################################## @rem @rem Gradle startup script for Windows @rem @rem ########################################################################## @rem Set local scope for the variables with windows NT shell if "%...
/content/code_sandbox/gradlew.bat
batchfile
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
632
```ini # Project-wide Gradle settings. # IDE (e.g. Android Studio) users: # Gradle settings configured through the IDE *will override* # any settings specified in this file. # For more details on how to configure your build environment visit # path_to_url # Specifies the JVM arguments used for the daemon process. # ...
/content/code_sandbox/gradle.properties
ini
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
248
```ini #Sat Feb 29 21:31:16 IST 2020 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip ```
/content/code_sandbox/gradle/wrapper/gradle-wrapper.properties
ini
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
73
```qmake # Add project specific ProGuard rules here. # By default, the flags in this file are appended to flags specified # in /Users/ashokvarma/Library/Android/sdk/tools/proguard/proguard-android.txt # You can edit the include path and order by changing the proguardFiles # directive in build.gradle. # # For more detai...
/content/code_sandbox/bottom-navigation-bar/proguard-rules.pro
qmake
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
143
```gradle apply plugin: 'com.jfrog.bintray' // from path_to_url version = libraryVersion if (project.hasProperty("android")) { // Android libraries task sourcesJar(type: Jar) { classifier = 'sources' from android.sourceSets.main.java.srcDirs } task javadoc(type: Javadoc) { source ...
/content/code_sandbox/bottom-navigation-bar/bintray_lib.gradle
gradle
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
498
```gradle apply plugin: 'com.github.dcendents.android-maven' // from path_to_url group = publishedGroupId // Maven Group ID for the artifact install { repositories.mavenInstaller { // This generates POM.xml with proper parameters pom { project { ...
/content/code_sandbox/bottom-navigation-bar/install_lib.gradle
gradle
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
173
```unknown #!/usr/bin/env bash ############################################################################## ## ## Gradle start up script for UN*X ## ############################################################################## # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM ...
/content/code_sandbox/gradlew
unknown
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
1,524
```xml <?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="path_to_url" android:id="@+id/shifting_bottom_navigation_container" android:focusable="true" android:layout_width="match_parent" android:layout_height="@dimen/shifting_height" android:background="?selectableItemBackgroundBorde...
/content/code_sandbox/bottom-navigation-bar/src/main/res/layout/shifting_bottom_navigation_item.xml
xml
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
460
```xml <manifest xmlns:android="path_to_url" package="com.ashokvarma.bottomnavigation"> <application android:supportsRtl="true" /> </manifest> ```
/content/code_sandbox/bottom-navigation-bar/src/main/AndroidManifest.xml
xml
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
39
```xml <?xml version="1.0" encoding="utf-8"?> <!--<FrameLayout xmlns:android="path_to_url"--> <!--android:layout_width="match_parent"--> <!--android:layout_height="@dimen/bottom_navigation_padded_height">--> <FrameLayout xmlns:android="path_to_url" android:id="@+id/bottom_navigation_bar_container" ...
/content/code_sandbox/bottom-navigation-bar/src/main/res/layout/bottom_navigation_bar_container.xml
xml
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
209
```xml <?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="path_to_url" android:id="@+id/fixed_bottom_navigation_container" android:focusable="true" android:layout_width="match_parent" android:layout_height="@dimen/fixed_height" android:background="?selectableItemBackgroundBorderless"...
/content/code_sandbox/bottom-navigation-bar/src/main/res/layout/fixed_bottom_navigation_item.xml
xml
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
467
```xml <?xml version="1.0" encoding="utf-8"?> <resources> <style name="BadgeText" parent="TextAppearance.AppCompat.Body2"> <item name="android:textSize">@dimen/badge_text_size</item> <item name="android:includeFontPadding">false</item> <item name="android:maxLines">1</item> <item na...
/content/code_sandbox/bottom-navigation-bar/src/main/res/values/styles.xml
xml
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
197
```xml <?xml version="1.0" encoding="utf-8"?> <resources> <string name="icon">icon</string> </resources> ```
/content/code_sandbox/bottom-navigation-bar/src/main/res/values/strings.xml
xml
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
32
```xml <?xml version="1.0" encoding="utf-8"?> <resources> <declare-styleable name="BottomNavigationBar"> <attr name="bnbElevation" format="dimension" /> <attr name="bnbActiveColor" format="color" /> <attr name="bnbInactiveColor" format="color" /> <attr name="bnbBackgroundColor" forma...
/content/code_sandbox/bottom-navigation-bar/src/main/res/values/attrs.xml
xml
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
268
```xml <?xml version="1.0" encoding="utf-8"?> <resources> <dimen name="fixed_min_width">120dp</dimen> <dimen name="fixed_min_width_small_views">104dp</dimen> <dimen name="fixed_max_width">168dp</dimen> <dimen name="fixed_width_padding">12dp</dimen> <dimen name="fixed_height">56dp</dimen> <dimen...
/content/code_sandbox/bottom-navigation-bar/src/main/res/values/dimens.xml
xml
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
1,009
```java package com.ashokvarma.bottomnavigation; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.ObjectAnimator; import android.content.Context; import android.graphics.drawable.Drawable; import android.os.Build; import android.view.View; import android.vie...
/content/code_sandbox/bottom-navigation-bar/src/main/java/com/ashokvarma/bottomnavigation/BottomNavigationHelper.java
java
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
1,602
```java package com.ashokvarma.bottomnavigation; import android.annotation.SuppressLint; import android.content.Context; import android.graphics.Canvas; import android.util.AttributeSet; import androidx.appcompat.widget.AppCompatTextView; /** * Class description * * @author ashokvarma * @version 1.0 * @since 23...
/content/code_sandbox/bottom-navigation-bar/src/main/java/com/ashokvarma/bottomnavigation/BadgeTextView.java
java
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
789
```java package com.ashokvarma.bottomnavigation; import android.animation.ValueAnimator; import android.annotation.TargetApi; import android.content.Context; import android.content.res.ColorStateList; import android.graphics.drawable.Drawable; import android.graphics.drawable.StateListDrawable; import android.os.Build...
/content/code_sandbox/bottom-navigation-bar/src/main/java/com/ashokvarma/bottomnavigation/BottomNavigationTab.java
java
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
1,500
```java package com.ashokvarma.bottomnavigation; import android.view.Gravity; import android.view.View; import android.widget.FrameLayout; import android.widget.TextView; import androidx.core.view.ViewCompat; import androidx.core.view.ViewPropertyAnimatorCompat; import androidx.core.view.ViewPropertyAnimatorListener;...
/content/code_sandbox/bottom-navigation-bar/src/main/java/com/ashokvarma/bottomnavigation/BadgeItem.java
java
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
1,638
```java package com.ashokvarma.bottomnavigation; import android.annotation.TargetApi; import android.content.Context; import android.os.Build; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import android.widget.FrameLayout; /** * Class description * * @author ashok...
/content/code_sandbox/bottom-navigation-bar/src/main/java/com/ashokvarma/bottomnavigation/FixedBottomNavigationTab.java
java
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
671
```java package com.ashokvarma.bottomnavigation; import android.content.Context; import android.graphics.Color; import android.graphics.drawable.GradientDrawable; import android.text.TextUtils; import android.widget.TextView; import androidx.annotation.ColorRes; import androidx.annotation.Nullable; import androidx.co...
/content/code_sandbox/bottom-navigation-bar/src/main/java/com/ashokvarma/bottomnavigation/TextBadgeItem.java
java
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
1,653
```java package com.ashokvarma.bottomnavigation; import android.annotation.TargetApi; import android.content.Context; import android.os.Build; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import android.view.animation.Animation; import android.view.animation.Transform...
/content/code_sandbox/bottom-navigation-bar/src/main/java/com/ashokvarma/bottomnavigation/ShiftingBottomNavigationTab.java
java
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
809
```java package com.ashokvarma.bottomnavigation; import android.annotation.TargetApi; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Color; import android.os.Build; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import and...
/content/code_sandbox/bottom-navigation-bar/src/main/java/com/ashokvarma/bottomnavigation/BottomNavigationBar.java
java
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
5,590
```java package com.ashokvarma.bottomnavigation; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Path; import android.graphics.RectF; import android.text.TextUtils; import android.view.ViewGroup; import androidx.anno...
/content/code_sandbox/bottom-navigation-bar/src/main/java/com/ashokvarma/bottomnavigation/ShapeBadgeItem.java
java
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
2,757
```java package com.ashokvarma.bottomnavigation.behaviour; import android.view.View; import android.view.animation.Interpolator; import androidx.coordinatorlayout.widget.CoordinatorLayout; import androidx.core.view.ViewCompat; import androidx.core.view.ViewPropertyAnimatorCompat; import androidx.interpolator.view.ani...
/content/code_sandbox/bottom-navigation-bar/src/main/java/com/ashokvarma/bottomnavigation/behaviour/BottomNavBarFabBehaviour.java
java
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
1,254
```java package com.ashokvarma.bottomnavigation; import android.content.Context; import android.graphics.Color; import android.graphics.drawable.Drawable; import android.text.TextUtils; import androidx.annotation.ColorRes; import androidx.annotation.DrawableRes; import androidx.annotation.NonNull; import androidx.ann...
/content/code_sandbox/bottom-navigation-bar/src/main/java/com/ashokvarma/bottomnavigation/BottomNavigationItem.java
java
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
1,753
```java package com.ashokvarma.bottomnavigation.behaviour; import android.view.View; import android.view.animation.Interpolator; import androidx.coordinatorlayout.widget.CoordinatorLayout; import androidx.core.view.ViewCompat; import androidx.interpolator.view.animation.FastOutSlowInInterpolator; import com.ashokva...
/content/code_sandbox/bottom-navigation-bar/src/main/java/com/ashokvarma/bottomnavigation/behaviour/BottomVerticalScrollBehavior.java
java
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
1,061
```java package com.ashokvarma.bottomnavigation.utils; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Color; import android.graphics.Point; import android.util.TypedValue; import android.view.WindowManager; /** * Class description : These are common utils and can be us...
/content/code_sandbox/bottom-navigation-bar/src/main/java/com/ashokvarma/bottomnavigation/utils/Utils.java
java
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
394
```qmake # Add project specific ProGuard rules here. # By default, the flags in this file are appended to flags specified # in /Users/ashokvarma/Library/Android/sdk/tools/proguard/proguard-android.txt # You can edit the include path and order by changing the proguardFiles # directive in build.gradle. # # For more detai...
/content/code_sandbox/sample/proguard-rules.pro
qmake
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
143
```xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="path_to_url" package="com.ashokvarma.bottomnavigation.sample"> <uses-permission android:name="android.permission.INTERNET" /> <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:la...
/content/code_sandbox/sample/src/main/AndroidManifest.xml
xml
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
249
```xml <?xml version="1.0" encoding="utf-8"?> <TextView xmlns:android="path_to_url" android:id="@+id/tf_textview" android:layout_width="match_parent" android:layout_height="wrap_content" android:padding="16dp" android:textSize="16sp" /> ```
/content/code_sandbox/sample/src/main/res/layout/fragment_text.xml
xml
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
70
```xml <?xml version="1.0" encoding="utf-8"?> <android.support.design.widget.CoordinatorLayout xmlns:android="path_to_url" xmlns:tools="path_to_url" android:layout_width="match_parent" android:layout_height="match_parent" android:background="#ececec" tools:context=".HomeActivity"> <android.supp...
/content/code_sandbox/sample/src/main/res/layout/activity_home.xml
xml
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
977
```java package com.ashokvarma.bottomnavigation.behaviour; import android.content.Context; import android.util.AttributeSet; import android.view.View; import androidx.annotation.IntDef; import androidx.annotation.NonNull; import androidx.coordinatorlayout.widget.CoordinatorLayout; import java.lang.annotation.Retent...
/content/code_sandbox/bottom-navigation-bar/src/main/java/com/ashokvarma/bottomnavigation/behaviour/VerticalScrollingBehavior.java
java
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
2,199
```xml <resources> <!-- Base application theme. --> <style name="AppTheme" parent="Theme.AppCompat.DayNight.DarkActionBar"> <!-- Customize your theme here. --> <item name="colorPrimary">@color/colorPrimary</item> <item name="colorPrimaryDark">@color/colorPrimaryDark</item> <item...
/content/code_sandbox/sample/src/main/res/values/styles.xml
xml
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
88
```xml <resources> <!-- Default screen margins, per the Android Design guidelines. --> <dimen name="activity_horizontal_margin">16dp</dimen> <dimen name="activity_vertical_margin">16dp</dimen> </resources> ```
/content/code_sandbox/sample/src/main/res/values/dimens.xml
xml
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
52
```xml <?xml version="1.0" encoding="utf-8"?> <resources> <color name="colorPrimary">#3F51B5</color> <color name="colorPrimaryDark">#303F9F</color> <color name="colorAccent">#FF4081</color> <color name="white">#FFFFFF</color> <color name="teal">#00796B</color> <color name="brown">#8D6E63</color...
/content/code_sandbox/sample/src/main/res/values/colors.xml
xml
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
149
```xml <resources> <!-- Example customization of dimensions originally defined in res/values/dimens.xml (such as screen margins) for screens with more than 820dp of available width. This would include 7" and 10" devices in landscape (~960dp and ~1280dp respectively). --> <dimen name="activity_...
/content/code_sandbox/sample/src/main/res/values-w820dp/dimens.xml
xml
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
83
```xml <?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="path_to_url" xmlns:app="path_to_url"> <item android:id="@+id/menu_github" android:title="@string/github_link" android:icon="@drawable/ic_github_circle_white_24dp" app:showAsAction="ifRoom" /> </menu> ```
/content/code_sandbox/sample/src/main/res/menu/home_menu.xml
xml
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
85
```xml <resources> <string name="app_name">Bottom Nav Bar</string> <string name="para1">1. Moon\n\nThe Moon is a barren, rocky world without air and water. It has dark lava plain on its surface. The Moon is filled wit craters. It has no light of its own. It gets its light from the Sun. The Moo keeps changing i...
/content/code_sandbox/sample/src/main/res/values/strings.xml
xml
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
4,586
```kotlin package com.ashokvarma.bottomnavigation.sample import android.content.Intent import android.net.Uri import android.os.Bundle import android.os.Parcel import android.os.Parcelable import android.view.Gravity import android.view.Menu import android.view.MenuItem import android.view.View import android.widget.*...
/content/code_sandbox/sample/src/main/java/com/ashokvarma/bottomnavigation/sample/HomeActivity.kt
kotlin
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
2,285
```java package com.ashokvarma.bottomnavigation.sample; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.Gravity; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import android.view.View; import android.widget.AdapterView; im...
/content/code_sandbox/sample/src/main/java/com/ashokvarma/bottomnavigation/sample/HomeActivityJava.java
java
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
2,308
```kotlin package com.ashokvarma.bottomnavigation.sample import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.TextView import androidx.fragment.app.Fragment /** * Class description * @author ashokvarma * * * @version 1.0 * * * ...
/content/code_sandbox/sample/src/main/java/com/ashokvarma/bottomnavigation/sample/TextFragment.kt
kotlin
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
240
```java package com.ashokvarma.sample; import android.support.test.rule.ActivityTestRule; import com.ashokvarma.bottomnavigation.sample.HomeActivity; import com.ashokvarma.bottomnavigation.sample.R; import org.junit.Rule; import org.junit.Test; import static android.support.test.espresso.Espresso.onView; import sta...
/content/code_sandbox/sample/src/androidTest/java/com/ashokvarma/sample/HomeScreenTest.java
java
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
285
```java package com.ashokvarma.sample; import android.view.View; import androidx.test.espresso.PerformException; import androidx.test.espresso.UiController; import androidx.test.espresso.ViewAction; import androidx.test.espresso.action.CoordinatesProvider; import androidx.test.espresso.action.GeneralLocation; import ...
/content/code_sandbox/sample/src/androidTest/java/com/ashokvarma/sample/Utils.java
java
2016-03-19T19:19:30
2024-08-15T10:59:01
BottomNavigation
Ashok-Varma/BottomNavigation
4,353
1,208
```ini [mypy] ignore_missing_imports = True ```
/content/code_sandbox/mypy.ini
ini
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
10
```python import conftest # Add root path to sys.path from PathPlanning.VisibilityRoadMap import visibility_road_map as m def test1(): m.show_animation = False m.main() if __name__ == '__main__': conftest.run_this_test(__file__) ```
/content/code_sandbox/tests/test_voronoi_road_map_planner.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
61
```python ```
/content/code_sandbox/__init__.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
1
```python import conftest from PathPlanning.BugPlanning import bug as m def test_1(): m.show_animation = False m.main(bug_0=True, bug_1=True, bug_2=True) if __name__ == '__main__': conftest.run_this_test(__file__) ```
/content/code_sandbox/tests/test_bug.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
66
```python import conftest import numpy as np from PathPlanning.DynamicWindowApproach import dynamic_window_approach as m def test_main1(): m.show_animation = False m.main(gx=1.0, gy=1.0) def test_main2(): m.show_animation = False m.main(gx=1.0, gy=1.0, robot_type=m.RobotType.rectangle) def test_s...
/content/code_sandbox/tests/test_dynamic_window_approach.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
409
```toml line-length = 88 select = ["F", "E", "W", "UP"] ignore = ["E501", "E741", "E402"] exclude = [ ] # Assume Python 3.11 target-version = "py312" [per-file-ignores] [mccabe] # Unlike Flake8, default to a complexity level of 10. max-complexity = 10 [pydocstyle] convention = "numpy" ```
/content/code_sandbox/ruff.toml
toml
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
98
```python import conftest from Localization.cubature_kalman_filter import cubature_kalman_filter as m def test1(): m.show_final = False m.show_animation = False m.show_ellipse = False m.main() if __name__ == '__main__': conftest.run_this_test(__file__) ```
/content/code_sandbox/tests/test_cubature_kalman_filter.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
73
```python import conftest # Add root path to sys.path from PathPlanning.LQRPlanner import lqr_planner as m def test_1(): m.SHOW_ANIMATION = False m.main() if __name__ == '__main__': conftest.run_this_test(__file__) ```
/content/code_sandbox/tests/test_LQR_planner.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
65
```python import conftest # Add root path to sys.path from PathPlanning.QuinticPolynomialsPlanner import quintic_polynomials_planner as m def test1(): m.show_animation = False m.main() if __name__ == '__main__': conftest.run_this_test(__file__) ```
/content/code_sandbox/tests/test_quintic_polynomials_planner.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
67
```python import conftest # Add root path to sys.path import os import matplotlib.pyplot as plt from PathPlanning.WavefrontCPP import wavefront_coverage_path_planner wavefront_coverage_path_planner.do_animation = False def wavefront_cpp(img, start, goal): num_free = 0 for i in range(img.shape[0]): f...
/content/code_sandbox/tests/test_wavefront_coverage_path_planner.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
501
```python import conftest from PathTracking.cgmres_nmpc import cgmres_nmpc as m def test1(): m.show_animation = False m.main() if __name__ == '__main__': conftest.run_this_test(__file__) ```
/content/code_sandbox/tests/test_cgmres_nmpc.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
58
```python import conftest # Add root path to sys.path from ArmNavigation.two_joint_arm_to_point_control \ import two_joint_arm_to_point_control as m def test1(): m.show_animation = False m.animation() if __name__ == '__main__': conftest.run_this_test(__file__) ```
/content/code_sandbox/tests/test_two_joint_arm_to_point_control.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
68
```python import conftest # Add root path to sys.path from Localization.unscented_kalman_filter import unscented_kalman_filter as m def test1(): m.show_animation = False m.main() if __name__ == '__main__': conftest.run_this_test(__file__) ```
/content/code_sandbox/tests/test_unscented_kalman_filter.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
68
```python import conftest # Add root path to sys.path from Control.move_to_pose import move_to_pose as m def test_1(): m.show_animation = False m.main() def test_2(): """ This unit test tests the move_to_pose.py program for a MAX_LINEAR_SPEED and MAX_ANGULAR_SPEED """ m.show_animation =...
/content/code_sandbox/tests/test_move_to_pose.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
125
```python import conftest # Add root path to sys.path from PathPlanning.RRTStar import rrt_star as m def test1(): m.show_animation = False m.main() def test_no_obstacle(): obstacle_list = [] # Set Initial parameters rrt_star = m.RRTStar(start=[0, 0], goal=[6, 10], ...
/content/code_sandbox/tests/test_rrt_star.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
225
```python import conftest from PathPlanning.BreadthFirstSearch import breadth_first_search as m def test_1(): m.show_animation = False m.main() if __name__ == '__main__': conftest.run_this_test(__file__) ```
/content/code_sandbox/tests/test_breadth_first_search.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
55
```python import conftest from Control.inverted_pendulum import inverted_pendulum_lqr_control as m def test_1(): m.show_animation = False m.main() if __name__ == '__main__': conftest.run_this_test(__file__) ```
/content/code_sandbox/tests/test_inverted_pendulum_lqr_control.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
58
```yaml os: Visual Studio 2022 environment: global: # SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the # /E:ON and /V:ON options are not enabled in the batch script intepreter # See: path_to_url CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\appveyor\\run_with_env.cmd" matrix: - PYTHON_DIR...
/content/code_sandbox/appveyor.yml
yaml
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
525
```python import conftest from PathPlanning.DStarLite import d_star_lite as m def test_1(): m.show_animation = False m.main() if __name__ == '__main__': conftest.run_this_test(__file__) ```
/content/code_sandbox/tests/test_d_star_lite.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
53
```python import conftest # Add root path to sys.path from ArmNavigation.rrt_star_seven_joint_arm_control \ import rrt_star_seven_joint_arm_control as m def test1(): m.show_animation = False m.main() if __name__ == '__main__': conftest.run_this_test(__file__) ```
/content/code_sandbox/tests/test_rrt_star_seven_joint_arm.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
73
```python import conftest # Add root path to sys.path from Localization.particle_filter import particle_filter as m def test_1(): m.show_animation = False m.main() if __name__ == '__main__': conftest.run_this_test(__file__) ```
/content/code_sandbox/tests/test_particle_filter.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
59
```python import conftest from AerialNavigation.drone_3d_trajectory_following \ import drone_3d_trajectory_following as m def test1(): m.show_animation = False m.main() if __name__ == '__main__': conftest.run_this_test(__file__) ```
/content/code_sandbox/tests/test_drone_3d_trajectory_following.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
64
```python import conftest from PathPlanning.GridBasedSweepCPP \ import grid_based_sweep_coverage_path_planner grid_based_sweep_coverage_path_planner.do_animation = False RIGHT = grid_based_sweep_coverage_path_planner. \ SweepSearcher.MovingDirection.RIGHT LEFT = grid_based_sweep_coverage_path_planner. \ Sw...
/content/code_sandbox/tests/test_grid_based_sweep_coverage_path_planner.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
943
```python import os import subprocess import conftest SUBPACKAGE_LIST = [ "AerialNavigation", "ArmNavigation", "Bipedal", "Control", "Localization", "Mapping", "PathPlanning", "PathTracking", "SLAM", ] def run_mypy(dir_name, project_path, config_path): res = subprocess.run( ...
/content/code_sandbox/tests/test_mypy_type_check.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
259
```python import conftest # Add root path to sys.path from PathTracking.stanley_controller import stanley_controller as m def test1(): m.show_animation = False m.main() if __name__ == '__main__': conftest.run_this_test(__file__) ```
/content/code_sandbox/tests/test_stanley_controller.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
61
```python import conftest from PathPlanning.FrenetOptimalTrajectory import frenet_optimal_trajectory as m def test1(): m.show_animation = False m.SIM_LOOP = 5 m.main() if __name__ == '__main__': conftest.run_this_test(__file__) ```
/content/code_sandbox/tests/test_frenet_optimal_trajectory.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
67
```shell #!/usr/bin/env bash echo "Run test suites! " # === pytest based test runner === # -Werror: warning as error # --durations=0: show ranking of test durations # -l (--showlocals); show local variables when test failed pytest tests -l -Werror --durations=0 ```
/content/code_sandbox/runtests.sh
shell
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
71
```python import conftest # Add root path to sys.path from PathTracking.pure_pursuit import pure_pursuit as m def test1(): m.show_animation = False m.main() if __name__ == '__main__': conftest.run_this_test(__file__) ```
/content/code_sandbox/tests/test_pure_pursuit.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
63
```python import conftest # Add root path to sys.path from PathPlanning.RRT import rrt_with_sobol_sampler as m import random random.seed(12345) def test1(): m.show_animation = False m.main(gx=1.0, gy=1.0) if __name__ == '__main__': conftest.run_this_test(__file__) ```
/content/code_sandbox/tests/test_rrt_with_sobol_sampler.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
84
```python import conftest from PathPlanning.BezierPath import bezier_path as m def test_1(): m.show_animation = False m.main() def test_2(): m.show_animation = False m.main2() if __name__ == '__main__': conftest.run_this_test(__file__) ```
/content/code_sandbox/tests/test_bezier_path.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
69
```python from Mapping.grid_map_lib.grid_map_lib import GridMap import conftest import numpy as np def test_position_set(): grid_map = GridMap(100, 120, 0.5, 10.0, -0.5) grid_map.set_value_from_xy_pos(10.1, -1.1, 1.0) grid_map.set_value_from_xy_pos(10.1, -0.1, 1.0) grid_map.set_value_from_xy_pos(10.1...
/content/code_sandbox/tests/test_grid_map_lib.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
480
```python import numpy as np import conftest from PathPlanning.DubinsPath import dubins_path_planner np.random.seed(12345) def check_edge_condition(px, py, pyaw, start_x, start_y, start_yaw, end_x, end_y, end_yaw): assert (abs(px[0] - start_x) <= 0.01) assert (abs(py[0] - start_y) <...
/content/code_sandbox/tests/test_dubins_path_planning.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
920
```yaml name: python_robotics channels: - conda-forge dependencies: - python=3.12 - pip - scipy - numpy - cvxpy - matplotlib ```
/content/code_sandbox/requirements/environment.yml
yaml
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
48
```python import conftest # Add root path to sys.path from PathPlanning.PotentialFieldPlanning import potential_field_planning as m def test1(): m.show_animation = False m.main() if __name__ == '__main__': conftest.run_this_test(__file__) ```
/content/code_sandbox/tests/test_potential_field_planning.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
63
```python import conftest from SLAM.FastSLAM2 import fast_slam2 as m def test1(): m.show_animation = False m.SIM_TIME = 3.0 m.main() if __name__ == '__main__': conftest.run_this_test(__file__) ```
/content/code_sandbox/tests/test_fast_slam2.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
66
```python import conftest from Localization.extended_kalman_filter import extended_kalman_filter as m def test_1(): m.show_animation = False m.main() if __name__ == '__main__': conftest.run_this_test(__file__) ```
/content/code_sandbox/tests/test_extended_kalman_filter.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
57
```python import conftest # Add root path to sys.path from ArmNavigation.n_joint_arm_to_point_control\ import n_joint_arm_to_point_control as m import random random.seed(12345) def test1(): m.show_animation = False m.animation() if __name__ == '__main__': conftest.run_this_test(__file__) ```
/content/code_sandbox/tests/test_n_joint_arm_to_point_control.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
77
```python import conftest import PathPlanning.FlowField.flowfield as flow_field def test(): flow_field.show_animation = False flow_field.main() if __name__ == '__main__': conftest.run_this_test(__file__) ```
/content/code_sandbox/tests/test_flow_field.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
51
```python import conftest # Add root path to sys.path from Mapping.normal_vector_estimation import normal_vector_estimation as m import random random.seed(12345) def test_1(): m.show_animation = False m.main1() def test_2(): m.show_animation = False m.main2() if __name__ == '__main__': conft...
/content/code_sandbox/tests/test_normal_vector_estimation.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
89
```python import conftest # Add root path to sys.path from PathPlanning.VoronoiRoadMap import voronoi_road_map as m def test1(): m.show_animation = False m.main() if __name__ == '__main__': conftest.run_this_test(__file__) ```
/content/code_sandbox/tests/test_visibility_road_map_planner.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
65
```yaml theme: jekyll-theme-slate show_downloads: true ```
/content/code_sandbox/_config.yml
yaml
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
15
```python ```
/content/code_sandbox/tests/__init__.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
1
```python import conftest # Add root path to sys.path import numpy as np from PathPlanning.ProbabilisticRoadMap import probabilistic_road_map def test1(): probabilistic_road_map.show_animation = False probabilistic_road_map.main(rng=np.random.default_rng(1233)) if __name__ == '__main__': conftest.run_t...
/content/code_sandbox/tests/test_probabilistic_road_map.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
84
```python import conftest from PathPlanning.GreedyBestFirstSearch import greedy_best_first_search as m def test_1(): m.show_animation = False m.main() if __name__ == '__main__': conftest.run_this_test(__file__) ```
/content/code_sandbox/tests/test_greedy_best_first_search.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
57
```python import conftest # Add root path to sys.path from PathPlanning.StateLatticePlanner import state_lattice_planner as m def test1(): m.show_animation = False m.main() if __name__ == '__main__': conftest.run_this_test(__file__) ```
/content/code_sandbox/tests/test_state_lattice_planner.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
64
```python import conftest from PathPlanning.ClosedLoopRRTStar import closed_loop_rrt_star_car as m import random def test_1(): random.seed(12345) m.show_animation = False m.main(gx=1.0, gy=0.0, gyaw=0.0, max_iter=5) if __name__ == '__main__': conftest.run_this_test(__file__) ```
/content/code_sandbox/tests/test_closed_loop_rrt_star_car.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
92
```python import conftest # Add root path to sys.path from PathPlanning.RRTStarReedsShepp import rrt_star_reeds_shepp as m def test1(): m.show_animation = False m.main(max_iter=5) obstacleList = [ (5, 5, 1), (4, 6, 1), (4, 8, 1), (4, 10, 1), (6, 5, 1), (7, 5, 1), (8, 6, 1), (...
/content/code_sandbox/tests/test_rrt_star_reeds_shepp.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
481
```python import conftest from SLAM.EKFSLAM import ekf_slam as m def test_1(): m.show_animation = False m.main() if __name__ == '__main__': conftest.run_this_test(__file__) ```
/content/code_sandbox/tests/test_ekf_slam.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
55
```python import conftest from PathPlanning.Eta3SplinePath import eta3_spline_path as m def test_1(): m.show_animation = False m.main() if __name__ == '__main__': conftest.run_this_test(__file__) ```
/content/code_sandbox/tests/test_eta3_spline_path.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
58