What do you want to save?
Add Code snippet
New code examples
-
-
-
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 -
PHP 2022-03-27 22:35:12
get_declared_classes
<?php print_r(get_declared_classes()); ?> 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
Best helpers
Ranking is empty