Shortcut | Description |
---|---|
win + ctrl + d | create virtual desktop |
win + ctrl + → | go to virtual desktop on the right |
win + ctrl + ← | go to virtual desktop on the left |
win + tab | open task view (including virtual desktops) |
win + z | open snap layouts and choose layout by number |
win + ↑ (or ↓) | max- / minimize window |
win + alt + ↑ (or ↓, ←, →) | snap window to part of the screen |
win + shift + ↑ (or ↓, ←, →) | move window to monitor in direction |
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
package main | |
// thanks to hanemille | |
import ( | |
"fmt" | |
"io" | |
"net/http" | |
"os" | |
"strings" |
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
# create json object | |
$params = @{ ` | |
'element' = 'value' ` | |
} | |
Write-Output "defined parameters" | |
# start dialog to get authentification data |
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 http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta charset="UTF-8"> | |
<title></title> | |
<script> | |
if (navigator.appName === 'Microsoft Internet Explorer') { | |
var bVersion = ((navigator.appVersion).split(";"))[1]; | |
var bNum = Number((bVersion.split("MSIE"))[1]); |
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
// enums3.rs | |
// | |
// Address all the TODOs to make the tests pass! | |
// | |
// Execute `rustlings hint enums3` or use the `hint` watch subcommand for a | |
// hint. | |
// I AM NOT DONE | |
enum Message { |
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
/** | |
* @file wordclock.ino | |
* @author telegnom ([email protected]) | |
* @date 2019-02-23 | |
* @version 1.1 | |
* | |
* @brief firmware for the c3e wordclock | |
* | |
* requires the time.h and timezone.h libraries | |
* https://github.com/PaulStoffregen/Time/ |
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
<?php | |
$it = new RecursiveIteratorIterator( new RecursiveDirectoryIterator('.')); | |
$regx = new RegexIterator($it, '/^.*\.php$/i', // only matched text will be returned | |
RecursiveRegexIterator::GET_MATCH); | |
foreach ($regx as $file) { | |
$file = $file[0]; | |
exec('php -l ' . $file); //check the syntax here | |
} |
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
// SOURCE https://stackoverflow.com/questions/16616722/sending-all-javascript-console-output-into-a-dom-element | |
var baseLogFunction = console.log; | |
console.log = function(){ | |
baseLogFunction.apply(console, arguments); | |
var args = Array.prototype.slice.call(arguments); | |
for(var i=0;i<args.length;i++){ | |
var node = createLogNode(args[i]); |
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
/<sheetProtection algorithmName="SHA-512" hashValue=".*" saltValue=".*" spinCount="\d+" sheet="\d+" objects="\d+" scenarios="\d+"\/>/ |
NewerOlder