- maim
- xclip
Set this on your i3 config file ~/.i3/config
# Screenshots
Put this on your wp-config.php
/* That's all, stop editing! Happy blogging. */
define('FS_METHOD', 'direct');
mhwd-chroot
yaourt -S mhwd-chroot
sudo mhwd-chroot
grub-install /dev/sda
grub-install --recheck /dev/sda
mkdir "01 Enero"; | |
mkdir "02 Febrero"; | |
mkdir "03 Marzo"; | |
mkdir "04 Abril"; | |
mkdir "05 Mayo"; | |
mkdir "06 Junio"; | |
mkdir "07 Julio"; | |
mkdir "08 Agosto"; | |
mkdir "09 Septiembre"; | |
mkdir "10 Octubre"; |
Put this function on the main php file of your dependent plugin and call it with the rigth parameters.
/**
* Verify if a plugin is active, if not deactivate the actual plugin an show an error
* @param [string] $my_plugin_name
* The plugin name trying to activate. The name of this plugin
* Ex:
import { spawn } from 'child_process'; | |
export function spawnAsync(command: string, args?: string[]): Promise<void> { | |
return new Promise((resolve, reject) => { | |
const process = spawn(command, args); | |
process.stdout.on('data', data => { | |
console.log(data.toString()); | |
}); | |
process.stderr.on('data', data => { |
import { promisify } from 'util'; | |
export async function fileExists(path: string): Promise<boolean> { | |
try { | |
await promisify(access)(path); | |
return true; | |
} catch (err) { | |
if (isAccessError(err) && err.code === 'ENOENT') { | |
return false; | |
} |
import { | |
AfterViewInit, | |
Directive, | |
ElementRef, | |
Inject, | |
Input, | |
} from '@angular/core'; | |
import { DOCUMENT } from '@angular/common'; | |
import { MapPathsDirective } from './map-path.directive'; |