Applies to inactivated windows too
- HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
- if it doesn't already exist, make a new DWORD value first (32 bit) and name it TaskbarGlomLevel
- value hexadecimal 2
//// Core modules | |
const crypto = require('crypto'); | |
const util = require('util'); | |
//// External modules | |
const mongoose = require('mongoose'); | |
//// Modules | |
const randomBytesAsync = util.promisify(crypto.randomBytes); |
// Modules | |
const express = require('express') | |
const mysql = require('mysql') | |
const bodyParser = require('body-parser') | |
// Settings | |
const port = 3000 | |
// Express | |
const app = express() |
1 hex (aa) = 1 byte = 8 bits (1010 1010)
Name | Size |
---|---|
bit | 1 bit |
nybble | 4 bits |
byte | 8 bits |
hex | 8 bits or 1 byte |
halfword | 16 bits |
function errorFunction(){ | |
return Promise.reject('Reject value.'); | |
} | |
function goodFunction(error=false){ | |
return Promise.resolve('Resolved value.'); | |
} | |
// Example 1. One level | |
goodFunction().then(function(ok){ | |
console.log('First "then" called. Value: ', ok); |
<?php | |
add_filter( 'the_content', 'my_the_content_filter', 22 ); | |
function my_the_content_filter( $content ) { | |
if ( is_home() || is_archive() || is_search() ){ | |
// Mode word | |
$mode = 'sentence'; // word or sentence | |
$count = 11; |
/* | |
Theme Name: Turbo Surfing | |
Theme URI: # | |
Author: Team Perth | |
Author URI: # | |
Description: A theme for turbosurfing.com. | |
Version: 1.0 | |
License: GNU General Public License v2 or later | |
License URI: http://www.gnu.org/licenses/gpl-2.0.html | |
Text Domain: turbosurfing |
prefixLength - The number of pads before the first calendar day | |
suffixLength - The number of pads after the last calendar day | |
monthFirstWeekDay - The weekday of first month day. int 0-6 where 0 is Sunday and 6 is Saturday | |
monthLastWeekDay - he weekday of last month day. int 0-6 where 0 is Sunday and 6 is Saturday | |
calendarWeekStart - The weekday to which the calendar days start. int 0-6 where 0 is Sunday and 6 is Saturday | |
Pseudocode: | |
prefixLength = monthFirstWeekDay - calendarWeekStart |