What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-02-16 23:25:09
react current date and time command
import React, { Component } from 'react';import { render } from 'react-dom'; class App extends Component { constructor() { this.state = { currentDateTime: Date().toLocaleString() } } render() { return ( <div> <p&g... Add solution -
Python 2022-02-16 07:15:07
python tqdm seet width
from tqdm import tqdm progressBar = tqdm(total=100, desc="Your description here", ncols=130) # You can change the 'ncols' parameter, to change the width of the progress bar i = 0 while i <= 100: progressBar.update() progressBar.close() Add solution -
C# 2022-02-16 00:10:01
unity fps counter
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; public class FpsScript : MonoBehaviour { [SerializeField] private Text fpsText; [SerializeField] private float... Add solution -
Javascript 2022-02-15 14:40:16
python serialization json marshmallow
from datetime import date from marshmallow import Schema, fields, pprint class ArtistSchema(Schema): name = fields.Str() class AlbumSchema(Schema): title = fields.Str() release_date = fields.Date() artist = fields.Nested(ArtistSchema()) ... Add solution -
SQL 2022-02-14 10:50:01
how to get one year old query from plan cache
SELECT TOP 10 t.TEXT QueryName, s.execution_count AS ExecutionCount, s.max_elapsed_time AS MaxElapsedTime, ISNULL(s.total_elapsed_time / 1000 / NULLIF(s.execution_count, 0), 0) AS AvgElapsedTime, s.creation_time, ISNULL(s.execution_count / 1000 / NULLIF(D... Add solution -
Other 2022-02-14 07:10:06
player movement script unity
using UnityEngine; using System.Collections; // This script moves the character controller forward // and sideways based on the arrow keys. // It also jumps when pressing space. // Make sure to attach a character controller to the same game object. // It... Add solution -
Best helpers
Ranking is empty