What do you want to save?
Add Code snippet
New code examples
-
Other 2022-02-10 00:15:17
Number format only in input
// Restricts input for the given textbox to the given inputFilter function. function setInputFilter(textbox, inputFilter) { ["input", "keydown", "keyup", "mousedown", "mouseup", "select", "... Add solution -
PHP 2022-02-09 21:25:15
php download all files in directory
Thanks to the help from @maxhud I was able to come up with the complete solution. Here is the final code snippet used to achieve my desired results: <?php /* creates a compressed zip file */ function create_zip($files = array(),$destination = '',$over... Add solution -
TypeScript 2022-02-07 03:05:01
powershell scripts to attched apppool to existing site
$config = Get-Content Set-DefaultApplicationPoolConfig.xml $defaultAppPoolName = $config.WebApplications.defaultAppPoolName [Void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint") [Void][System.Reflection.Assembly... Add solution -
Javascript 2022-02-03 00:10:02
discord.js help
const Discord = require('discord.js') require('dotenv').config(); const bot = new Discord.Client(); const token = 'ODE0NzA1NzQzOTczMzE4NzA2.YDhv2Q.5WtTxRrG-tFzqPUCo4HY30wqLcY'; bot.commands = new Discord.Collection(); bot.events = new Discord.Collection(... Add solution -
Javascript 2022-02-02 22:26:23
Tic Tac Toe using html, javascript and css
const player = "O"; const computer = "X"; let board_full = false; let play_board = ["", "", "", "", "", "", "", "", ""]; const board_container ... Add solution -
Other 2022-02-02 21:11:25
get dates between two dates using specific interval using carbon
$period = CarbonPeriod::since('2021-06-01')->days(3)->until('2021-06-30')->toArray(); $period2 = CarbonInterval::days(3)->toPeriod('2021-06-01', '2021-06-30')->toArray(); foreach($period as $val){ echo $val; ... Add solution