What do you want to save?
Add Code snippet
New code examples
-
C++ 2021-10-10 00:01:05
private in c++
#include <iostream> // Visibility is how visible certain members or methods of class are , who can see them ,who can call them and who can use them //Visibility has no effect on performance of your program it is ust for organizing code //Three basic... Add solution -
PHP 2021-10-09 20:42:08
php loop object
<?php class MyClass { public $var1 = 'value 1'; public $var2 = 'value 2'; public $var3 = 'value 3'; &... Add solution -
PHP 2021-10-09 07:59:09
laravel passport
1 - composer require laravel/passport 2 - php artisan migrate 3 - php artisan passport:install 4 - go to user model <?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Foundation\Auth\User as Authentica... Add solution -
Other 2021-10-09 01:24:05
how to get current latlng in android stack overflow
import android.os.Bundle; import android.app.Activity; import android.view.Menu; import android.widget.TextView; public class MainActivity extends Activity { TextView textview; @Override protected void onCreate(Bundle savedInstanceState) { ... Add solution -
Shell/Bash 2021-10-08 22:56:08
c# powershell commandlet
using System.Management.Automation; // Windows PowerShell assembly. namespace SendGreeting { // Declare the class as a cmdlet and specify the // appropriate verb and noun for the cmdlet name. [Cmdlet(VerbsCommunications.Send, "Greeting")... Add solution -
C# 2021-10-08 12:16:06
c# KERNEL32.DLL recoverdeleted files
[DllImport("kernel32.dll", CharSet=CharSet.Auto)] static extern IntPtr FindFirstFile(string lpFileName, out WIN32_FIND_DATA lpFindFileData); [DllImport("kernel32.dll", SetLastError =&nb... Add solution -
Other 2021-10-08 02:26:07
blazor server side authentication with identityserver4
/* User Info in Razor ComponentsPermalink In a Blazor server-side application, authenticated user information is available to Razor components by injecting the AuthenticationStateProvider. We’ll modify Index.razor to show some inform... Add solution -
C# 2021-10-07 17:04:05
design pattern for so many conditions c#
class ActionState { public bool Condition1{get;set;} public bool Condition2{get;set;} public bool Condition3{get;set;} } abstract class ActionDispatcher { protected abstract void ExecuteAction1(); protected abstract void ExecuteAction2(); pro... Add solution
Best helpers
Ranking is empty