Skip to content

Instantly share code, notes, and snippets.

View forceuser's full-sized avatar
🇺🇦
Stand with Ukraine! 💙 💛

Vitalii Dub forceuser

🇺🇦
Stand with Ukraine! 💙 💛
  • monobank
  • Dnipro, Ukraine
View GitHub Profile
@forceuser
forceuser / fbootfix.md
Created June 19, 2018 14:07 — forked from smac89/fbootfix.md
Linux Fix Fastboot "no permissions, verify udev rules"

Determine your device id

  1. Unplug your device from the computer and type lsusb in the terminal. You should get an output similar to this:
Bus 002 Device 002: ID 8087:8000 Intel Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
@forceuser
forceuser / esm_in_node_proposal.md
Created January 29, 2018 15:35 — forked from ceejbot/esm_in_node_proposal.md
npm's proposal for supporting ES modules in node

ESM modules in node: npm edition

The proposal you’re about to read is not just a proposal. We have a working implementation of almost everything we discussed here. We encourage you to checkout and build our branch: our fork, with the relevant branch selected. Building and using the implementation will give you a better understanding of what using it as a developer is like.

Our implementation ended up differing from the proposal on some minor points. As our last action item before making a PR, we’re writing documentation on what we did. While I loathe pointing to tests in lieu of documentation, they will be helpful until we complete writing docs: the unit tests.

This repo also contains a bundled version of npm that has a new command, asset. You can read the documentation for and goals of that comma

<html>
<head>
<script src="https://qa.polyfill.io/v2/polyfill.js?features=default,es6,es7,caniuse:console-basic&flags=gated&unknown=polyfill"></script>
<script src="https://rawgit.com/facebook/regenerator/master/packages/regenerator-runtime/runtime.js"></script>
<script>
(function _callee() {
return regeneratorRuntime.async(function _callee$(_context) {
while (1) {
switch (_context.prev = _context.next) {
<h3>box-shadow animations using currentColor</h3>
<i>(?) hover mouse over the block for 1 second</i>
<br/><br/>
<div class="block transitioned">Transitioned <span style="color: green;">(Expexted)</span></div>
<div class="block animated">Animated (Wrong)</div>
<hr/>
more tests...
<br/><br/>
<div class="block animated2">Animated2</div>
<div class="block animated3" type="button">Animated3</div>
@forceuser
forceuser / ipin.py
Last active August 29, 2015 14:06 — forked from akfreas/ipin.py
#---
# iPIN - iPhone PNG Images Normalizer v1.0
# Copyright (C) 2007, 2012
#
# Author:
# Alexander Freas
# www.sashimiblade.com
# alex@sashimiblade.com
#
#