Skip to content

Instantly share code, notes, and snippets.

View arulprabakaran's full-sized avatar
🏠
Working from home

Arul Prabakaran arulprabakaran

🏠
Working from home
View GitHub Profile
@arulprabakaran
arulprabakaran / off-canvas-menu.html
Last active July 27, 2017 12:17
Off Canvas Menu
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="ie6 oldie" lang='en' dir='ltr'> <![endif]-->
<!--[if IE 7]> <html class="ie7 oldie" lang='en' dir='ltr'> <![endif]-->
<!--[if IE 8]> <html class="ie8 oldie" lang='en' dir='ltr'> <![endif]-->
<!--[if gt IE 8]><!-->
<html lang='en' dir='ltr'>
<!--<![endif]-->
<head>
<meta charset="utf-8">
@arulprabakaran
arulprabakaran / Sublime Text 3 Build 3126 Keys.md
Last active April 17, 2020 06:32
Sublime text 3 (Build 3126) license key.

Sublime text 3 (Build 3126) license key,these all tested available on 2016/09/23.

##Feel free to enjoy them.

—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
@arulprabakaran
arulprabakaran / Sql.ts
Created September 27, 2017 06:46 — forked from aggarwalankush/Sql.ts
Ionic 2 storage
import {Injectable} from "@angular/core";
import {Platform} from "ionic-angular";
const DB_NAME: string = '__mydbname';
const win: any = window;
@Injectable()
export class Sql {
private _dbPromise: Promise<any>;
@arulprabakaran
arulprabakaran / slidespage.html
Created June 13, 2018 14:21 — forked from aarjithn/slidespage.html
Sliding Segments Ionic v2
<ion-toolbar>
<ion-segment [(ngModel)]="selectedSegment" (ionChange)="onSegmentChanged($event)">
<ion-segment-button value="first">
First
</ion-segment-button>
<ion-segment-button value="second">
Second
</ion-segment-button>
<ion-segment-button value="third">
Third
@arulprabakaran
arulprabakaran / open-with-edge.html
Last active April 17, 2019 07:06
Check for IE browser and allow option to open in Microsoft Edge. Original Source https://github.com/jg-testpage/jg-testpage.github.io
<!doctype html>
<html>
<body>
<div id="openInEdgeWrapper" style="display: none; background-color: #fc0;">
We've noticed you're running IE11 browser on Windows 10.
Did you know you can open this page in Edge browser for a faster and more secure experience?
<a id="openInEdge" style="background-color: #0cf">Click here to open in Edge.</a>
</div>
<script defer>
if (document.documentMode === 11 && navigator.userAgent.indexOf('Windows NT 10.0') > -1) {
@arulprabakaran
arulprabakaran / regex-camelCase-to-dash.js
Created December 5, 2019 11:42 — forked from youssman/regex-camelCase-to-dash.js
Javascript convert camelcase to dash (hyphen)
function camelCaseToDash( myStr ) {
return myStr.replace( /([a-z])([A-Z])/g, '$1-$2' ).toLowerCase();
}
var myStr = camelCaseToDash( 'thisString' );
alert( myStr ); // => this-string
@arulprabakaran
arulprabakaran / input.scss
Created June 2, 2022 13:25
Generated by SassMeister.com.
@mixin stroke($width, $color) {
$shadow: ();
@for $i from -$width through $width {
$shadow: append($shadow,#{$width}px #{$i}px $color, comma);
$shadow: append($shadow,#{-$width}px #{$i}px $color, comma);
$shadow: append($shadow,#{$i}px #{$width}px $color, comma);
$shadow: append($shadow,#{$i}px #{-$width}px $color, comma);
}
text-shadow: $shadow;
}
@arulprabakaran
arulprabakaran / useState.js
Created September 6, 2023 13:51
React like Hooks for Node
function useState(initVal) {
let _val = initVal;
const state = () => _val;
const setState = newVal => {
_val = newVal;
}
return [state, setState];
}
// Example

An guide how to activate Windows 11 Pro for free

Why?

Because you will get some more features like an Bitlocker and host your device as an External Desktop which can be accessed through the internet

Am i also able to switch from any other edition to Pro?

The answer is yes! You can switch from almost any edition to Pro completely for free!

Note for users with unactivated Pro edition

People which already have Pro, but not activated, can skip to this step.

Getting started

What you first need to do is open CMD (Command Prompt) as Administrator using this keyboard key: