This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.company.retrofit2.annotation; | |
import java.lang.annotation.Documented; | |
import java.lang.annotation.Retention; | |
import java.lang.annotation.Target; | |
import static java.lang.annotation.ElementType.METHOD; | |
import static java.lang.annotation.RetentionPolicy.RUNTIME; | |
/** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.api; | |
import java.util.Map; | |
import retrofit.Call; | |
import retrofit.http.Body; | |
import retrofit.http.GET; | |
import retrofit.http.POST; | |
public interface Api { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#built application files | |
*.apk | |
*.ap_ | |
# files for the Dalvik VM | |
*.dex | |
# Java class files | |
*.class |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
USE [SmsPanel_v2] | |
GO | |
/****** Object: UserDefinedFunction [dbo].[Scalar_Function_BALANCE_CHECK_USERNAME] Script Date: 8/7/2018 12:34:06 PM ******/ | |
SET ANSI_NULLS ON | |
GO | |
SET QUOTED_IDENTIFIER ON | |
GO | |
ALTER FUNCTION [dbo].[Scalar_Function_BALANCE_CHECK_USERNAME] | |
( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To create a custom user name and password validator | |
1.Create a class that derives from :System.IdentityModel.Selectors.UserNamePasswordValidator | |
2.Implement the custom authentication scheme by overriding the Validate method. | |
public override void Validate(string userName, string password) | |
{ | |
if (userName == null || password == null) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Net.Http; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace ConsoleApp1 | |
{ | |
class Program |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function postBackByObject(e) { | |
var evnt = ((window.event) ? (event) : (e)); | |
var element = evnt.srcElement || evnt.target; | |
if (element.tagName == "INPUT" && element.type == "checkbox") { | |
__doPostBack("", ""); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body{ | |
background-color:#f4f4f4; | |
color:#555; | |
font-family:Arial, Helvetica, sans-serif; | |
font-size:16px; | |
line-height:1.6em; | |
margin:0; | |
} | |
.container{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Func_TimeStamp() { | |
var ts = Math.round((new Date()).getTime() / 1000); | |
return ts; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function func_init_DateTime_select(SelectEelemntDateID, SelectEelemntHourID, SelectEelemntMinuteID) { | |
var SelectEelemntDate = document.getElementById(SelectEelemntDateID); | |
var SelectEelemntHour = document.getElementById(SelectEelemntHourID); | |
var SelectEelemntMinute = document.getElementById(SelectEelemntMinuteID); | |
//initilizing the send date | |
for (let i = 0; i <= 16; i++) { | |
var option = document.createElement("option"); | |
if (i === 0) { | |
option.text = `در روز موعد مقرر`; |