What do you want to save?
Add Code snippet
New code examples
-
Other 2021-09-28 07:56:07
CA:64:E6:2D:E3:F7:A0:CB:DA:AB:16:57:E6:BB:90:B3:4C:EC:91:66
#===============================================================# tuxedo# Default Tuxedo ASCII/EBCDIC character translation tables.## Local: "TUXEDO-ASCII"# Remote: "TUXEDO-EBCDIC"# Built: 1999-04-13 22:12:00 UT## @(#)$Id: tuxe... Add solution -
PHP 2021-09-27 16:36:02
drupal 9 custom blocks dependency injection
/** * @file * Contains \Drupal\mymod\Plugin\Block\MyModMyStoreProductsStatusBlock */ namespace Drupal\mymod\Plugin\Block; use Drupal\Core\Block\BlockBase; use Drupal\Core\Plugin\ContainerFactoryPluginInterface; use Drupal\mymod\StoreService; use Symf... Add solution -
Javascript 2021-09-25 15:57:04
d3 violin plot with points
<script> // set the dimensions and margins of the graph var margin = {top: 10, right: 30, bottom: 30, left: 40}, width = 460 - margin.left - margin.right, height = 400 - margin.top - margin.bottom; // append the svg object to the body of t... Add solution -
Other 2021-09-25 01:55:02
backend choose the best route controllers
$api->version('v3', ['middleware' => ['api']], function($api) { $api->group(['as' => 'api', 'namespace' => 'App\Http\Controllers\Api'], function($api) { // Companies $api->get('companies/{company}/owner', 'Common\Comp... Add solution -
Other 2021-09-24 17:39:02
how to scale div to window size
function fillDiv(div, proportional) { var currentWidth = div.outerWidth(); var currentHeight = div.outerHeight(); var availableHeight = window.innerHeight; var availableWidth = window.innerWidth; var scaleX = availableWidth / currentWidth; v... Add solution -
Python 2021-09-21 12:42:03
ego vehicle coord system parallel to world z plane nuscenes
""" This code is to sort out a reply to https://github.com/nutonomy/nuscenes-devkit/issues/122 """ import numpy as np import matplotlib.pyplot as plt from pyquaternion import Quaternion from nuscenes import NuScenes GLOBA... Add solution -
Other 2021-09-20 12:56:03
preselect ionic picker selected value
async openResultsShownPicker() { const columns = [{name:"resultsShown",options:this.resultsShownOptions, selectedIndex: this.filters.resultsShownIdx }]; const translations = await this.translateService.get(['COMMON.CANCEL','COMMON.DON... Add solution -
Javascript 2021-09-19 12:23:02
[React Intl] Missing message for locale: "en"
// Disable missing translation message as translations will be added later. // We can add a toggle for this later when we have most translations. // eslint-disable-next-line const consoleError = console.error.bind(console); // eslint-disable-next-line co... Add solution -
Other 2021-09-18 23:05:03
gitignore for r
# History files .Rhistory .Rapp.history # Session Data files .RData # User-specific files .Ruserdata # Example code in package build process *-Ex.R # Output files from R CMD build /*.tar.gz # Output files from R CMD check /*.Rcheck/ # RStudio files ... Add solution