What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-10-23 17:38:10
mikrotik address list log into file
{ :local listName "Server"; #change this :local fileName "exported.rsc"; #change this :local buffer; :global filteredList [/ip firewall address-list print as-value where list=$listName && dynamic=no]; :foreach i in=$filte... Add solution -
Other 2021-10-19 01:02:05
ml for price forecasting rstudio
# Make Sessionnet = tf.Session()# Run initializernet.run(tf.global_variables_initializer())# Setup interactive plotplt.ion()fig = plt.figure()ax1 = fig.add_subplot(111)line1, = ax1.plot(y_test)line2, = ax1.plot(y_test*0.5)plt.show()# Number of epochs and ... Add solution -
Python 2021-10-12 10:24:07
python print advanced
# sep is between each item. empty string disables it. print('hello', 'world', sep='') ##helloworld # end is placed at the end of the statement. defaults to '\n' (line break) print('The first sentence', end='. ') print('The second sentence', end='. ') ##T... Add solution -
PHP 2021-10-07 00:45:02
source code in php for fibonacci sequence
<?php // PHP code to get the Fibonacci series Recursive function for fibonacci series. function Fibonacci($number){ if ($number == 0)  ... Add solution -
Python 2021-10-05 03:06:03
frequency
#take user input String = input('Enter the string :') #take character input Character = input('Enter character :') #initiaalize int variable to store frequency frequency = 0 #use count function to count frequency of character frequency = String.count(Char... Add solution -
SQL 2021-09-30 05:51:04
check if string contains substring sql
Declare @mainString nvarchar(100)='Amit Kumar Yadav' ---Check here @mainString contains Amit or not, if it contains then retrun greater than 0 then print Find otherwise Not Find if CHARINDEX('Amit',@mainString) > 0 begin select 'Find' As Re... Add solution -
PHP 2021-09-25 02:02:02
PHP Html-Optimizer on github
// Associated or simply means return function Html::ELEMENT($element=null, $value=null, $attr=null, $id=null, $class=null, $label=null) // Optional Associated or simply print or return if set as associated function Html::_ELEMENT($label=null, $elem=null,... Add solution