My life bookmarker
- Issues tracker
- Best practices markers
Statistic
Time Series basis: https://onlinecourses.science.psu.edu/stat510/node/41
My life bookmarker
My life bookmarker
Statistic
Time Series basis: https://onlinecourses.science.psu.edu/stat510/node/41
https://github.com/dotnet/corefx/issues/16322
Net Standad: 1.4
Standard Lib: 1.6.1
Type: Guide
Descriptions:
[1] Install Windows 10 First
[2] Then Install Ubuntu
[3] Boot Windows 10 only do not show grub menu
[4] Repair Boot (Link)[https://help.ubuntu.com/community/Boot-Repair]
[5] Receive Error Boot Device Not Found (3F0) Pavilion 23 All In One (Link)[http://ubuntuforums.org/showthread.php?t=2238714]
NOTE
: Use UEFF boot.
Reason:
N/A
Solutions:
HP and Sony only boot Windows. So we have many work arounds, some work better than others.
Since you do not have any Windows you can just create the Windows efi boot file with the Windows name. Then the UEFI will think it is booting Windows but really boots grub.
You will have to recreate in the efi partition the Windows folder, a boot folder under Windows and copy grubx64.efi into that folder and rename it to bootmgfw.efi.
mount /dev/sda1 /mnt
cd /mnt/EFIuse ls to see if mounted correctly
ls -l
mkdir Microsoft
mkdir Microsoft/Boot
cp /mnt/EFI/ubuntu/grubx64.efi /mnt/EFI/Microsoft/Boot/bootmgfw.efiMost systems also have a /Boot folder and can boot grub from that using a hard drive entry.
mkdir Bootcp /mnt/EFI/ubuntu/grubx64.efi /mnt/EFI/Boot/bootx64.efi
Your ls -l should then have this in the efi partition:
/EFI/Boot
/EFI/Microsoft/Boot
/EFI/ubuntuYou have a large 2TB drive. System will run better with a smaller / (root) partition and then larger /home or /mnt/data partition(s). With a large root, grub, kernels & system files may be anywhere in root or anywhere on drive. So drive has to jump all over 2TB to find its files. I expect it has ways to optimize that, but with a smaller / then it does not have that much space to find files from.
I think each service function in the same service should subcrible event by themeself. Instead of one central subcribler then distribute event to another function by a mediator like MediatR
Because MediaR will not guarantee that event will be send to all receiver, and It wont retry if It was failed.
An I dont think Mediator have any retry, event processing guarantee . Is that bug with MediatR.Publish ?
BASIC
Variable declaration
: implicitly typed (var i = 10;) vs explicitly typed (int i = 10;)Memory management
: HEAP vs STACKMemory management
: Reference type vs Value type.DATABASE
WEBSERVER
https://github.com/dotnet/docfx/releases
mkdocs
sphinx readthedocs
Type: Impediment
Descriptions:
ng-transclude prevent to access parent $scope
Preproduction:
<div> <-- $scopeA
<ng-transclude> </ng-transclude><-- $scopeB
<div>
Structure of $scopeA = {hello: 'world'}
Normally when we call "$scopeB.hello", It will travels up to parent $scope to find hello
property.
The result if $scopeB.hello
is exactly equal to $scopeA.hello
Reason:
N/A
Solutions:
N/A
ionic-team/ionic-framework#2997
Solution:
<ion-nav-view name="tabview"></ion-nav-view>
Ensure that all files listed in the assets array are available to download. If any of these files return 404 or such (including the icons) the entire install will fail. You must either (A) make those files available or (B) delete those missing entries from the plist. The icon entries are not required for the download to work.
Solution:
disable Lightweight load
System.UnauthorizedAccessException: Attempted to perform an unauthorized operation.
at System.Security.AccessControl.Win32.SetSecurityInfo(ResourceType type, String name, SafeHandle handle, SecurityInfos
http://stackoverflow.com/questions/18452265/webdeploy-permission-issue
Solution:
Unless the user is an administrator, you need to grant them access to deploy to the website. You can do so by right clicking on the website in IIS Manager and select Deploy :: Configure Web Deploy Publishing. Just select the user and click OK (you can delete the publish settings file it generates on the desktop)
There is space below that line for the descenders you find on letters like f, j, p and q.
http://stackoverflow.com/questions/5804256/why-an-image-inside-a-div-has-an-extra-space-below-the-image.
Solution: set img to display: block;
https://www.hass.de/content/setup-your-iis-ssl-perfect-forward-secrecy-and-tls-12
# Copyright 2014, Alexander Hass
# http://www.hass.de/content/setup-your-iis-ssl-perfect-forward-secrecy-and-tls-12
#
# Version 1.4
# - RC4 has been disabled.
# Version 1.3
# - MD5 has been disabled.
# Version 1.2
# - Re-factored code style and output
# Version 1.1
# - SSLv3 has been disabled. (Poodle attack protection)
Write-Host 'Configuring IIS with SSL/TLS Deployment Best Practices...'
Write-Host '--------------------------------------------------------------------------------'
# Disable Multi-Protocol Unified Hello
New-Item 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\Multi-Protocol Unified Hello\Server' -Force | Out-Null
New-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\Multi-Protocol Unified Hello\Server' -name Enabled -value 0 -PropertyType 'DWord' -Force | Out-Null
Write-Host 'Multi-Protocol Unified Hello has been disabled.'
# Disable PCT 1.0
New-Item 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\PCT 1.0\Server' -Force | Out-Null
New-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\PCT 1.0\Server' -name Enabled -value 0 -PropertyType 'DWord' -Force | Out-Null
Write-Host 'PCT 1.0 has been disabled.'
# Disable SSL 2.0 (PCI Compliance)
New-Item 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0\Server' -Force | Out-Null
New-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0\Server' -name Enabled -value 0 -PropertyType 'DWord' -Force | Out-Null
Write-Host 'SSL 2.0 has been disabled.'
# NOTE: If you disable SSL 3.0 the you may lock out some people still using
# Windows XP with IE6/7. Without SSL 3.0 enabled, there is no protocol available
# for these people to fall back. Safer shopping certifications may require that
# you disable SSLv3.
#
# Disable SSL 3.0 (PCI Compliance) and enable "Poodle" protection
New-Item 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 3.0\Server' -Force | Out-Null
New-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 3.0\Server' -name Enabled -value 0 -PropertyType 'DWord' -Force | Out-Null
Write-Host 'SSL 3.0 has been disabled.'
# Add and Enable TLS 1.0 for client and server SCHANNEL communications
New-Item 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0\Server' -Force | Out-Null
New-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0\Server' -name 'Enabled' -value '0xffffffff' -PropertyType 'DWord' -Force | Out-Null
New-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0\Server' -name 'DisabledByDefault' -value 0 -PropertyType 'DWord' -Force | Out-Null
Write-Host 'TLS 1.0 has been enabled.'
# Add and Enable TLS 1.1 for client and server SCHANNEL communications
New-Item 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Server' -Force | Out-Null
New-Item 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Client' -Force | Out-Null
New-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Server' -name 'Enabled' -value '0xffffffff' -PropertyType 'DWord' -Force | Out-Null
New-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Server' -name 'DisabledByDefault' -value 0 -PropertyType 'DWord' -Force | Out-Null
New-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Client' -name 'Enabled' -value 1 -PropertyType 'DWord' -Force | Out-Null
New-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Client' -name 'DisabledByDefault' -value 0 -PropertyType 'DWord' -Force | Out-Null
Write-Host 'TLS 1.1 has been enabled.'
# Add and Enable TLS 1.2 for client and server SCHANNEL communications
New-Item 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server' -Force | Out-Null
New-Item 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client' -Force | Out-Null
New-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server' -name 'Enabled' -value '0xffffffff' -PropertyType 'DWord' -Force | Out-Null
New-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server' -name 'DisabledByDefault' -value 0 -PropertyType 'DWord' -Force | Out-Null
New-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client' -name 'Enabled' -value 1 -PropertyType 'DWord' -Force | Out-Null
New-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client' -name 'DisabledByDefault' -value 0 -PropertyType 'DWord' -Force | Out-Null
Write-Host 'TLS 1.2 has been enabled.'
# Re-create the ciphers key.
New-Item 'HKLM:SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers' -Force | Out-Null
# Disable insecure/weak ciphers.
$insecureCiphers = @(
'DES 56/56',
'NULL',
'RC2 128/128',
'RC2 40/128',
'RC2 56/128',
'RC4 40/128',
'RC4 56/128',
'RC4 64/128',
'RC4 128/128'
)
Foreach ($insecureCipher in $insecureCiphers) {
$key = (Get-Item HKLM:\).OpenSubKey('SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers', $true).CreateSubKey($insecureCipher)
$key.SetValue('Enabled', 0, 'DWord')
$key.close()
Write-Host "Weak cipher $insecureCipher has been disabled."
}
# Enable new secure ciphers.
# - RC4: It is recommended to disable RC4, but you may lock out WinXP/IE8 if you enforce this. This is a requirement for FIPS 140-2.
# - 3DES: It is recommended to disable these in near future.
$secureCiphers = @(
'AES 128/128',
'AES 256/256',
'Triple DES 168/168'
)
Foreach ($secureCipher in $secureCiphers) {
$key = (Get-Item HKLM:\).OpenSubKey('SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers', $true).CreateSubKey($secureCipher)
New-ItemProperty -path "HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\$secureCipher" -name 'Enabled' -value '0xffffffff' -PropertyType 'DWord' -Force | Out-Null
$key.close()
Write-Host "Strong cipher $secureCipher has been enabled."
}
# Set hashes configuration.
New-Item 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Hashes\MD5' -Force | Out-Null
New-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Hashes\MD5' -name Enabled -value 0 -PropertyType 'DWord' -Force | Out-Null
New-Item 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Hashes\SHA' -Force | Out-Null
New-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Hashes\SHA' -name Enabled -value '0xffffffff' -PropertyType 'DWord' -Force | Out-Null
# Set KeyExchangeAlgorithms configuration.
New-Item 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\KeyExchangeAlgorithms\Diffie-Hellman' -Force | Out-Null
New-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\KeyExchangeAlgorithms\Diffie-Hellman' -name Enabled -value '0xffffffff' -PropertyType 'DWord' -Force | Out-Null
New-Item 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\KeyExchangeAlgorithms\PKCS' -Force | Out-Null
New-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\KeyExchangeAlgorithms\PKCS' -name Enabled -value '0xffffffff' -PropertyType 'DWord' -Force | Out-Null
# Set cipher suites order as secure as possible (Enables Perfect Forward Secrecy).
$cipherSuitesOrder = @(
'TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P521',
'TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384',
'TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256',
'TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P521',
'TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384',
'TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P256',
'TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P521',
'TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA_P521',
'TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P384',
'TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256',
'TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA_P384',
'TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA_P256',
'TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384_P521',
'TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384_P384',
'TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256_P521',
'TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256_P384',
'TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256_P256',
'TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384_P521',
'TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384_P384',
'TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA_P521',
'TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA_P384',
'TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA_P256',
'TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256_P521',
'TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256_P384',
'TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256_P256',
'TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA_P521',
'TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA_P384',
'TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA_P256',
'TLS_DHE_DSS_WITH_AES_256_CBC_SHA256',
'TLS_DHE_DSS_WITH_AES_256_CBC_SHA',
'TLS_DHE_DSS_WITH_AES_128_CBC_SHA256',
'TLS_DHE_DSS_WITH_AES_128_CBC_SHA',
'TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA',
'TLS_RSA_WITH_AES_256_CBC_SHA256',
'TLS_RSA_WITH_AES_256_CBC_SHA',
'TLS_RSA_WITH_AES_128_CBC_SHA256',
'TLS_RSA_WITH_AES_128_CBC_SHA',
'TLS_RSA_WITH_3DES_EDE_CBC_SHA'
)
$cipherSuitesAsString = [string]::join(',', $cipherSuitesOrder)
New-ItemProperty -path 'HKLM:\SOFTWARE\Policies\Microsoft\Cryptography\Configuration\SSL\00010002' -name 'Functions' -value $cipherSuitesAsString -PropertyType 'String' -Force | Out-Null
Write-Host '--------------------------------------------------------------------------------'
Write-Host 'NOTE: After the system has been rebooted you can verify your server'
Write-Host ' configuration at https://www.ssllabs.com/ssltest/'
Write-Host "--------------------------------------------------------------------------------`n"
Write-Host -ForegroundColor Red 'A computer restart is required to apply settings. Restart computer now?'
Restart-Computer -Force -Confirm
ionic-team/ionic-framework#1078
ionic-team/ionic-framework#5102
When scrolling starts on a label, the scroll is canceled. This occurs on iOS, haven't tested Android.
This problem is demonstrated in the following codepen: http://codepen.io/manduro/pen/vLpEzx/
(Open it on iOS or in Chrome device mode)
http://www.azurefieldnotes.com/2016/11/02/app-service-plan-outbound-network-connection-limit/
App Service Plan | Connection Limit |
---|---|
Free F1 | 250 |
Shared D1 | 250 |
Basic B1 1 Instance | 1920 |
Basic B2 1 Instance | 3968 |
Basic B3 1 Instance | 8064 |
Standard S1 1 Instance | 1920 |
Standard S1 2 Instances | 1920 per instance |
Standard S2 1 Instance | 3968 |
Standard S3 1 Instance | 8064 |
Premium P1 1 Instance (Preview) | 1920 |
WebApp Name | Process Name | Open Socket Count |
---|---|---|
App2 | .WebJob.exe | 4 |
App2 | .WebJob.exe | 4 |
App2 | w3wp.exe | 2 |
App1 | .WebJob.exe | 8 |
App1 | .WebJob.exe | 4 |
App1 | .WebJob.exe | 6 |
App1 | w3wp.exe | 2 |
App1 | w3wp.exe | 1870 |
App1 | .WebJob.exe | 6 |
App1 | w3wp.exe | 2 |
App1 | .WebJob.exe | 6 |
App3 | w3wp.exe | 4 |
App3 | w3wp.exe | 2 |
Total | 1920 |
adb logcat
: to log Android activiry & debug support
adb logcat -d > output.log
: save all log to file
adb logcat -c
: clear log
cordova plugin ls
cordova plugin rm
cordova plugin add
cordova platom rm
cordova platom add android@version
Case 1 :
import {List as ReleaseList} from "./release/list.component";
Typescript: Success
SystemJs can't find release/list.component
404 Error
Case 2 :
import {List as ReleaseList} from "./release/list.component.js";
Typescript: Can't find module /release/list.component.js
SystemJs : OK
To ignore VS build :
deactivating the Visual Studio build by adding true to the .csproj
microsoft/TypeScript#2294 (comment)
microsoft/TypeScript#7091
Type: Guide
Descriptions:
In some case you have to move your current VM to another subscription (because of billing problem or ...)
Unfortunately, Up to now (2015 Dec 21st), Ms Azure haven't had any plan to support to change the service subscription
.
So, you have to do it manually follow this step:
Solutions:
Requirement
VM01
from subscription S01
to subcription S02
Store01
from subscription S01
to subcription S02
Prepare
Azure CLI
installedBEGIN
[Step 01] Capture VM01
image
Because It require your VM have to be generalized to make an capture-image, so you have to generalize your VM first
vm generalize myGroup VM01
Then capture
azure vm capture -g vamsproduction vams-web-machine-capture
After you capture the VM, look at your OS's storage account, you can find a new *.vhd (some thing like vm01store.blob.core.windows.net/system/Microsoft.Compute/Images/vhds/captured_osDiskName.vhd)
[Step 02] Re-create your VM from your captured-image
AzCopy
tools AzCopy /Source:https://vm01store.blob.core.windows.net/system/SourceType:Blob /SourceKey:put_your_key_here /Dest:https://vm01newstore.blob.core.windows.net/system /DestType:Blob /DestKey:put_your_key_here
azure vm create --image-urn https://vm01store.blob.core.windows.net/system/Microsoft.Compute/Images/vhds/captured_osDiskName.vhd --storage-account-name vm01newstore yourGroupName newm01 "Southeast Asia" "Windows"
NOTE
Now you can remote to your new VM. But after create your new VM you can receive error: VM has been created, but there was an error during provisioning. It's ok, keep go ahead.
[Step 03] Move data from old subscription.
AzCopy
to copy your data to new server as wellRef:
[1] azure-cli-arm-commands
[2] HOW TO CREATE A VIRTUAL MACHINE FROM A CUSTOM IMAGE USING ARM API AND POWERSHELL
[3] Using CLI to Capture and Deploy VMs
[4] How to capture a classic Linux virtual machine as an image
[5] Storage use AzCopy
[6] Image capture issue / VM unexpectedly started after guest-initiated shutdown
[7] Capture an image of an Azure Windows virtual machine created with the classic deployment mode
stoplight.io
https://api-docs.io/
http://serverfault.com/questions/557920/iis-memory-management-thresholds-with-potential-leaks
http://serverfault.com/questions/614372/iis-app-pool-high-cpu-usage-despite-no-requests
http://stackoverflow.com/questions/9666356/high-memory-usage-with-w3wp-application-pool-iis-7
http://www.iis.net/learn/manage/managing-performance-settings/walkthrough-iis-output-caching#01
http://www.iis.net/downloads/community/2007/05/wcat-63-(x86)
When use JWT authentication in ASp .NET Core MVC, I expected that all scheme should be JWT
According to this link : aspnet/Announcements#262
There are now overloads that use the default schemes for each method in IAuthenticationService
DefaultScheme: if specified, all the other defaults will fallback to this value
DefaultAuthenticateScheme: if specified, AuthenticateAsync() will use this scheme, and also the
AuthenticationMiddleware added by UseAuthentication() will use this scheme to set context.User automatically. (Corresponds to AutomaticAuthentication)
DefaultChallengeScheme if specified, ChallengeAsync() will use this scheme, [Authorize] with policies that don't specify schemes will also use this
DefaultSignInScheme is used by SignInAsync() and also by all of the remote auth schemes like Google/Facebook/OIDC/OAuth, typically this would be set to a cookie.
DefaultSignOutScheme is used by SignOutAsync() falls back to DefaultSignInScheme
DefaultForbidScheme is used by ForbidAsync(), falls back to DefaultChallengeScheme
It state that "DefaultScheme: if specified, all the other defaults will fallback to this value", But It does not work.
services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme)
services.AddAuthentication(o =>
{
o.DefaultScheme = JwtBearerDefaults.AuthenticationScheme;
})
Both of them are not work.
You have to define all scheme one by one
services.AddAuthentication(o =>
{
o.DefaultScheme = JwtBearerDefaults.AuthenticationScheme;
o.DefaultAuthenticateScheme =
o.DefaultChallengeScheme = JwtBearerDefaults.AuthenticationScheme;
o.DefaultSignInScheme = JwtBearerDefaults.AuthenticationScheme;
})
Type: Impediment
Descriptions:
keep scroll position on navigate back
Preproduction:
[1] View list of item A[]
[2] Scroll to item A[10]
[3] Click on A[10] to navigate to detail page
[4] Click back button to navigate back to the list page
[5] scroll position is restored to A[0] instead of A[10]
[6] End
Reason:
Developer may use $ionicConfigProvider.views.maxCache(0)
function this configure will force ionic
to not to cache any view.
Solutions:
$ionicConfigProvider.views.maxCache(3);// force ionic
to cache previous 3 views
Ref:
[0] scroll-position-on-back
[1] Scroll position on back #439
config.Formatters.JsonFormatter.SerializerSettings.DateFormatString = "dd/MM/yyyy";
<p> 01:02 AM</p>
In web browser it will be display :
01:02 AM
But, in android devices
01:02
AM
https://developer.mozilla.org/en-US/docs/Web/CSS/text-rendering
http://stackoverflow.com/questions/7968795/is-it-safe-to-use-the-css-rule-text-rendering-optimizelegibility-on-all-text/16221871#16221871
Type: Bug
Descriptions:
N/A
Preproduction:
If the entry from window.resolveLocalFileSystemURL() return a URL like content://com.android.providers.media.documents/document/image%3A10
It can't read file name and file size.
NOTE
: in [email protected] the file entry can read file size but file name. It returns {name
content}
instead of actual file name.
Reason:
N/A
Solutions:
N/A
Ref:
[1] Get actual file name issue
[2] Cordova resolveLocalFileSystemURL works but then fileEntry.file() fails
[3] Get real path from URI, Android KitKat new storage access framework
SELECT TOP 10 SUBSTRING(qt.TEXT, (qs.statement_start_offset/2)+1,
((CASE qs.statement_end_offset
WHEN -1 THEN DATALENGTH(qt.TEXT)
ELSE qs.statement_end_offset
END - qs.statement_start_offset)/2)+1),
qs.execution_count,
qs.total_logical_reads, qs.last_logical_reads,
qs.total_logical_writes, qs.last_logical_writes,
qs.total_worker_time,
qs.last_worker_time,
qs.total_elapsed_time/1000000 total_elapsed_time_in_S,
qs.last_elapsed_time/1000000 last_elapsed_time_in_S,
qs.last_execution_time,
qp.query_plan
FROM sys.dm_exec_query_stats qs
CROSS APPLY sys.dm_exec_sql_text(qs.sql_handle) qt
CROSS APPLY sys.dm_exec_query_plan(qs.plan_handle) qp
ORDER BY qs.total_logical_reads DESC -- logical reads
-- ORDER BY qs.total_logical_writes DESC -- logical writes
-- ORDER BY qs.total_worker_time DESC -- CPU time
Tested in iOS 9.2/iPhone4s
http://stackoverflow.com/questions/26676600/ios8-enterprise-application-download-link-click-nothing-happen-in-safari
http://stackoverflow.com/questions/25772664/enterprise-app-update-distribution-on-ios-8/25948839#25948839
https://www.fireeye.com/blog/threat-research/2015/06/three_new_masqueatt.html
Temporary solution:
For example, in your plist:
<key>bundle-identifier</key> <string>com.mycom.MyApp</string> <key>bundle-version</key> <string>0.2.2</string>
change com.mycom.MyApp to com.mycom.MyApp.ios8fix
FILE MANAGEMENT
FILE PICKER
[1] File Chooser for iOS 8 or higher
[2] File Chooser for Android
FILE TRANSFER
Not able to log on the user '.\WDeployConfigWriter'.
Logon failure: the specified account password has expired.
Full credit to this blog, the problem is that the Web Deploy installer creates users with expiring passwords that are used to elevate permissions during deployment
Solution:
Use server manager on the accounts WDeployAdmin and WDeployConfigWriter to
reset the password
check password never expires
uncheck user must change password next logon
See this blog for more detail:
http://blog.workinghardinit.work/2011/07/18/wdeployconfigwriter-account-issues-trouble-shooting-web-deploy-2-0-with-lessons-learned/
public IActionResult About([FromServices] IDateTime dateTime)
{
ViewData["Message"] = "Currently on the server the time is " + dateTime.Now;
return View();
}
Type: Impediment
Descriptions:
Reason:
Entity framework get data by PK so if we set up wrong PK, then final result is wrong also.
Solutions:
The solution is to explicitly define columns you want for PK in SQL server as non-nullable using ISNULL function
Ref:
[0] Entity Framework returns wrong data for view with LEFT JOIN statement
In state "stateLv1.Lv2" . Usee $state.go('/stateLv1.Lv2',{},{reload: true});
=> force ionic to hide his navigation bar
Issues:
mapsplugin/cordova-plugin-googlemaps#732
Telerik-Verified-Plugins/NativePageTransitions#95
If ANIMATABLE_XWALK_VIEW is set to FALSE :
-the map displays
-the map is covering everything else and where I should have my statusbar etc I get only white.
-transitions are not working
If ANIMATABLE_XWALK_VIEW is set to TRUE :the map is all black
the map is not covering the rest of my app so that's good...
transitions are working...
If Remove crosswalk , It working fine!
Solution: NONE
Architecture:
Data source:
Data Store:
UI:
Notification:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.