What do you want to save?
Add Code snippet
New code examples
-
Other 2021-10-05 08:48:03
wordpress create theme options page
<?php /** * Create A Simple Theme Options Panel * */ // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) { exit; } // Start Class if ( ! class_exists( 'WPEX_Theme_Options' ) ) { class WPEX_Theme_Options { /** * Start things up *... Add solution -
Other 2021-10-04 09:48:03
coin change problem minimum number of coins dynamic programming
class Main { // Function to find the minimum number of coins required // to get total of N from set S public static int findMinCoins(int[] S, int N) { &n... Add solution -
Javascript 2021-10-04 05:31:03
Calling JSON REST Services with FoxPro and wwJsonServiceClient
url: https://west-wind.com/wconnect/weblog/ShowEntry.blog?id=920 //// do wwhttp do wwJsonSerializer loProxy = CREATEOBJECT("wwJsonServiceClient") *** Make the service call loAlbums = loProxy.CallService("http://albumviewerswf.west-wind.c... Add solution -
TypeScript 2021-10-03 19:16:06
reverse a string if its value its greater than 3
var s = 'This is a short sentence' // set test sentence , e = s.split(' ') // 'This is a short sentence' ==> ['This','is','a','short','sentence'] .map(function(v,i,a){ // REPLACE the value of the current index in the array ... Add solution -
C 2021-10-03 15:33:05
blockchain implementation
int hash(); void printStruct(); void printChain(); void printWallet(); void setLocation(); int Random(); int rand(); int getBlock(); void printNewChain(); struct Block{ int locationBefore; int machineID; int locationCurrent; }; int Random(int lower, int u... Add solution -
Other 2021-10-03 14:09:04
difference between authentication and authorization
Authentication : telling the system who you are by providing username and password. Authorization : things you can do according to who you are ------ few ways of Authorization: Basic Auth -- providing username and passwor... Add solution -
Other 2021-10-03 09:39:04
disable self purchasing office365
#Install Module from PSGallery Install-Module -Name MSCommerce #Connect Connect-MSCommerce #Get Policy ID $PolicyID = (Get-MSCommercePolicies).PolicyID #Get all Product Policies $Products = Get-MSCommerceProductPolicies -PolicyId $PolicyID #Disable S... Add solution -
Python 2021-10-02 22:28:06
naive bayes classifying reviews
# Here's a running history for the past week. # For each day, it contains whether or not the person ran, and whether or not they were tired. days = [["ran", "was tired"], ["ran", "was not tired"], ["didn't run&... Add solution -
C# 2021-10-02 16:30:06
how to save data on cellphone unity android
using System.IO public class scoreFile { private int[] level; private bool[] completed; private float[] completionTime; private string[] scores; private string fileName; //This class stores information for each of the levels.... Add solution