I hereby claim:
- I am bburdiliak on github.
- I am burdo (https://keybase.io/burdo) on keybase.
- I have a public key ASBUfuXXJYSZawTC5-CiWp9-kB3R28NC6pPAdPBCqIEawQo
To claim this, I am signing this object:
cat /sys/bus/usb/devices/*/power/wakeup | |
ll /sys/bus/usb/devices/*/power/wakeup | |
cat /sys/bus/usb/devices/1-4/idVendor | |
cat /sys/bus/usb/devices/1-4/idProduct | |
echo "disabled" > /sys/bus/usb/devices/1-4/power/wakeup |
# Takes in: 29/09/20 - 29/09/20 | |
# Outputs: 2020-09-28 18:00:00..2020-09-29 17:59:59.999999 | |
def add_time_to_date(date) | |
date_from, date_to = date.split(' - ').map { |d| Time.parse(convert_date_format(d)) } | |
date_from.beginning_of_day.to_datetime..date_to.end_of_day.to_datetime | |
end | |
def convert_date_format(value) | |
return DateTime.strptime(value, '%d/%m/%y').strftime("%Y-%m-%d") |
`xinput list` | |
import React, { useState } from 'react'; | |
import { Fab, Grid, Menu, MenuItem, Paper, Table, TableBody, TableCell, TableRow, } from '@material-ui/core'; | |
import { Done } from '@material-ui/icons'; | |
import { withStyles, createStyles } from '@material-ui/core/styles'; | |
import { compose, map, prop, find, isEmpty } from 'ramda'; | |
import { usePopupState, bindTrigger, bindMenu } from 'material-ui-popup-state/hooks'; | |
import { withRouter } from 'react-router'; | |
import { useTranslation } from 'react-i18next'; | |
import { loadedGraphql } from '~components/hoc'; |
I hereby claim:
To claim this, I am signing this object:
## Disk management | |
# how big is your apt cache: | |
du -sh /var/cache/apt/archives | |
# remove old kernels (if no longer required) | |
sudo apt-get autoremove --purge | |
# list all directories and sort by size | |
du -m --max-depth 1 | sort -rn |
chrome://serviceworker-internals/ | |
chrome://appcache-internals/ |
https://virtuslab.com/blog/scalamock-macros-strike-back/
* start android virtual device | |
android avd | |
* list all SDKs | |
android list sdk -a | |
* install 3rd SDK from that list | |
android update sdk -a -u -t 3 | |
* Linux-based systems support VM acceleration through the KVM software package, check availability of KVM |
version of V8 used by current NodeJS | |
node -p process.versions.v8 | |