Skip to content

Dev Tools

Secret knowledge

Html Prototype

Stack 2020

Next.js

Samples

-Nextjs - samples

Shopify

Hydrogen

Create new project

Tailwind CSS

Tailwind & SPFx

Design to Code

Best practises

MSDN

Tools List

RegExp

Create shortcut(s)

Debug

TweetDeck (Twitter)

PowerShell Module Installs

Translation

Dokumentation Site Generator

ZoomIt

Convert / Format

Content generators

Image Tools

Emoji

Sound Tools

Password generators

GUID

JSON

Change Log

Download Website / offline

wget --recursive --no-clobber --page-requisites --html-extension --convert-links --restrict-file-names=windows -domains www.yourwebsite.com --no-parent www.yourwebsite.com/someurl

Email

Ressourcen Files

VS.Code

C# Development

Command Line

open last active window

code -r .

open in new window

code -n

VS.Code Extensions

settings.json

// Is git enabled
"git.enabled": false,
// Path to the git executable
"git.path": null,
// Whether auto fetching is enabled.
"git.autofetch": false,

Info: https://stackoverflow.com/questions/30331338/remove-git-integrations-from-vscode

Configure VSCode Intellisense

Edge Browser

Exclude Folders from VS.Code

CLI App Generator

Fabric Icons

Favicons

WebSite Builder

SP bookmarklets

Open Site Settings

javascript:(function(){var url = document.location.href.split('/Pages')[0].split('/SitePages')[0].split('/_layouts')[0];if(url.endsWith('.aspx')){url = url.replace(new RegExp('\/[a-z A-Z 0-1 \- _]*.aspx'),'')}location.replace(url+"/_layouts/15/settings.aspx")}());

Open Page in Maintenance Mode

javascript:(function(){location.replace(window.location.href+"?maintenancemode=true")})();

Go to Classic

javascript:(function(){document.cookie="splnu=0;domain="+window.location.hostname+";"; location.href=location.href;})();

Go to Modern

javascript:(function(){document.cookie="splnu=1;domain="+window.location.hostname+";"; location.href= location.href})();

Open Web Part Manager

javascript:(function(){location.replace(window.location.href+"?contents=1")})();

Delete node_modules Folder

npm install rimraf -g
  1. creat fast-del.bat file
@ECHO OFF
SET FOLDER=%1
IF [%1]==[] (
    ECHO Delete Folder: "%CD%"?
    PAUSE
    SET FOLDER="%CD%"
    CD /
)
ECHO Deleting folder %FOLDER%
rimraf %FOLDER%
  1. This .bat file should be available under your "PATH" environmental variable. In other words, you should be able to run it from any command-line from any location. The easiest approach is to just copy this file to C:\Windows directory (it's absolutely safe).

  2. Open regedit and go to "HKEY_CLASSES_ROOT\Directory\shell\" path.

  3. Right-click on the "shell" folder and select New -> Key. Give it the name "Fast Delete".

  4. Right-click on a newly created "Fast Delete" folder, then New -> Key. Give it the name "command".

  5. Double-click on the default value for "command" folder and under value data enter:

cmd /c "cd %1 && fast-del.bat"
copy($$('a').map(a => a.href).join('\n'))
function Get-UrlStatusCode([string] $Url)
{
    try
    {
        (Invoke-WebRequest -Uri $Url -UseBasicParsing -DisableKeepAlive).StatusCode
    }
    catch [Net.WebException]
    {
        [int]$_.Exception.Response.StatusCode
    }
}


foreach($line in Get-Content C:\url.txt) 
{
    if($line -match $regex){

     $statusCode = Get-UrlStatusCode  $line
     if($statusCode -le "200")
     {
        $line + " => OK"
     }
     else
     {
        $line + " => Error"
     }
    }
}

Static Search Library

Public API