Skip to content

Instantly share code, notes, and snippets.

View NBprojekt's full-sized avatar
:octocat:
Work smarter, not harder

Norbert Bartko NBprojekt

:octocat:
Work smarter, not harder
View GitHub Profile
@ocean90
ocean90 / box-shadow.html
Last active July 12, 2024 04:58
CSS3 Box Shadow, only top/right/bottom/left and all
<!DOCTYPE html>
<html>
<head>
<title>Box Shadow</title>
<style>
.box {
height: 150px;
width: 300px;
margin: 20px;
@davops
davops / delete_from_IIS.ps1
Created June 14, 2016 15:50
Deleting sites and application pools from Microsoft IIS using PowerShell
#Deleting Sites and app pools in IIS 7 with PowerShell
$appCmd = "C:\windows\system32\inetsrv\appcmd.exe"
#lists all the sites
& $appcmd list site
#deletes a specific site
& $appcmd delete site "Name of site"
#deletes a specific application pool
& $appcmd delete apppool "Name of app pool"
#delete any app pools that use a certain username (in the identity column of the GUI)
@nweldev
nweldev / nodejs_installer.ps1
Last active April 25, 2023 10:40
Powershell script installing nodejs (with git) and some npm packages
write-host "`n ## NODEJS INSTALLER ## `n"
### CONFIGURATION
# nodejs
$version = "4.4.7-x64"
$url = "https://nodejs.org/dist/latest-v4.x/node-v$version.msi"
# git
$git_version = "2.9.2"
@yangxuan8282
yangxuan8282 / emoji-info.sh
Last active October 14, 2023 07:26
Emoji❤bash
#!/bin/bash
# run this scripts with `bash emoji-info.sh` or `./emoji-info.sh`
usage() {
cat << EOF
usage: $0 [options] <emoji>
Options:
-h Show this message
-o Octal Escape Sequence
@codediodeio
codediodeio / database.rules.json
Last active July 29, 2024 09:39
Common Database Rules for Firebase
// No Security
{
"rules": {
".read": true,
".write": true
}
}