Parrot 60 is a mechanical keyboard based on the Parrot physical layout and the Parrot function layer.
Parrot 60 ANSI is a mechanical keyboard based on the ANSI physical layout and the Parrot function layer.
Every reputable pirate has a Parrot...
# Initialize a Keyboard | |
kbd = Keyboard.new | |
# You can make right side the "anchor" (so-called "master") | |
# Initialize GPIO assign | |
kbd.init_pins( | |
[6, 7], # row0, row1, etc. | |
[9, 10] # col0, col1, etc. | |
) | |
#keyboard.row_pins = (board.GP6, board.GP7) |
const {name} = evt.target; | |
if (name === "isLayouts" || name === "isHousing") { | |
this.setState(s => { | |
const stateKeys = Object.keys(s); | |
const index = stateKeys.indexOf(name); | |
if (index !== -1) stateKeys.splice(index, 1); | |
return stateKeys.map( | |
key => ({ | |
[key]: false | |
})).reduce( |
#!/usr/bin/env python3 | |
# ________ ____ ____ _____ ___ ___ | |
# / ___/ _ \/ __ \/ __ `/ __ `__ \/ _ \ | |
# / / / __/ / / / /_/ / / / / / / __/ | |
# /_/ \___/_/ /_/\__,_/_/ /_/ /_/\___/ | |
""" | |
Replace a character from 'old' to 'new' at specific 'index' |
jQuery(document).ready(function($) { | |
$("input#user_email").keyup(function () { | |
console.log(this.value); | |
$("input#user_login").val(this.value.split('@')[0]) | |
}); | |
}); |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge" /> | |
<title>Basic Routing</title> | |
<script crossorigin src="https://unpkg.com/react@16/umd/react.production.min.js"></script> | |
<script crossorigin src="https://unpkg.com/react-dom@16/umd/react-dom.production.min.js"></script> | |
<script crossorigin src="https://unpkg.com/react-router-dom@5.1.2/umd/react-router-dom.min.js"></script> |
#!/usr/bin/env python | |
# __ __ | |
# ___________ ______ ___ / /______/ (_)____ | |
# / ___/ ___/ | / / __ __ \/ //_/ __ / / ___/ | |
# / /__(__ )| |/ / / / / / / < / /_/ / / / | |
# \___/____/ |___/_/ /_/ /_/_/|_|\____/_/_/ | |
""" | |
Make directories from a CSV file. |
Command line extension management for VS Code.
List the extensions by running code --list-extensions
.
Save the extensions in a file by running code --list-extensions > extensions.vsix
.
{ | |
"env": { | |
"browser": true, | |
"es6": true | |
}, | |
"extends": [ | |
"eslint:recommended", | |
"plugin:import/errors", | |
"plugin:import/warnings", | |
"plugin:jsx-a11y/recommended", |