Chromeのシェアが50%を超え、それと相反するようにIEのシェアが低迷し、
ついにFirefoxのシェアと並びました。
(10年前なら誰も信じてくれませんね、このグラフ)
IEがシェアを失い続け、Chrome がシェアを獲得し続ける事が見えてしまっているため、
第三次ブラウザ戦争もそろそろフィナーレ、閉幕となります。
| #!/bin/bash | |
| init_fs01bu() | |
| { | |
| usb_modeswitch -t <<EOF | |
| DefaultVendor= 0x$1 | |
| DefaultProduct= 0x$2 | |
| TargetVendor= 0x$3 | |
| TargetProduct= 0x$4 | |
| MessageEndpoint= not set | |
| MessageContent="55534243123456780000000080000606f50402527000000000000000000000" |
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.
elem.offsetLeft, elem.offsetTop, elem.offsetWidth, elem.offsetHeight, elem.offsetParent| /** | |
| * ================== angular-ios9-uiwebview.patch.js v1.1.1 ================== | |
| * | |
| * This patch works around iOS9 UIWebView regression that causes infinite digest | |
| * errors in Angular. | |
| * | |
| * The patch can be applied to Angular 1.2.0 – 1.4.5. Newer versions of Angular | |
| * have the workaround baked in. | |
| * | |
| * To apply this patch load/bundle this file with your application and add a |
| #!/usr/bin/env python | |
| import random | |
| import argparse | |
| import numpy | |
| import chainer | |
| import chainer.optimizers | |
| class SmallClassificationModel(chainer.FunctionSet): | |
| def __init__(self): |
| #!/bin/bash | |
| ## Fix OneDrive for Mac CPU usage | |
| ## | |
| ## Seems this is still a problem 5 years later after I created this little gist. | |
| ## I have long since stopped using OneDrive (luckily), but according to | |
| ## comments below, I have added the new path for OfficeFileCache for macOS | |
| ## Mojave (10.14) and Catalina (10.15). | |
| ## Run this on macOS Mojave (10.14) and Catalina (10.15) | |
| find ~/Library/Containers/ -type d -name OfficeFileCache -exec rm -r {} + |
| ### SYMBOLIC LINK FILES | |
| # Create a new symbolic link file named MySymLinkFile.txt in C:\Temp which links to $pshome\profile.ps1 | |
| cd C:\Temp | |
| New-Item -ItemType SymbolicLink -Name MySymLinkFile.txt -Target $pshome\profile.ps1 # File | |
| # Target is an alias to the Value parameter | |
| # Equivalent to above | |
| New-Item -ItemType SymbolicLink -Path C:\Temp -Name MySymLinkFile.txt -Value $pshome\profile.ps1 | |
| # Equivalent to above |
| from __future__ import with_statement | |
| from alembic import context | |
| from sqlalchemy import engine_from_config, pool, MetaData, Table, ForeignKeyConstraint | |
| from logging.config import fileConfig | |
| # this is the Alembic Config object, which provides | |
| # access to the values within the .ini file in use. | |
| config = context.config | |
| # Interpret the config file for Python logging. |
| #!/usr/bin/env python | |
| """ | |
| - ae(v): context-adaptive arithmetic entropy-coded syntax element. The parsing process for this descriptor is | |
| specified in clause 9.3. | |
| - b(8): byte having any pattern of bit string (8 bits). The parsing process | |
| for this descriptor is specified by the return value of the function | |
| read_bits( 8 ). | |
| - f(n): fixed-pattern bit string using n bits written (from left to right) |