What do you want to save?
Add Code snippet
New code examples
-
C# 2022-03-27 22:40:23
c# movement script
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 -
-
PHP 2022-03-27 22:35:13
Dijkstra’s algorithm php
$INT_MAX = 0x7FFFFFFF; function MinimumDistance($distance, $shortestPathTreeSet, $verticesCount) { global $INT_MAX; $min = $INT_MAX; $minIndex = 0; for ($v = 0; $v < $verticesCount; ++$v) { if ($shortestPathTreeSet[$v] == false &&... Add solution -
Other 2022-03-27 22:35:01
\pyrcc_main.py: File does not exist 'resources.qrc'
import sys, os, tempfile import sip sip.setapi('QString', 2) from PyQt4 import QtCore # from PyQt5 import QtCore respath = os.path.abspath(sys.argv[1]) dirpath = os.path.dirname(respath) sys.path.insert(0, dirpath) import resources_rc tmpdir = tempfile... Add solution -
Other 2022-03-27 22:30:45
rick roll embed code
rickroll_vimeo() #> <div class="vembedr"> #> <div> #> <iframe class="vimeo-embed" src="https://player.vimeo.com/video/148751763" width="533" height="300" frameborder="0... Add solution -
Go 2022-03-27 22:30:23
golang check if ip is v6
var ip net.IP if ip.To4() == nil { //Is ipv6 } Add solution -
Javascript 2022-03-27 22:25:20
javascript download string as file
function download(filename, text) { var element = document.createElement('a'); element.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(text)); element.setAttribute('download', filename); element.style.display = 'none'; ... Add solution
Best helpers
C.B
+5
Beatriz LO
+5
Matt McGuire
+5
Stacey
+5
Dan Aloni
+5
Mostafa 36a2
+5
RiCo
+5
Binarus
+5
Srihari
+5
Khrustzh
+5
Styne666
+5
Siranush A
+5
Newby
+5
Youssef
+5
Ron Short
+5
Cat812
+5
Alkasm
+5
Alexvoda
+5