27 Aralık 2016 Salı

Wordpress CSS ile meta bilgilerini kaldırmak



.entry-meta .cat-links, .entry-meta .cat-links a, .tag-links, .tag-links a { display: none; }

.read-more{ display:none !important; }

.entry-meta { display: none; }

.entry-meta .by-author, .entry-meta .date { display: none; }

10 Aralık 2016 Cumartesi

Wordpress SSL Kurulumu

wp-config.php
define( 'WP_SITEURL', 'https://google.com' );
define( 'WP_HOME', 'https://google.com' );
define( 'FORCE_SSL_LOGIN', true );
define( 'FORCE_SSL_ADMIN', true );

.htaccess

#BEGIN WordPress RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://google.com/$1 [R,L] RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] #END WordPress

28 Ocak 2016 Perşembe

Yerel Grup İlkesi - Denetim Masası Engelleme

Kullanıcı yapılandırması / Yönetim Şablonları / Denetim masası
Ve bu bölümde Denetim masasına erişimi yasakla seçeneği var.

Yerel Grup İlkesi - USB Engelleme

Computer Configuration  > Administrator Templates > System > Removable Storage Access.

Table below shows the possible settings for the USB storage access:
Setting Option
Enable USB Storage (Default)
Read Only Storage
Disable USB Storage
Removable Disk: Deny execute access
Not configured
Not configured
Enable
Removable Disk: Deny read access
Not configured
Not configured
Enable
Removable Disk: Deny write access
Not configured
Enable
Enable

Program Kurulumunu Engelleme

Başlat > Çalıştır > gpedit.msc

Yerel grup ilkesi düzenleyicisi açılacak.

Yöentim Şablonları > Windows Bileşenleri > Windows Installer > Kullanıcı Yüklemesini Yasakla seçeneğine tıklayıp ilkeyi düzenle

Windows 10 Kullanıcının Microsoft Account Açmasını Engelleme

Windows 10
https://www.youtube.com/watch?v=D25TvWS62RY

In Windows 8 or Windows 8.1, whenever you try to open some Windows Store apps (aka Metro apps) such as Mail, Calendar, People, etc, Windows asks you to sign in using a Microsoft account (formerly known as Windows Live ID).
Add_Microsoft_Account_Windows_Mail_App.png
These apps don't allow their use until you sign in using your Microsoft account such as Hotmail ID, etc. You can't use other accounts to sign into those apps.
But did you know Microsoft added a new option in Windows 8.1 which allows you to disable this requirement and use enterprise email IDs to sign into all these Windows Store apps which require Microsoft account?
Yes, that's true. Windows 8.1 comes with a built-in feature to turn Microsoft account requirement off but by default this feature or option is not enabled and you need to enable this option so that you can use your work account.
Use_Work_Account_Sign_in_Windows_Store_Apps.png
Once you enable this option, you can provide correct work account details such as email ID, password, server address, domain name, etc to sign into Windows Store apps such as Mail successfully without using Microsoft account.
You can disable Microsoft account requirement in Windows 8.1 Store apps using any of following 2 ways:
  • METHOD 1: Using Group Policy Editor (gpedit.msc)
  • METHOD 2: Using Registry Editor (regedit)
METHOD 1: Using Group Policy Editor (gpedit.msc)
1. Type gpedit.msc in RUN or Start search box and press Enter. It'll open Group Policy Editor.
2. Now go to:
Computer Configuration -> Administrative Templates -> Windows Components -> App runtime
3. In right-side pane, look for "Allow Microsoft accounts to be optional" option.
4. The option would be set to Not Configured. Double-click on it and set it to Enabled.
Allow_Microsoft_Account_Optional_Windows_Store_Apps.png
That's it. It'll immediately turn off Microsoft account sign in requirement in Windows Store apps.
PS: To restore default behavior, set the "Allow Microsoft accounts to be optional" option toNot Configured.
METHOD 2: Using Registry Editor (regedit)
If you don't want to use or can't use Group Policy Editor, you can take help of Registry Editor for the same task. Just follow these simple steps:
1. Type regedit in RUN or Start search box and press Enter. It'll open Registry Editor.
2. Now go to following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
3. In right-side pane, create a new DWORD MSAOptional and set its value to 1
Disable_Microsoft_Account_Requirement_Windows_Store_Apps.png
4. Close Registry Editor and restart your system or restart Explorer as mentioned here. After restart, Microsoft account sign in will no longer be required in Windows Store apps.
PS: To restore default settings in future, delete the DWORD MSAOptional created in step 3.

23 Ocak 2016 Cumartesi

Ubuntu Network Intercafes

vi /etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
        address 192.168.0.100
        netmask 255.255.255.0
        network 192.168.0.0
        broadcast 192.168.0.255
        gateway 192.168.0.1
        dns-nameservers 8.8.8.8 8.8.4.4