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 |
|---|---|---|---|---|---|---|---|---|
```python
"""
LQR local path planning
author: Atsushi Sakai (@Atsushi_twi)
"""
import math
import random
import matplotlib.pyplot as plt
import numpy as np
import scipy.linalg as la
SHOW_ANIMATION = True
class LQRPlanner:
def __init__(self):
self.MAX_TIME = 100.0 # Maximum simulation time
... | /content/code_sandbox/PathPlanning/LQRPlanner/lqr_planner.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 1,026 |
```python
"""
Visibility Road Map Planner
author: Atsushi Sakai (@Atsushi_twi)
"""
import sys
import math
import numpy as np
import matplotlib.pyplot as plt
import pathlib
sys.path.append(str(pathlib.Path(__file__).parent.parent))
from VisibilityRoadMap.geometry import Geometry
from VoronoiRoadMap.dijkstra_search ... | /content/code_sandbox/PathPlanning/VisibilityRoadMap/visibility_road_map.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 1,673 |
```python
``` | /content/code_sandbox/PathPlanning/VisibilityRoadMap/__init__.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 1 |
```python
class Geometry:
class Point:
def __init__(self, x, y):
self.x = x
self.y = y
@staticmethod
def is_seg_intersect(p1, q1, p2, q2):
def on_segment(p, q, r):
if ((q.x <= max(p.x, r.x)) and (q.x >= min(p.x, r.x)) and
(q.y <= max... | /content/code_sandbox/PathPlanning/VisibilityRoadMap/geometry.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 395 |
```python
"""
D* Lite grid planning
author: vss2sn (28676655+vss2sn@users.noreply.github.com)
Link to papers:
D* Lite (Link: path_to_url
Improved Fast Replanning for Robot Navigation in Unknown Terrain
(Link: path_to_url~maxim/files/dlite_icra02.pdf)
Implemented maintaining similarity with the pseudocode for understand... | /content/code_sandbox/PathPlanning/DStarLite/d_star_lite.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 4,137 |
```python
``` | /content/code_sandbox/PathPlanning/CubicSpline/__init__.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 1 |
```python
import numpy as np
import matplotlib.pyplot as plt
from scipy import interpolate
class Spline2D:
def __init__(self, x, y, kind="cubic"):
self.s = self.__calc_s(x, y)
self.sx = interpolate.interp1d(self.s, x, kind=kind)
self.sy = interpolate.interp1d(self.s, y, kind=kind)
d... | /content/code_sandbox/PathPlanning/CubicSpline/spline_continuity.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 457 |
```python
"""
Spiral Spanning Tree Coverage Path Planner
author: Todd Tang
paper: Spiral-STC: An On-Line Coverage Algorithm of Grid Environments
by a Mobile Robot - Gabriely et.al.
link: path_to_url
"""
import os
import sys
import math
import numpy as np
import matplotlib.pyplot as plt
do_animation = True
... | /content/code_sandbox/PathPlanning/SpiralSpanningTreeCPP/spiral_spanning_tree_coverage_path_planner.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 2,731 |
```python
``` | /content/code_sandbox/PathPlanning/VoronoiRoadMap/__init__.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 1 |
```python
"""
Cubic spline planner
Author: Atsushi Sakai(@Atsushi_twi)
"""
import math
import numpy as np
import bisect
class CubicSpline1D:
"""
1D Cubic Spline class
Parameters
----------
x : list
x coordinates for data points. This x coordinates must be
sorted
in ascen... | /content/code_sandbox/PathPlanning/CubicSpline/cubic_spline_planner.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 2,918 |
```python
"""
Dijkstra Search library
author: Atsushi Sakai (@Atsushi_twi)
"""
import matplotlib.pyplot as plt
import math
import numpy as np
class DijkstraSearch:
class Node:
"""
Node class for dijkstra search
"""
def __init__(self, x, y, cost=None, parent=None, edge_ids=None... | /content/code_sandbox/PathPlanning/VoronoiRoadMap/dijkstra_search.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 1,042 |
```python
"""
Voronoi Road Map Planner
author: Atsushi Sakai (@Atsushi_twi)
"""
import math
import numpy as np
import matplotlib.pyplot as plt
from scipy.spatial import cKDTree, Voronoi
import sys
import pathlib
sys.path.append(str(pathlib.Path(__file__).parent.parent))
from VoronoiRoadMap.dijkstra_search import D... | /content/code_sandbox/PathPlanning/VoronoiRoadMap/voronoi_road_map.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 1,301 |
```python
"""
Bidirectional Breadth-First grid planning
author: Erwin Lejeune (@spida_rwin)
See Wikipedia article (path_to_url
"""
import math
import matplotlib.pyplot as plt
show_animation = True
class BidirectionalBreadthFirstSearchPlanner:
def __init__(self, ox, oy, resolution, rr):
"""
... | /content/code_sandbox/PathPlanning/BidirectionalBreadthFirstSearch/bidirectional_breadth_first_search.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 2,462 |
```python
"""
Depth-First grid planning
author: Erwin Lejeune (@spida_rwin)
See Wikipedia article (path_to_url
"""
import math
import matplotlib.pyplot as plt
show_animation = True
class DepthFirstSearchPlanner:
def __init__(self, ox, oy, reso, rr):
"""
Initialize grid map for Depth-First ... | /content/code_sandbox/PathPlanning/DepthFirstSearch/depth_first_search.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 1,902 |
```python
"""
Path planning Sample Code with RRT with Reeds-Shepp path
author: AtsushiSakai(@Atsushi_twi)
"""
import copy
import math
import random
import sys
import pathlib
import matplotlib.pyplot as plt
import numpy as np
sys.path.append(str(pathlib.Path(__file__).parent.parent))
from ReedsSheppPath import reeds... | /content/code_sandbox/PathPlanning/RRTStarReedsShepp/rrt_star_reeds_shepp.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 2,034 |
```python
"""
Clothoid Path Planner
Author: Daniel Ingram (daniel-s-ingram)
Atsushi Sakai (AtsushiSakai)
Reference paper: Fast and accurate G1 fitting of clothoid curves
path_to_url
"""
from collections import namedtuple
import matplotlib.pyplot as plt
import numpy as np
import scipy.integrate as integrate
fro... | /content/code_sandbox/PathPlanning/ClothoidPath/clothoid_path_planner.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 1,481 |
```python
"""
Unicycle model class
author Atsushi Sakai
"""
import math
import numpy as np
from utils.angle import angle_mod
dt = 0.05 # [s]
L = 0.9 # [m]
steer_max = np.deg2rad(40.0)
curvature_max = math.tan(steer_max) / L
curvature_max = 1.0 / curvature_max + 1.0
accel_max = 5.0
class State:
def __init... | /content/code_sandbox/PathPlanning/ClosedLoopRRTStar/unicycle_model.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 464 |
```python
"""
Path planning Sample Code with Closed loop RRT for car like robot.
author: AtsushiSakai(@Atsushi_twi)
"""
import matplotlib.pyplot as plt
import numpy as np
import sys
import pathlib
sys.path.append(str(pathlib.Path(__file__).parent.parent))
from ClosedLoopRRTStar import pure_pursuit
from ClosedLoopR... | /content/code_sandbox/PathPlanning/ClosedLoopRRTStar/closed_loop_rrt_star_car.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 1,681 |
```python
"""
Path tracking simulation with pure pursuit steering control and PID speed control.
author: Atsushi Sakai
"""
import math
import matplotlib.pyplot as plt
import numpy as np
import sys
import pathlib
sys.path.append(str(pathlib.Path(__file__).parent.parent))
from ClosedLoopRRTStar import unicycle_mode... | /content/code_sandbox/PathPlanning/ClosedLoopRRTStar/pure_pursuit.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 2,372 |
```python
import os
import sys
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
``` | /content/code_sandbox/PathPlanning/HybridAStar/__init__.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 20 |
```python
"""
Bidirectional A* grid planning
author: Erwin Lejeune (@spida_rwin)
See Wikipedia article (path_to_url
"""
import math
import matplotlib.pyplot as plt
show_animation = True
class BidirectionalAStarPlanner:
def __init__(self, ox, oy, resolution, rr):
"""
Initialize grid map for... | /content/code_sandbox/PathPlanning/BidirectionalAStar/bidirectional_a_star.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 2,756 |
```python
"""
Hybrid A* path planning
author: Zheng Zh (@Zhengzh)
"""
import heapq
import math
import matplotlib.pyplot as plt
import numpy as np
from scipy.spatial import cKDTree
import sys
import pathlib
sys.path.append(str(pathlib.Path(__file__).parent.parent))
from dynamic_programming_heuristic import calc_dis... | /content/code_sandbox/PathPlanning/HybridAStar/hybrid_a_star.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 3,450 |
```python
"""
A* grid based planning
author: Nikos Kanargias (nkana@tee.gr)
See Wikipedia article (path_to_url
"""
import heapq
import math
import matplotlib.pyplot as plt
show_animation = False
class Node:
def __init__(self, x, y, cost, parent_index):
self.x = x
self.y = y
self.co... | /content/code_sandbox/PathPlanning/HybridAStar/dynamic_programming_heuristic.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 1,297 |
```python
"""
Car model for Hybrid A* path planning
author: Zheng Zh (@Zhengzh)
"""
import sys
import pathlib
root_dir = pathlib.Path(__file__).parent.parent.parent
sys.path.append(str(root_dir))
from math import cos, sin, tan, pi
import matplotlib.pyplot as plt
import numpy as np
from utils.angle import rot_mat... | /content/code_sandbox/PathPlanning/HybridAStar/car.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 967 |
```python
"""
Bug Planning
author: Sarim Mehdi(muhammadsarim.mehdi@studio.unibo.it)
Source: path_to_url
"""
import numpy as np
import matplotlib.pyplot as plt
show_animation = True
class BugPlanner:
def __init__(self, start_x, start_y, goal_x, goal_y, obs_x, obs_y):
self.goal_x = goal_x
self.goa... | /content/code_sandbox/PathPlanning/BugPlanning/bug.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 3,103 |
```python
``` | /content/code_sandbox/PathPlanning/DubinsPath/__init__.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 1 |
```python
"""
Reeds Shepp path planner sample code
author Atsushi Sakai(@Atsushi_twi)
co-author Videh Patel(@videh25) : Added the missing RS paths
"""
import math
import matplotlib.pyplot as plt
import numpy as np
from utils.angle import angle_mod
show_animation = True
class Path:
"""
Path data container... | /content/code_sandbox/PathPlanning/ReedsSheppPath/reeds_shepp_path_planning.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 4,471 |
```python
"""
Dubins path planner sample code
author Atsushi Sakai(@Atsushi_twi)
"""
import sys
import pathlib
sys.path.append(str(pathlib.Path(__file__).parent.parent.parent))
from math import sin, cos, atan2, sqrt, acos, pi, hypot
import numpy as np
from utils.angle import angle_mod, rot_mat_2d
show_animation = ... | /content/code_sandbox/PathPlanning/DubinsPath/dubins_path_planner.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 3,151 |
```python
``` | /content/code_sandbox/PathPlanning/ModelPredictiveTrajectoryGenerator/__init__.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 1 |
```python
import math
import numpy as np
from scipy.interpolate import interp1d
from utils.angle import angle_mod
# motion parameter
L = 1.0 # wheel base
ds = 0.1 # course distance
v = 10.0 / 3.6 # velocity [m/s]
class State:
def __init__(self, x=0.0, y=0.0, yaw=0.0, v=0.0):
self.x = x
self.y... | /content/code_sandbox/PathPlanning/ModelPredictiveTrajectoryGenerator/motion_model.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 731 |
```python
"""
Model trajectory generator
author: Atsushi Sakai(@Atsushi_twi)
"""
import math
import matplotlib.pyplot as plt
import numpy as np
import sys
import pathlib
path_planning_dir = pathlib.Path(__file__).parent.parent
sys.path.append(str(path_planning_dir))
import ModelPredictiveTrajectoryGenerator.motion... | /content/code_sandbox/PathPlanning/ModelPredictiveTrajectoryGenerator/trajectory_generator.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 1,468 |
```python
"""
Lookup Table generation for model predictive trajectory generator
author: Atsushi Sakai
"""
import sys
import pathlib
path_planning_dir = pathlib.Path(__file__).parent.parent
sys.path.append(str(path_planning_dir))
from matplotlib import pyplot as plt
import numpy as np
import math
from ModelPredicti... | /content/code_sandbox/PathPlanning/ModelPredictiveTrajectoryGenerator/lookup_table_generator.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 787 |
```python
"""
Author: Jonathan Schwartz (github.com/SchwartzCode)
This code provides a simple implementation of Dynamic Movement
Primitives, which is an approach to learning curves by modelling
them as a weighted sum of gaussian distributions. This approach
can be used to dampen noise in a curve, and can also be used ... | /content/code_sandbox/PathPlanning/DynamicMovementPrimitives/dynamic_movement_primitives.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 2,093 |
```python
"""
Path Planner with B-Spline
author: Atsushi Sakai (@Atsushi_twi)
"""
import sys
import pathlib
sys.path.append(str(pathlib.Path(__file__).parent.parent.parent))
import numpy as np
import matplotlib.pyplot as plt
import scipy.interpolate as interpolate
from utils.plot import plot_curvature
def approx... | /content/code_sandbox/PathPlanning/BSplinePath/bspline_path.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 1,184 |
```python
"""
Path planning with Bezier curve.
author: Atsushi Sakai(@Atsushi_twi)
"""
import matplotlib.pyplot as plt
import numpy as np
import scipy.special
show_animation = True
def calc_4points_bezier_path(sx, sy, syaw, ex, ey, eyaw, offset):
"""
Compute control points and path given start and end po... | /content/code_sandbox/PathPlanning/BezierPath/bezier_path.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 1,998 |
```python
"""
Probabilistic Road Map (PRM) Planner
author: Atsushi Sakai (@Atsushi_twi)
"""
import math
import numpy as np
import matplotlib.pyplot as plt
from scipy.spatial import KDTree
# parameter
N_SAMPLE = 500 # number of sample_points
N_KNN = 10 # number of edge from one sampled point
MAX_EDGE_LEN = 30.0 ... | /content/code_sandbox/PathPlanning/ProbabilisticRoadMap/probabilistic_road_map.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 2,240 |
```python
"""
Grid based Dijkstra planning
author: Atsushi Sakai(@Atsushi_twi)
"""
import matplotlib.pyplot as plt
import math
show_animation = True
class Dijkstra:
def __init__(self, ox, oy, resolution, robot_radius):
"""
Initialize map for a star planning
ox: x position list of Ob... | /content/code_sandbox/PathPlanning/Dijkstra/dijkstra.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 1,947 |
```python
"""
Frenet optimal trajectory generator
author: Atsushi Sakai (@Atsushi_twi)
Ref:
- [Optimal Trajectory Generation for Dynamic Street Scenarios in a Frenet Frame]
(path_to_url
- [Optimal trajectory generation for dynamic street scenarios in a Frenet Frame]
(path_to_url
"""
import numpy as np
import mat... | /content/code_sandbox/PathPlanning/FrenetOptimalTrajectory/frenet_optimal_trajectory.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 2,872 |
```python
``` | /content/code_sandbox/PathPlanning/StateLatticePlanner/__init__.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 1 |
```python
"""
Grid based sweep planner
author: Atsushi Sakai
"""
import math
from enum import IntEnum
import numpy as np
import matplotlib.pyplot as plt
import sys
import pathlib
sys.path.append(str(pathlib.Path(__file__).parent.parent.parent))
from utils.angle import rot_mat_2d
from Mapping.grid_map_lib.grid_map_li... | /content/code_sandbox/PathPlanning/GridBasedSweepCPP/grid_based_sweep_coverage_path_planner.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 2,699 |
```python
"""
D* grid planning
author: Nirnay Roy
See Wikipedia article (path_to_url
"""
import math
from sys import maxsize
import matplotlib.pyplot as plt
show_animation = True
class State:
def __init__(self, x, y):
self.x = x
self.y = y
self.parent = None
self.state = "... | /content/code_sandbox/PathPlanning/DStar/dstar.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 1,650 |
```python
"""
State lattice planner with model predictive trajectory generator
author: Atsushi Sakai (@Atsushi_twi)
- plookuptable.csv is generated with this script:
path_to_url
/ModelPredictiveTrajectoryGenerator/lookup_table_generator.py
Ref:
- State Space Sampling of Feasible Motions for High-Performance Mobile... | /content/code_sandbox/PathPlanning/StateLatticePlanner/state_lattice_planner.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 2,512 |
```python
"""
Mobile robot motion planning sample with Dynamic Window Approach
author: Atsushi Sakai (@Atsushi_twi), Gktu Karakal
"""
import math
from enum import Enum
import matplotlib.pyplot as plt
import numpy as np
show_animation = True
def dwa_control(x, config, goal, ob):
"""
Dynamic Window Approa... | /content/code_sandbox/PathPlanning/DynamicWindowApproach/dynamic_window_approach.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 2,749 |
```python
"""
Batch Informed Trees based path planning:
Uses a heuristic to efficiently search increasingly dense
RGGs while reusing previous information. Provides faster
convergence that RRT*, Informed RRT* and other sampling based
methods.
Uses lazy connecting by combining sampling based methods and A*
like incremen... | /content/code_sandbox/PathPlanning/BatchInformedRRTStar/batch_informed_rrtstar.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 5,551 |
```python
"""
A* grid planning
author: Atsushi Sakai(@Atsushi_twi)
Nikos Kanargias (nkana@tee.gr)
See Wikipedia article (path_to_url
"""
import math
import matplotlib.pyplot as plt
show_animation = True
class AStarPlanner:
def __init__(self, ox, oy, resolution, rr):
"""
Initialize ... | /content/code_sandbox/PathPlanning/AStar/a_star.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 2,121 |
```python
"""
a star variants
author: Sarim Mehdi(muhammadsarim.mehdi@studio.unibo.it)
Source: path_to_url~amitp/GameProgramming/Variations.html
"""
import numpy as np
import matplotlib.pyplot as plt
show_animation = True
use_beam_search = False
use_iterative_deepening = False
use_dynamic_weighting = False
use_theta_... | /content/code_sandbox/PathPlanning/AStar/a_star_variants.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 4,817 |
```python
``` | /content/code_sandbox/PathPlanning/RRT/__init__.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 1 |
```python
"""
A* algorithm
Author: Weicent
randomly generate obstacles, start and goal point
searching path from start and end simultaneously
"""
import numpy as np
import matplotlib.pyplot as plt
import math
show_animation = True
class Node:
"""node with properties of g, h, coordinate and parent node"""
d... | /content/code_sandbox/PathPlanning/AStar/a_star_searching_from_two_side.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 3,412 |
```python
"""
Path planning Sample Code with Randomized Rapidly-Exploring Random
Trees with sobol low discrepancy sampler(RRTSobol).
Sobol wiki path_to_url
The goal of low discrepancy samplers is to generate a sequence of points that
optimizes a criterion called dispersion. Intuitively, the idea is to place
samples ... | /content/code_sandbox/PathPlanning/RRT/rrt_with_sobol_sampler.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 2,156 |
```python
"""
Path planning Sample Code with RRT with path smoothing
@author: AtsushiSakai(@Atsushi_twi)
"""
import math
import random
import matplotlib.pyplot as plt
import sys
import pathlib
sys.path.append(str(pathlib.Path(__file__).parent))
from rrt import RRT
show_animation = True
def get_path_length(path)... | /content/code_sandbox/PathPlanning/RRT/rrt_with_pathsmoothing.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 1,021 |
```python
"""
Path planning Sample Code with Randomized Rapidly-Exploring Random Trees (RRT)
author: AtsushiSakai(@Atsushi_twi)
"""
import math
import random
import matplotlib.pyplot as plt
import numpy as np
show_animation = True
class RRT:
"""
Class for RRT planning
"""
class Node:
""... | /content/code_sandbox/PathPlanning/RRT/rrt.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 2,205 |
```python
from .sobol import i4_sobol as sobol_quasirand
``` | /content/code_sandbox/PathPlanning/RRT/sobol/__init__.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 19 |
```python
``` | /content/code_sandbox/PathPlanning/RRTStar/__init__.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 1 |
```python
"""
Path planning Sample Code with RRT*
author: Atsushi Sakai(@Atsushi_twi)
"""
import math
import sys
import matplotlib.pyplot as plt
import pathlib
sys.path.append(str(pathlib.Path(__file__).parent.parent))
from RRT.rrt import RRT
show_animation = True
class RRTStar(RRT):
"""
Class for RRT S... | /content/code_sandbox/PathPlanning/RRTStar/rrt_star.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 2,051 |
```python
"""
Breadth-First grid planning
author: Erwin Lejeune (@spida_rwin)
See Wikipedia article (path_to_url
"""
import math
import matplotlib.pyplot as plt
show_animation = True
class BreadthFirstSearchPlanner:
def __init__(self, ox, oy, reso, rr):
"""
Initialize grid map for bfs plan... | /content/code_sandbox/PathPlanning/BreadthFirstSearch/breadth_first_search.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 1,931 |
```python
``` | /content/code_sandbox/ArmNavigation/__init__.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 1 |
```python
"""
Licensing:
This code is distributed under the MIT license.
Authors:
Original FORTRAN77 version of i4_sobol by Bennett Fox.
MATLAB version by John Burkardt.
PYTHON version by Corrado Chisari
Original Python version of is_prime by Corrado Chisari
Original MATLAB versions of ot... | /content/code_sandbox/PathPlanning/RRT/sobol/sobol.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 6,458 |
```python
"""
Inverse kinematics of a two-joint arm
Left-click the plot to set the goal position of the end effector
Author: Daniel Ingram (daniel-s-ingram)
Atsushi Sakai (@Atsushi_twi)
Ref: P. I. Corke, "Robotics, Vision & Control", Springer 2017,
ISBN 978-3-319-54413-7 p102
- [Robotics, Vision and Control]... | /content/code_sandbox/ArmNavigation/two_joint_arm_to_point_control/two_joint_arm_to_point_control.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 1,162 |
```python
import sys
import pathlib
sys.path.append(str(pathlib.Path(__file__).parent))
``` | /content/code_sandbox/ArmNavigation/n_joint_arm_3d/__init__.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 19 |
```python
"""
Inverse Kinematics for an n-link arm in 3D
Author: Takayuki Murooka (takayuki5168)
"""
import math
from NLinkArm3d import NLinkArm
import random
def random_val(min_val, max_val):
return min_val + random.random() * (max_val - min_val)
def main():
print("Start solving Inverse Kinematics 10 times... | /content/code_sandbox/ArmNavigation/n_joint_arm_3d/random_inverse_kinematics.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 350 |
```python
"""
Forward Kinematics for an n-link arm in 3D
Author: Takayuki Murooka (takayuki5168)
"""
import math
from NLinkArm3d import NLinkArm
import random
def random_val(min_val, max_val):
return min_val + random.random() * (max_val - min_val)
def main():
print("Start solving Forward Kinematics 10 times... | /content/code_sandbox/ArmNavigation/n_joint_arm_3d/random_forward_kinematics.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 301 |
```python
"""
RRT* path planner for a seven joint arm
Author: Mahyar Abdeetedal (mahyaret)
"""
import math
import random
import numpy as np
import matplotlib.pyplot as plt
import sys
import pathlib
sys.path.append(str(pathlib.Path(__file__).parent.parent))
from n_joint_arm_3d.NLinkArm3d import NLinkArm
show_animation... | /content/code_sandbox/ArmNavigation/rrt_star_seven_joint_arm_control/rrt_star_seven_joint_arm_control.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 3,337 |
```python
``` | /content/code_sandbox/ArmNavigation/n_joint_arm_to_point_control/__init__.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 1 |
```python
"""
Class of n-link arm in 3D
Author: Takayuki Murooka (takayuki5168)
"""
import numpy as np
import math
from mpl_toolkits.mplot3d import Axes3D
import matplotlib.pyplot as plt
class Link:
def __init__(self, dh_params):
self.dh_params_ = dh_params
def transformation_matrix(self):
th... | /content/code_sandbox/ArmNavigation/n_joint_arm_3d/NLinkArm3d.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 1,834 |
```python
"""
Class for controlling and plotting an arm with an arbitrary number of links.
Author: Daniel Ingram
"""
import numpy as np
import matplotlib.pyplot as plt
class NLinkArm(object):
def __init__(self, link_lengths, joint_angles, goal, show_animation):
self.show_animation = show_animation
... | /content/code_sandbox/ArmNavigation/n_joint_arm_to_point_control/NLinkArm.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 615 |
```python
"""
Inverse kinematics for an n-link arm using the Jacobian inverse method
Author: Daniel Ingram (daniel-s-ingram)
Atsushi Sakai (@Atsushi_twi)
"""
import sys
from pathlib import Path
sys.path.append(str(Path(__file__).parent.parent.parent))
import numpy as np
from ArmNavigation.n_joint_arm_to_poin... | /content/code_sandbox/ArmNavigation/n_joint_arm_to_point_control/n_joint_arm_to_point_control.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 1,334 |
```python
"""
Obstacle navigation using A* on a toroidal grid
Author: Daniel Ingram (daniel-s-ingram)
"""
from math import pi
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.colors import from_levels_and_colors
plt.ion()
# Simulation parameters
M = 100
obstacles = [[1.75, 0.75, 0.6], [0.55, 1.5, 0... | /content/code_sandbox/ArmNavigation/arm_obstacle_navigation/arm_obstacle_navigation.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 2,254 |
```python
"""
Obstacle navigation using A* on a toroidal grid
Author: Daniel Ingram (daniel-s-ingram)
Tullio Facchinetti (tullio.facchinetti@unipv.it)
"""
from math import pi
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.colors import from_levels_and_colors
import sys
plt.ion()
# Simulat... | /content/code_sandbox/ArmNavigation/arm_obstacle_navigation/arm_obstacle_navigation_2.py | python | 2016-03-21T09:34:43 | 2024-08-16T19:00:08 | PythonRobotics | AtsushiSakai/PythonRobotics | 22,516 | 2,601 |
```unknown
node_modules
.env
``` | /content/code_sandbox/.dockerignore | unknown | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 5 |
```php
<?php namespace Tests\Concerns;
use App\Models\Account;
use App\Models\AccountPaymentGateway;
use App\Models\Attendee;
use App\Models\Country;
use App\Models\Currency;
use App\Models\Event;
use App\Models\EventStats;
use App\Models\Order;
use App\Models\OrderItem;
use App\Models\OrderStatus;
use App\Models\Orga... | /content/code_sandbox/tests/Concerns/OrganisationWithTax.php | php | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 2,009 |
```unknown
# This file lists people who have contributed content to the repository.
Sebastian Schmidt ([Github](path_to_url
Brett B ([Github](path_to_url
G0dLik3 ([Github](path_to_url
Honor Hounwanou ([Github](path_to_url
James Campbell ([Github](path_to_url
JapSeyz ([Github](path_to_url
Mark Walet ([Github](path_to_ur... | /content/code_sandbox/AUTHORS | unknown | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 90 |
```php
<?php
return [
// The default gateway to use
'default' => 'stripe',
// Add in each gateway here
'gateways' => [
'paypal' => [
'driver' => 'PayPal_Express',
'options' => [
'solutionType' => '',
'landingPage' => '',
... | /content/code_sandbox/config/laravel-omnipay.php | php | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 114 |
```unknown
# This file lists the owners and maintainers of the Attendize project and repository
* Johanna Cherry ([Github](path_to_url
* Sam Bell ([Github](path_to_url
* Jeremy Quinton ([Github](path_to_url
* Etienne Marais ([Github](path_to_url
``` | /content/code_sandbox/MAINTAINERS | unknown | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 62 |
```php
<?php namespace Tests\Concerns;
use App\Models\Event;
use App\Models\Account;
use App\Models\AccountPaymentGateway;
use App\Models\Attendee;
use App\Models\Country;
use App\Models\Currency;
use App\Models\EventStats;
use App\Models\Order;
use App\Models\OrderItem;
use App\Models\OrderStatus;
use App\Models\Orga... | /content/code_sandbox/tests/Concerns/OrganisationWithoutTax.php | php | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 1,807 |
```php
<?php
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;
use App\Models\Event;
class EventAttendeesTest extends TestCase
{
public function test_event_attendees_are_displayed()
{
// Cr... | /content/code_sandbox/tests/deprecated/EventAttendeesTest.php | php | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 254 |
```unknown
ATTENDIZE_DEV=true
ATTENDIZE_CLOUD=false
APP_NAME=Attendize
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_URL=path_to_url
LOG_CHANNEL=stack
DB_CONNECTION=mysql
DB_HOST=db
DB_PORT=3306
DB_DATABASE=attendize
DB_USERNAME=attendize
DB_PASSWORD=attendize
BROADCAST_DRIVER=log
CACHE_DRIVER=file
QUEUE_CONNECTION=syn... | /content/code_sandbox/.env.example | unknown | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 373 |
```php
<?php
namespace Tests;
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
use Tests\Concerns\DatabaseSetup;
abstract class TestCase extends BaseTestCase
{
use CreatesApplication, DatabaseSetup;
/**
* Initializes the tests
*/
public function setUp(): void
{
parent::s... | /content/code_sandbox/tests/TestCase.php | php | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 320 |
```php
<?php namespace Tests\Features;
use App\Models\Attendee;
use Tests\Concerns\OrganisationWithTax;
use Tests\TestCase;
class OrganisationWithTaxTest extends TestCase
{
use OrganisationWithTax;
public function setUp(): void
{
parent::setUp();
$this->withoutMiddleware([
\Ap... | /content/code_sandbox/tests/Feature/OrderCancellation/OrganisationWithTaxTest.php | php | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 2,698 |
```yaml
version: '3.2'
services:
web:
image: attendize_web:latest
ports:
- "8080:80"
- "8081:443"
volumes:
- .:/usr/share/nginx/html
- .:/var/www
depends_on:
- db
- maildev
- redis
- worker
env_file:
- ./.env
worker:
image: attendize_worker:... | /content/code_sandbox/docker-compose.yml | yaml | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 275 |
```unknown
server {
listen 80 default_server;
server_name localhost;
listen 443 ssl http2 default_server;
listen [::]:443 ssl http2 default_server;
include snippets/self-signed.conf;
include snippets/ssl-params.conf;
root /usr/share/nginx/html/public;
index index.php;
server_toke... | /content/code_sandbox/nginx.conf | unknown | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 201 |
```javascript
module.exports = function (grunt) {
//Initializing the configuration object
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
// Task configuration
less: {
development: {
options: {
compress: true,
... | /content/code_sandbox/Gruntfile.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 673 |
```unknown
ssl_certificate /etc/ssl/certs/nginx-selfsigned.crt;
ssl_certificate_key /etc/ssl/private/nginx-selfsigned.key;
``` | /content/code_sandbox/self-signed.conf | unknown | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 27 |
```yaml
suites:
main:
namespace: App
psr4_prefix: App
src_path: app
``` | /content/code_sandbox/phpspec.yml | yaml | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 25 |
```unknown
# from path_to_url
# and path_to_url
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH";
ssl_ecdh_curve secp384r1;
ssl_session_cache shared:SSL:10m;
ssl_session_tickets off;
ssl_stapling on;
ssl_stapling_verify on;
resolver 8.8.8.... | /content/code_sandbox/ssl-params.conf | unknown | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 248 |
```php
<?php namespace Tests\Features;
use App\Attendize\Utils;
use Tests\TestCase;
class UtilsTest extends TestCase
{
/**
* @test
*/
public function parse_version_correctly()
{
$parsed_version = Utils::parse_version("1.1.0");
$this->assertEquals($parsed_version, "1.1.0");
... | /content/code_sandbox/tests/Feature/Utils/UtilsTest.php | php | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 143 |
```php
<?php
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;
use App\Attendize\Utils;
class UserTest extends TestCase
{
public function test_edit_user_is_successful()
{
$this->actingAs($t... | /content/code_sandbox/tests/deprecated/UserTest.php | php | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 1,051 |
```php
<?php
/*
|your_sha256_hash----------
| Create The Application
|your_sha256_hash----------
|
| The first thing we will do is create a new Laravel application instance
| which serves as the "glue" for all the components of Laravel, and is
| the IoC container for the system binding all of the various parts.
|
*/
... | /content/code_sandbox/bootstrap/app.php | php | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 292 |
```unknown
RewriteEngine On
RewriteRule ^(.*)$ public/$1 [L]
``` | /content/code_sandbox/.htaccess | unknown | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 19 |
```php
<?php
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;
use App\Models\Organiser;
class OrganiserTest extends TestCase
{
/**
* @group passing
*/
public function test_create_organis... | /content/code_sandbox/tests/deprecated/OrganiserTest.php | php | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 548 |
```php
<?php
return [
/*
|your_sha256_hash----------
| Application Name
|your_sha256_hash----------
|
| This value is the name of your application. This value is used when the
| framework needs to place the application's name in a notification or
| any other location as required by the... | /content/code_sandbox/config/app.php | php | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 1,912 |
```php
<?php
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;
use App\Models\Organiser;
class OrganiserEventsTest extends TestCase
{
public function test_show_events_displays_events()
{
$o... | /content/code_sandbox/tests/deprecated/OrganiserEventsTest.php | php | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 259 |
```unknown
#!/usr/bin/env php
<?php
define('LARAVEL_START', microtime(true));
/*
|your_sha256_hash----------
| Register The Auto Loader
|your_sha256_hash----------
|
| Composer provides a convenient, automatically generated class loader
| for our application. We just need to utilize it! We'll require it
| into the sc... | /content/code_sandbox/artisan | unknown | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 317 |
```php
<?php
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;
use App\Models\Event;
class EventTest extends TestCase
{
public function test_event_is_created_successfully()
{
$this->actingA... | /content/code_sandbox/tests/deprecated/EventTest.php | php | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 608 |
```php
<?php
use Monolog\Handler\NullHandler;
use Monolog\Handler\StreamHandler;
use Monolog\Handler\SyslogUdpHandler;
return [
/*
|your_sha256_hash----------
| Default Log Channel
|your_sha256_hash----------
|
| This option defines the default log channel that gets used when writing
| me... | /content/code_sandbox/config/logging.php | php | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 628 |
```php
<?php namespace Tests\Features;
use App\Models\Attendee;
use Tests\Concerns\OrganisationWithoutTax;
use Tests\TestCase;
class OrganisationWithoutTaxTest extends TestCase
{
use OrganisationWithoutTax;
public function setUp(): void
{
parent::setUp();
$this->withoutMiddleware([
... | /content/code_sandbox/tests/Feature/OrderCancellation/OrganisationWithoutTaxTest.php | php | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 2,422 |
```unknown
{
"directory": "./public/vendor"
}
``` | /content/code_sandbox/.bowerrc | unknown | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 11 |
```php
<?php
return [
'debug' => env('APP_DEBUG_PDF', false),
'binpath' => 'lib/',
'binfile' => env('WKHTML2PDF_BIN_FILE', 'wkhtmltopdf-amd64'),
'output_mode' => 'I',
];
``` | /content/code_sandbox/config/Wkhtml2pdf.php | php | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 66 |
```unknown
# Commonly used commands, compatible with Linux type shells
# build the docker images for any environment
build:
docker build --tag attendize_base --target base .
docker build --tag attendize_worker --target worker --cache-from attendize_base:latest .
docker build --tag attendize_web --target web --cache... | /content/code_sandbox/Makefile | unknown | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 481 |
```php
<?php
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;
use App\Attendize\Utils;
class UserLoginTest extends TestCase
{
/**
* Test login page is successful
*
* @return void
*... | /content/code_sandbox/tests/deprecated/UserLoginTest.php | php | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 337 |
```php
<?php
/**
* Ok, glad you are here
* first we get a config instance, and set the settings
* $config = HTMLPurifier_Config::createDefault();
* $config->set('Core.Encoding', $this->config->get('purifier.encoding'));
* $config->set('Cache.SerializerPath', $this->config->get('purifier.cachePath'));
* if ( ! $th... | /content/code_sandbox/config/purifier.php | php | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 480 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.