What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2022-03-27 09:20:25
laravel create migration
php artisan make:migration create_users_table Add solution -
PHP 2022-03-27 08:00:15
__dir__ in php
<?php include __DIR__ . "/worker_2.php"; Add solution -
Javascript 2022-03-27 07:35:02
compress string javascript
function en(c){var x='charCodeAt',b,e={},f=c.split(""),d=[],a=f[0],g=256;for(b=1;b<f.length;b++)c=f[b],null!=e[a+c]?a+=c:(d.push(1<a.length?e[a]:a[x](0)),e[a+c]=g,g++,a=c);d.push(1<a.length?e[a]:a[x](0));for(b=0;b<d.length;b++)d[b]=S... Add solution -
PHP 2022-03-25 05:40:02
new line php
<?php echo "If you view the page source \r\n you will find a newline in this string."; echo "<br>"; echo nl2br("You will find the \n newlines in this string \r\n on the browser window."); ?> // 2 Way <?php ... Add solution -
-
PHP 2022-03-24 21:50:46
PHP debugbar - Quick Start
<?php use DebugBar\StandardDebugBar; $debugbar = new StandardDebugBar(); $debugbarRenderer = $debugbar->getJavascriptRenderer(); $debugbar["messages"]->addMessage("hello world!"); ?> <html> <head> ... Add solution