What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-09-10 02:37:02
add extra cygwin packages
# You can add extra packages using the cygwin installer that you can download # from https://cygwin.com/ . # A method that works from the command like in a way similar to well known # 'apt-get' method is the script 'apt-cyg'. # You can install it like thi... Add solution -
Other 2021-09-09 17:46:01
fetch api tutorial
fetch('https://api.github.com/users/manishmshiva', { method: "GET", headers: {"Content-type": "application/json;charset=UTF-8"} }) .then(response => response.json()) .then(json => console.log(json)); .catch(err =&... Add solution -
Other 2021-09-08 11:16:01
Send discord webhook message with autohotkey
url:="webhookboturlgoesherebutwasredactedforreddit" ; use the url from Discord webhook bot postdata= ( { "content": "[Test](https://www.google.com/)", "embeds": [ { "title": "Double Test... Add solution -
Shell/Bash 2021-09-08 10:02:02
shell script to add kubernetes master node
#!/bin/sh sudo apt-get update sudo apt-get upgrade -y sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common sudo apt-get install -y docker.io sudo bash -c 'cat << EOF > /etc/docker/... Add solution -
Shell/Bash 2021-09-08 02:53:02
using personal access token github
git remote add origin https://[USERNAME]:[NEW TOKEN]@github.com/[USERNAME]/[REPO].git //how to generate token : https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token //or if you ha... Add solution -
Other 2021-09-07 16:34:01
flutter video player
import 'dart:async'; import 'package:flutter/material.dart'; import 'package:video_player/video_player.dart'; void main() => runApp(VideoPlayerApp()); class VideoPlayerApp extends StatelessWidget { @override Widget build(BuildContext context) { ... Add solution