This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
#mapid { height: 500px; } | |
</style> | |
</head> |
This file contains 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
#Durch Out-GridView ist eine auswahl über ein grafische Oberfläche möglich | |
#App aus dem aktuellen Userprofil deinstallieren: | |
Get-AppxPackage | sort name | Out-GridView -PassThru | Remove-AppxPackage | |
#ggf. den Parameter -AllUser bei Get-AppxPackage und Remove-AppxPackage hinzufügen, um bei allen Userprofilen des PCs die App zu deinstallieren | |
#Um die App aus dem Windows Image zu entfernen, damit sie bei einem neuen User nicht wieder installiert wird: | |
Get-AppXProvisionedPackage -online | sort DisplayName | Out-GridView -PassThru | Remove-AppxProvisionedPackage -online |
This file contains 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
<!doctype html> | |
<html lang="de-DE"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="x-ua-compatible" content="ie=edge"> | |
<title>RRD to Highchart</title> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css" /> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highcharts/6.0.7/css/highcharts.css" /> |
This file contains 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
# with reference to http://theadminguy.com/2009/04/30/portscan-with-powershell/ | |
function fastping{ | |
[CmdletBinding()] | |
param( | |
[String]$computername = "127.0.0.1", | |
[int]$delay = 100 | |
) | |
$ping = new-object System.Net.NetworkInformation.Ping | |
# see http://msdn.microsoft.com/en-us/library/system.net.networkinformation.ipstatus%28v=vs.110%29.aspx |
This file contains 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
for a in $(ls -1 *.txt); do echo $a; done |
This file contains 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
/* Mobile first */ | |
/* --- >= smartphones landscape --- */ | |
@media screen and (min-width: 480px) { | |
} | |
/* --- >= tablets portrait --- */ | |
@media screen and (min-width: 768px) { | |
This file contains 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
<!doctype html> | |
<html lang="de-DE"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>HTML 5 Template</title> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<style></style> | |
</head> |
This file contains 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() { | |
function init(ownjQuery) { | |
var $ = jQuery; | |
console.log('jQueryFy'); | |
} | |
if(typeof jQuery === "undefined") { | |
loadScript('//code.jquery.com/jquery.js', function() { |
This file contains 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( $ ){ | |
$.fn.flickrStream = function(options) { | |
var $that = $(this); | |
var defaults = { | |
api_key: 'a08b39223a47743d48a2fe27afefda28', | |
user_id: 's1nky', | |
count: '9', | |
tpl: '<li><a href="https://www.flickr.com/photos/{{pathalias}}/{{id}}/" title="{{title}} ({{datetaken}})" target="_blank" style="background-image:url({{url_m}});"></a></li>' | |
}; |
This file contains 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
$printerclass = [wmiclass]'Win32_Printer'; | |
$printer = $printerclass.CreateInstance(); | |
$printer.Name = $printer.DeviceID = 'Microsoft XPS Document Writer'; | |
$printer.PortName = 'XPSPort:'; | |
$printer.Network = $false; | |
$printer.Shared = $false; | |
$printer.DriverName = 'Microsoft XPS Document Writer'; | |
$printer.Put() |
NewerOlder