What do you want to save?
Add Code snippet
New code examples
-
Python 2022-02-16 01:30:06
json and python login system
import json print("LoginSystem @mvtthis") myRL = input("Login or Register?") if myRL == "Register": User = input("Username:") PW = input("Password:") PW1 = input("Confirm Password:&qu... Add solution -
PHP 2022-02-15 17:25:16
PHP Stream Functions
The Stream functions are part of the PHP core. There is no installation needed to use these functions. set_socket_blocking() Deprecated in PHP 5.4, and removed in PHP 7.0. Alias of stream_set_blocking() stream_bucket_prepend() stream_context_create()... Add solution -
Java 2022-02-14 00:20:23
spring application configuration example
public static void main(String[] args) { AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(); ctx.register(AppConfig.class, OtherConfig.class); ctx.register(AdditionalConfig.class); ctx.refresh(); MyService m... Add solution -
Python 2022-02-10 04:50:13
django admin action
from django.contrib import admin from myapp.models import Article def make_published(modeladmin, request, queryset): queryset.update(status='p') make_published.short_description = "Mark selected stories as published" class ArticleAdmin(adm... 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 -
PHP 2022-02-07 00:30:02
how make custom menu in wordpress
function wpb_custom_new_menu() { register_nav_menus( array( 'my-custom-menu' => __( 'My Custom Menu' ), 'extra-menu' => __( 'Extra Menu' ) &n... Add solution
Best helpers
Ranking is empty