Either approach can be used to get access to the service. Additional service extensions for Startup.cs
AddInstance<IService>(new Service())
A single instance is given all the time. You are responsible for initial object creation.
Крутые фильмы | |
============= | |
[x] 12 обезьян | |
[x] Матрица 1 | |
Недооценённые фильмы | |
==================== | |
[x] Бразилия (1985) (с молодым Де Ниро) | |
[x] Темный город | |
[x] Гаттака |
gs -sDEVICE=pdfwrite \ | |
-dCompatibilityLevel=1.3 -dPDFSETTINGS=/screen -dAutoRotatePages=/None \ | |
-dColorImageDownsampleType=/Bicubic -dColorImageResolution=150 \ | |
-dGrayImageDownsampleType=/Bicubic -dGrayImageResolution=150 \ | |
-dMonoImageDownsampleType=/Bicubic -dMonoImageResolution=150 \ | |
-dNOPAUSE -dQUIET -dBATCH \ | |
-sOutputFile=output.pdf input1.pdf input2.pdf |
cd /usr/src | |
## Download DAV Ext NGINX module | |
## !! Remove this if you don't need dav ext module or replace with modules _you_ need | |
wget https://github.com/arut/nginx-dav-ext-module/archive/v3.0.0.tar.gz | |
tar xzvf v3.0.0.tar.gz | |
apt-get install -qy tar wget dpkg-dev \ | |
libssl-dev libgd-dev libgeoip-dev libhiredis-dev libluajit-5.1-dev \ | |
libmhash-dev libpam0g-dev libperl-dev libxslt1-dev |
sudo ln -sfv /lib/i386-linux-gnu/libpng16.so.16 /lib/i386-linux-gnu/libpng12.so.0 | |
sudo ln -sfv /lib/x86_64-linux-gnu/libpng16.so.16 /lib/x86_64-linux-gnu/libpng12.so.0 |
#!/usr/bin/env bash | |
set -- $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS | |
WALLPAPER=${1/ /%20} | |
WALLPAPER_URL="'file:///${WALLPAPER}'" | |
gsettings set org.gnome.desktop.background picture-uri ${WALLPAPER_URL} | |
LOCKPAPER=/usr/share/backgrounds/gdmlock.jpg | |
LOCKPAPER_TMP=/tmp/gdmlock.jpg |
Country | CountryCode | Currency | Code | |
---|---|---|---|---|
New Zealand | NZ | New Zealand Dollars | NZD | |
Cook Islands | CK | New Zealand Dollars | NZD | |
Niue | NU | New Zealand Dollars | NZD | |
Pitcairn | PN | New Zealand Dollars | NZD | |
Tokelau | TK | New Zealand Dollars | NZD | |
Australian | AU | Australian Dollars | AUD | |
Christmas Island | CX | Australian Dollars | AUD | |
Cocos (Keeling) Islands | CC | Australian Dollars | AUD | |
Heard and Mc Donald Islands | HM | Australian Dollars | AUD |
[automount] | |
root = / | |
options = "metadata" |
<?php | |
require_once 'acf.php'; | |
add_action('admin_head', function () { | |
do_action('acf/input/admin_head'); | |
acf_form_head(); | |
wp_enqueue_media(); | |
}); | |
add_action('admin_enqueue_scripts', function () { |
;; Copy current boot option and call it "No Hyper-V" | |
bcdedit /copy {current} /d "No Hyper-V" | |
;; Copy guid from the command above | |
bcdedit /set {ff-23-113-824e-5c5144ea} hypervisorlaunchtype off |