sudo add-apt-repository ppa:gnome-terminator
sudo apt-get update
sudo apt-get install terminator
Terminator should be setup as default now. Restart your terminal (shortcut: "Ctrl+Alt+T").
import {PipeTransform, Pipe} from 'angular2/core'; | |
@Pipe({ name: 'highlight' }) | |
export class HighLightPipe implements PipeTransform { | |
transform(text: string, [search]): string { | |
return search ? text.replace(new RegExp(search, 'i'), `<span class="highlight">${search}</span>`) : text; | |
} | |
} | |
/** Usage: |
<?php | |
use PHPMailer\PHPMailer\PHPMailer; | |
use PHPMailer\PHPMailer\SMTP; | |
use PHPMailer\PHPMailer\Exception; | |
require("assets/PHPMailer/src/PHPMailer.php"); | |
require("assets/PHPMailer/src/SMTP.php"); | |
require("assets/PHPMailer/src/Exception.php"); | |
$name = trim($_POST['name']); |
Content-Type: text/x-zim-wiki | |
Wiki-Format: zim 0.4 | |
Creation-Date: 2015-10-14T22:07:03+05:30 | |
====== Project Euler ====== | |
Created Wednesday 14 October 2015 | |
Problem 1: | |
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. | |
Find the sum of all the multiples of 3 or 5 |