^ Matches at the start of string or start of line if multi-line mode is
enabled. Many regex implementations have multi-line mode enabled by
default.
$ Matches at the end of string or end of line if multi-line mode is enabled.
.' | |
dd | |
0WWWNx,... | |
.:X0WWWWXO:lXx.. | |
.. dNWWd; kWWxc. | |
,XWWKOXWWW0:. | |
.XWWWWWWWWd; | |
.XWWWWWWook0x:. | |
.oNWWWWWWc .;. | |
.dKXWWWWWWl .;o0x;'. |
function randomDataSet(dataSetSize, minValue, maxValue) { | |
return new Array(dataSetSize).fill(0).map(function(n) { | |
return Math.random() * (maxValue - minValue) + minValue; | |
}); | |
} |
# Use multirust to manage multiple Rust builds: | |
# 1. Install multirust | |
curl -sf https://raw.githubusercontent.com/brson/multirust/master/blastoff.sh | sh | |
# 2. Show installed Rust builds | |
multirust list-toolchains | |
# 3. Install new build (stable, beta, nightly) | |
multirust update nightly |
QTabBar, | |
QTabBar::tab | |
{ | |
font-family: "Noto Sans"; | |
font-size: 11px; | |
height: 16px; | |
padding: 2px; | |
border: 0px; | |
border-bottom: 3px solid palette(dark); | |
background-color: palette(dark); |
cubes look like this: | |
e-------f | |
/| /| | |
/ | / | | |
a--|----b | | |
| g----|--h | |
| / | / | |
c-------d |
<?php | |
require( 'wp-load.php' ); | |
//set_time_limit(30000); // you can set time limit, but I prefer to use command line > php fix-duplicated-posts.php | |
$query = "SELECT id,post_name, Count(*) FROM wp_posts WHERE post_type = 'post' GROUP BY post_name HAVING Count(*) > 1"; | |
$duplicated_posts = $wpdb->get_results( $query ); | |
foreach ( $duplicated_posts as $result ) { | |
$prepost = get_post($result->id); | |
$prepost->post_name = ''; |
sites | |
|__ ms.dev | |
| |__ content | |
| |__ index.php | |
| |__ wp => ../../wordpress/stable | |
| |__ wp-config.php | |
|__ one.dev | |
| |__ content | |
| |__ index.php | |
| |__ wp => ../../wordpress/stable |
. | |
##############..... ############## | |
##############......############## | |
##########..........########## | |
##########........########## | |
##########.......########## | |
##########.....##########.. | |
##########....##########..... | |
..##########..##########......... | |
....##########.#########............. |
Many of us spend many hours of our days using their terminal. Plus, we all have different tastes when it comes to color schemes. That's why the ability to change the color scheme of a terminal is one of its more important featuresl. Throughout this tutorial, I'll teach you how you can change the looks of your terminal, step by step.
This tutorial is aimed at elementary OS users, but it also works for any Ubuntu user. Start by installing dconf-tools:
sudo apt-get install dconf-tools
Secondly, you need to decide which theme you're going to apply. You can find dozens of terminal color schemes online, you can even design your own using this web application. Design the color scheme, hit "Get Scheme" and choose "Terminator". You'll get a raw text file with a background color, a foreground color and a palette. Those strings define your color scheme. In this tutorial, I'll post an