Hexadecimal color code for transparency
How to set transparency with hex value ?
For example, you want to set 40% alpha transparence to #000000
(black color), you need to add 66
like this #66000000
.
var MemoryCache = function (options) { | |
options = $.extend(true, { | |
maxEntries: null | |
}, options || {}); | |
var self = this; | |
var cache = {}; | |
var entries = 0; | |
var ageOf = function (entry) { |
--- | |
- name: Install MacOS Packages | |
hosts: localhost | |
become: false | |
vars: | |
brew_cask_packages: | |
- atom | |
- docker | |
- dropbox | |
- firefox |
[ | |
{ | |
"labelKey": "label", | |
"valueKey": "value", | |
"data": [ | |
{ | |
"label": "Handmade", | |
"value": "car" | |
}, | |
{ |
#!/bin/bash | |
# source: https://gist.github.com/francoisromain/58cabf43c2977e48ef0804848dee46c3 | |
# and another script to delete the directories created by this script | |
# project-delete.sh: https://gist.github.com/francoisromain/e28069c18ebe8f3244f8e4bf2af6b2cb | |
# Call this file with `bash ./project-create.sh project-name` | |
# - project-name is mandatory | |
# This will creates 4 directories and a git `post-receive` hook. |
if ("undefined" == typeof ZotataPlayUserID) var ZotataPlayUserID = ""; | |
if ("undefined" == typeof ZotataPlayAuthKey) var ZotataPlayAuthKey = ""; | |
if ("undefined" == typeof debug) var debug = -1 != location.hostname.indexOf("t.dragonbound.net"); | |
var VERSION = 101, | |
SERVER_ADDRESS = -1 != location.hostname.indexOf("t.dragonbound.net") ? "http://t.dragonbound.net:9000" : "http://game.dragonbound.net:80", | |
LOCATION_TYPE_UNKNOWN = "unknown", | |
LOCATION_TYPE_CHANNEL = "channel", | |
LOCATION_TYPE_ROOM = "room", | |
ROOM_STATUS_WAITING = "W", | |
ROOM_STATUS_FULL = "F", |
{"filter":{"countries":{"id":"viet-nam","name":"Việt Nam"}},"meta":{"createAt":"2021-10-20T03:04:40.373Z"},"cols":[{"level":0,"nodes":[{"pageId":"page-khach-hang-than-thiet","id":"0-page-khach-hang-than-thiet"},{"pageId":"page-ho-tro-tien-ban","id":"0-page-ho-tro-tien-ban"},{"pageId":"page-chung-khoan-upcom","id":"0-page-chung-khoan-upcom"},{"pageId":"page-sao-ke-truc-tuyen","id":"0-page-sao-ke-truc-tuyen"},{"pageId":"page-others","id":"0-page-others"}]},{"level":1,"nodes":[{"pageId":"page-khach-hang-than-thiet","id":"1-page-khach-hang-than-thiet"},{"pageId":"page-trang-chu","id":"1-page-trang-chu"},{"pageId":"page-dat-lenh","id":"1-page-dat-lenh"},{"pageId":"page-chung-khoan-phai-sinh","id":"1-page-chung-khoan-phai-sinh"},{"pageId":"page-others","id":"1-page-others"}]},{"level":2,"nodes":[{"pageId":"page-mo-tai-khoan","id":"2-page-mo-tai-khoan"},{"pageId":"page-sao-ke-truc-tuyen","id":"2-page-sao-ke-truc-tuyen"},{"pageId":"page-dang-ky-quyen-mua","id":"2-page-dang-ky-quyen-mua"},{"pageId":"page-tai-lieu-huon |
For example, you want to set 40% alpha transparence to #000000
(black color), you need to add 66
like this #66000000
.
-#, --progress-bar
Make curl display a simple progress bar instead of the more informational standard meter.
-b, --cookie <name=data>
Supply cookie with request. If no =
, then specifies the cookie file to use (see -c
).
-c, --cookie-jar <file name>
File to save response cookies to.
// @link: https://github.com/bootstrap-vue/bootstrap-vue/blob/dev/src/utils/array.js | |
const from = (...args) => Array.from(...args) | |
const isArray = val => Array.isArray(val) | |
const arrayIncludes = (array, value) => array.indexOf(value) !== -1 | |
const concat = (...args) => Array.prototype.concat.apply([], args) | |
export const createAndFillArray = (size, value) => Array(size).fill(value) |