2018年5月16日 星期三

Listing information about all database files in SQL Server in MB size

https://stackoverflow.com/questions/43472717/get-actual-database-size-in-sql-server-2012-in-gb
https://stackoverflow.com/questions/27057000/sql-server-get-all-databases-with-mdf-and-ldf-file-location

SELECT
    db.name AS DBName,
    type_desc AS FileType, size * 8/1024 AS MBSize,
    Physical_Name AS Location
FROM
    sys.master_files mf
INNER JOIN 
    sys.databases db ON db.database_id = mf.database_id

Table Size
https://stackoverflow.com/questions/7892334/get-size-of-all-tables-in-database


Here is another method: using SQL Server Management Studio, in Object Explorer, go to your database and select Tables




Then open the Object Explorer Details (either by pressing F7 or going to View->Object Explorer Details). In the object explorer details page, right click on the column header and enable the columns that you would like to see in the page. You can sort the data by any column too.

Infinity Explorer on aic https web

due to TLS1.1 or other https compliance reason . Inf Exp VF8.4 cannot support. also VF9.0 is IE8 not support upper than TLS1.0 , no use.

install firefox as application
config good at Administrator mode. but Medical User mode no proper config.
1. first disable the plugin/addon load, cause prompt proxy password input [https://support.mozilla.org/en-US/questions/976743]

2.safe-mode URL

2018年2月11日 星期日

Root M8

relate link

http://www.ai-development.org/thread-68-2-1.html

https://www.youtube.com/watch?v=9HWj_1KHbuY

https://www.moonlol.com/adb-fastboot%E5%B7%A5%E5%85%B7%E7%B7%9A%E5%88%B7twrp-recovery-5954.html

https://dl.twrp.me/m8/


https://community.htc.com/tw/chat.php?mod=viewthread&tid=1508

3.  解刷入第三方 Recovery ( Flash Recovery ):
  以目前網路上主流的 Root 及刷 ROM 方式,都是透過第三方 Recovery 來進行,第三方 Recovery 較有名氣的有 ClockWorkMod Recovery ( CWM Recovery ),及 Team Win Recovery Project ( TWRP Recovery ) 這二種,耶魯熊個人習慣使用 CWM Recovery,在刷入第三方 Recovery 時一定要確定所下載的是專門給自己手上手機使用的,不要自以為每隻 Android 手機都刷任何一個  CWM Recovery,不要自以為給這隻手機 4.1 版的就能刷到 4.4 版本上用,請一定要找到完全對應的版本再刷入,什麼叫完全對應的呢? 就是:
1. 和自己手機的品牌一致
2. 和自己手機的型號一致
3. 和自己手機的國別一致 ( 不要拿美版的來刷台版,也不要拿台版的去刷中國版 )
4. 和自己手機的系統一致 ( 不要拿給  Android 4.1.X 用的來刷到 Android 4.4.2 上面 )
以上 4 點都和自己手機一致時,才能做刷入的動作。
  做完以上三點後,就可以開使做  Root 或是刷 ROM 的 動作了,為什麼耶魯熊要特別寫這篇文章出來呢 !? 因為看到很多網友說 hTC  手機很難刷機很難 Root,但其實都是「不會生小孩牽拖鄰居」,自己懶得爬文又不想去了解,看到「一鍵」開頭的檔案,千萬不要不分青紅皂白拿著就做,什麼一鍵刷機,一鍵 Root,一鍵解鎖,這些「一鍵」系列的程式,很容易就讓你「一鍵死機」,拜託一下,hTC 不論是要 Root 還是刷 ROM,都不難!!! 只要做好上面的 3 個步驟就可以順利操作了!! 另外「刷機精靈」這種懶人用的程式,也麻煩不要用,不要懶到刷個機,都不想爬文了解,如果真的這麼懶,那原廠乖乖用就好了!!!



2018年2月2日 星期五

epiphan VGA2USB replacement

have a VGA Source output

1.VGA to HDMI   (update: VGAtoDVI cable  可能攪得掂)
ET110(轉換VGA訊號為高品質HDMI輸出)
http://benq2358.blogspot.hk/2015/05/et110-vgahdmi.html

Buy : http://24h.pchome.com.tw/prod/DMAAA2-A90060EQ1




























2. HDMI USB2.0 Capture Card to C700

2018年1月22日 星期一

cisco 2960 upgrade

1. Upgrade
https://ippacket.com.au/how-to-upgrade-cisco-2960-switch-ios/


https://www.cisco.com/c/en/us/support/docs/switches/catalyst-2950-series-switches/41542-191.html

2. Delete bin

Use "delete /force /recursive flash:c2960-lanbase-mz.122-25.SEE2" command. This will get rid of everything in that directory.

https://supportforums.cisco.com/t5/lan-switching-and-routing/deleting-old-bin-file/td-p/750072

mbssid guest-mode Cisco AP

Purpose of the "guest-mode" command

This question has been Answered.
Jason HarryMember 2 Star
    Hi Guys,

    Today I was configuring a 1131AG at a client using the CLI and I removed the "guest-mode" command that was under the SSID config mode. After doing this I noticed that the SSID wasn't being broadcast anymore. Putting back the command resulted in  the SSID being broadcast and me being able to connect to it. I did some research on Cisco's DocCD on the command which pretty much explains it but I'd still like an expert response so that I'm 100% sure. Also, the DocCD said that an access point can only have one SSID in guest-mode. My question here is, if this is true, how do you configure an AP to broadcast multiple SSID? I would have thought that you just create multiple SSID and put the guest-mode command under there which broadcast the beacons, but according to Cisco's documentation, there can only be one SSID in guest-mode per AP.

    "The access point can have one guest-mode SSID or none at all."


    Appreciate your responses.

    Jason.
    Pete Nugent
    Correct Answerby Pete Nugent on Jan 3, 2011 6:50 PM
    You are correct guest mode broadcasts the SSID and only one SSID can be in gueat mode.

    To broadcast multiple SSIDs use mbssid guest-mode on each SSID,

    MikroTik Routers and Wireless - Products: Groove 52

    • CPE - Short for "Customer Premises Equipment", this term is used to mean a "wireless station". It connects to a (wireless) network, like your computer would, but doesn't create its own (like an access point).
    • Home AP - Simple access point. One SSID, no VLANs, etc.
    • PTP Bridge - Used for setting up a "Point to Point" link. Tends to be used to extend a single network to another site that doesn't have a cable running to it.
    • WISP AP - "Professional" access point ("WISP" is "Wireless Internet Service Provider", I think). It can serve multiple SSIDs at once, has VLAN support (to have each SSID be its own, isolated network, maybe with firewalling and routing between them), and other advanced things.https://forum.mikrotik.com/viewtopic.php?t=87961


    WinBox is much more convenient than using WebFig.


    Reset

    Buttons and Jumpers
     • RouterOS reset jumper hole (no direct access, board has removed from case) – resets RouterOS software to defaults. Must short circuit the metallic sides of the hole (with a screwdriver, for example) and boot the device. Hold screwdriver in place until RouterOS configuration is cleared.

     • RouterBOOT reset button (access through the plastic door) has two functions: 


    1. Power On , Hold Reset Button
    2. at 10 sec release hold button
    3. at 20 sec , beep sound x 1
    4. at 48 sec , beep sound x 2 
    5. can ping 192.168.88.1


    用呢個 (boot , 5粒 Wifi 閃完 幾下即放手 ) 
    o Hold this button during boot time until LED light starts flashing, release the button to reset RouterOS configuration (same result as with reset hole)

    唔好去錯呢個 Netinstall Mode

     o Hold this button during boot time longer, until LED turns off, then release it to make the device look for Netinstall servers.

    https://forum.mikrotik.com/viewtopic.php?t=110735


    HOME AP Basic :

    Local Network

    • IP address: Mostly can stay at the default 192.168.88.1 unless your router is behind another router. To avoid IP conflict, change to 192.168.89.1 or similar
    • Netmask: In most situations can leave 255.255.255.0
    • Bridge all LAN ports: Allows your devices to communicate to each other, even if, say, your TV is connected via ethernet LAN cable, but your PC is connected via WiFi.
    • DHCP server: Normally, you would want automatic IP address configuration in your home network, so leave the DHCP settings ON and on their defaults.
    • NAT: Turn this off ONLY if your ISP has provided a public IP address for both the router and also the local network. If not, leave NAT on.

    https://wiki.mikrotik.com/wiki/Manual:Quickset




    Configuring WEP with (40bit) static key
    Create new WEP security profile named “wep_profile”:
    [admin@MikroTik] /interface wireless security-profiles> add name=wep_profile \
    mode=static-keys-required static-algo-1=40bit-wep static-key-1=1234123412 static-transmit-key=key-1
    
    Statically configured WEP keys:
    Different algorithms require different length of keys:
    • 40bit-wep (static-key-1) - 10 hexadecimal digits (40 bits). If key is longer, only first 40 bits are used.
    • 104bit-wep (static-key-2) - 26 hexadecimal digits (104 bits). If key is longer, only first 104 bits are used.
    • tkip (static-key-3)- At least 64 hexadecimal digits (256 bits).
    • aes-ccm (static-key-3)- At least 32 hexadecimal digits (128 bits).
    Key must contain even number of hexadecimal digits.

    https://forum.mikrotik.com/viewtopic.php?t=69909


    mikrotik couldn't remove security profile not permitted

    Question: 

    I need set user without rights to policy option like user add or delete etc. 
    Why this user cannot change own password. 
    Mikrotik show form with password fields and after klick Apply i get info:
    Code: Select all
    Couldn`t change Change Password - not permitted (9) 

    Ans: 
    Enable 'password' policy for this user group.