Skip to content

Instantly share code, notes, and snippets.

View abhi911kumar's full-sized avatar
🎯
Focusing

Abhishek Mallick abhi911kumar

🎯
Focusing
View GitHub Profile
#include <FastLED.h> // header file
#define LED_TYPE WS2812B
#define NUM_LEDS 15 // number of led present in your strip
#define DATA_PIN 3 // digital pin of your arduino
CRGB leds[NUM_LEDS];
int LED = 2; // Onboard LED pin
int irPin = 4; // This is our input pin (IR LED at pin 7)
function myFunction() {
var str = "Hello World!";
var enc = window.btoa(str);
var dec = window.atob(enc);
var res = "Encoded String: " + enc + "<br>" + "Decoded String: " + dec;
console.log(res);
}
function myFunction() {
var str = "Hello World!";
var enc = window.btoa(str);
var res = "Encoded String: " + enc;
console.log(res);
}
@abhi911kumar
abhi911kumar / Jenkinfile
Created December 20, 2019 08:05
Pipeline Script to deploy ASP .Net Application on IIS
//def ReleaseDir = "c:\inetpub\wwwroot"
pipeline {
agent any
stages {
stage('Source'){
steps{
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '825fc4d4-4161-4170-9587-28a936f82af6', url: 'http://172.30.11.178/abhishek1/aspdotnetjenkins']]])
}
}
stage('Build') {
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Speech Synthesis</title>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
<script>
var playtext = function() {
<?xml version="1.0" encoding="UTF-8"?>
<data>
<client clientName="IE">11.0</client>
<client clientName="InternetExplorer">11.0</client>
<client clientName="Chrome">46.0</client>
<client clientName="Firefox">49.0</client>
<client clientName="Safari">10.0</client>
</data>
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using System.Xml;