What do you want to save?
Add Code snippet
New code examples
-
Html 2021-09-14 01:45:03
bootstrap 4 form input group
<div class="input-group mb-3"> <div class="input-group-prepend"> <span class="input-group-text" id="basic-addon1">@</span> </div> <input type="text" class="f... Add solution -
Python 2021-09-07 08:23:01
multinomial logit python
In [1]: import statsmodels.api as st In [2]: iris = st.datasets.get_rdataset('iris', 'datasets') In [3]: ### get the y In [4]: y = iris.data.Species In [5]: print y.head(3) 0 setosa 1 setosa... Add solution -
PHP 2021-09-06 03:20:02
laravel select option form add please select option
{!! Form::select('shipping_pincode', $deliveryLocations->prepend('Please Select Delivery Location', '0'), !empty($selected_location) ? $selected_location : '0', array("class" => "form-control")) !!} Add solution -
Shell/Bash 2021-08-30 11:10:01
bash make directories using specific text from filenames
# Basic syntax: for file in /input/directory/search_pattern; do substring=${file:start#:length} mkdir "/output/directory/prepended_text_${substring}_appended_text" done # Where: # - The search_pattern should return the set of files you want t... Add solution -
Shell/Bash 2021-08-29 09:43:02
vim insert text at the the beginning of multiple lines
# Basic syntax: # Insert text in front of every line in the file: :%s!^!text_to_insert! # Insert text in front of specific lines (e.g. for commenting out code): 1. Press ESC to ensure youre in command mode 2. Use CTRL+v to enter visual block mode 3. Move... Add solution -
PHP 2021-08-28 01:53:02
txt local sms integration in php example
<?php require('textlocal.class.php'); $otp = rand(1000,9999); $textlocal = new Textlocal(false, false, 'XXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'); $phone = '910123456789'; // ISD code prepended $numbers = array($phone); $sender = 'TXTLCL'; $... Add solution -
Shell/Bash 2021-08-26 10:40:03
bash add text to the beginning or end of every line
# Basic syntax: awk '{print "PREFIX"$0}' input_file # Prepend "PREFIX" to every row in the input_file awk '{print $0"SUFFIX"}' input_file # Append "SUFFIX" to every row in the input_file awk '{print "PREFIX&quo... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5