What do you want to save?
Add Code snippet
New code examples
-
TypeScript 2021-08-30 04:43:02
angular font awesome
//install in your project directory npm install --save @fortawesome/fontawesome-free // in angular.json add in the 'build' section the following lines in 'styles' and 'scripts' "styles": [ "node_modules/@fortawesome/fontawesome-... Add solution -
Python 2021-08-30 04:07:01
sankey diagram python dataframe
# imports import pandas as pd import numpy as np import plotly.graph_objs as go from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot init_notebook_mode(connected=True) # Nodes & links nodes = [['ID', 'Label', 'Color'], ... Add solution -
Javascript 2021-08-30 02:34:03
access to model from js
var model = @Html.Raw(Json.Encode(Model)); Add solution -
Shell/Bash 2021-08-30 02:18:02
how to delete docker images older than x days from docker hub using a shell script serverfault
#!/bin/bash #Script will delete all images in all repositories of your docker hub account which are older than 'X' days set -e # set your username, password and no. of 'X' days value in below lines. #UNAME="YOUR_USERNAME" #UPASS="YOUR_PASS... Add solution -
Shell/Bash 2021-08-30 01:44:02
yarn 2 upgrade all packages
# You've to install the interactive-tools plugin first. $ yarn plugin import interactive-tools $ yarn upgrade-interactive Press <up>/<down> to select packages. Press <enter> to install. Press <left>/<right> to select ... Add solution -
Python 2021-08-29 23:36:01
firestore search query flutter
import 'package:flutter/material.dart'; import 'package:firebase_database/firebase_database.dart'; import 'package:firebase_database/ui/firebase_animated_list.dart'; class Db extends StatefulWidget { @override HomeState createState() => HomeState(... Add solution -
Other 2021-08-29 23:33:01
EditorConfig file
# EditorConfig is awesome: https://EditorConfig.org # top-most EditorConfig file root = true # Unix-style newlines with a newline ending every file [*] end_of_line = lf insert_final_newline = true # Matches multiple files with brace expansion notation ... Add solution
Best helpers
Ranking is empty