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 -
Html 2022-03-27 20:40:18
https://www.codegrepper.com
"You are not paid to write code, You are paid to solve problems" Word to the wise. Basically - 99% of the problems you have someone have already encountered before and uploaded a working solution to the internet. Find that solution and 90% of... Add solution -
PHP 2022-03-27 19:50:05
mongodb uploading csv php
<?php $mongo = new Mongo("mongodb://192.168.1.7:27017"); $collection = $mongo->test->cartoons; $row = 1; $handle = fopen(dirname(Yii::app()->request->scriptFile).'/images/importcsv/upload.csv', "r"); while (($data... Add solution -
Other 2022-03-27 18:55:07
discord.py embed generator
embed=discord.Embed(title=server INFO!, description=this is he server's infos, color=0x0400ff) embed.add_field(name=the total member count, value=, inline=False) embed.add_field(name=the bots count in the server, value=, inline=False) embed.add_field(name... Add solution -
Other 2022-03-27 17:15:18
less secure apps
Go to your (Google Account). On the left navigation panel, click Security. On the bottom of the page, in the Less secure app access panel, click Turn on access. If you don't see this setting, your administrator might have turned off less secure app accoun... Add solution -
Other 2022-03-27 13:55:16
rithwik message
serice account kore.com access token send cheyandi Add solution -
Javascript 2022-03-27 11:30:14
how to check consecutive characters in javascript
var password = '5236aaa121'; for(var i = 0; i< password.length; i++) { var numberOfRepeats = CheckForRepeat(i, password, password.charAt(i)); //do something } function CheckForRepeat(startIndex, originalString, charToCheck) { var repeatC... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5