Skip to content

Instantly share code, notes, and snippets.

View agrublev's full-sized avatar
💭
Always moving forward

Angel Grablev agrublev

💭
Always moving forward
View GitHub Profile
[{
"type": "button",
"tooltip": "New File",
"callback": "application:new-file",
"icon": "plus",
"iconset": "ion"
}, {
"type": "button",
"tooltip": "Open File",
"callback": "application:open-file",
@agrublev
agrublev / aa
Last active June 13, 2018 22:13
http://pinet.org.uk/articles/installation/installing-PiNet.html
wget --content-disposition http://links.pinet.org.uk/jessie-stable-pinet
sudo bash pinet
Full install yes
https://www.w3schools.com/nodejs/nodejs_raspberrypi.asp
body div .logo-wrap {
display:none !important; }
.embed-scope .cm-tag {
color: #e2831b;
}.embed-scope .cm-property {
color: #fdb0f3;
}.embed-scope .cm-number {
color: #3ca731;
}input,
textarea,

Year of manufacture: 2017 Version: 10.12.6 (16G29) Developer: Apple Inc. Developer's site: © Apple Inc. Platform: Intel with support for SSE4.2 (it is possible to run on the CPU with SSE4.1), for AMD there is an instruction for FX-series Language: multilanguage Tablet: VMware Unlocker for all versions of VMware ---- version of VMware 10 and below or version of VMware 11 and aboveSystem requirements:

  1. Intel processor with support for hardware virtualization
  2. From 1 GB of RAM (2 GB or more is recommended)
  3. The program WinRar, 7-Zip or analog
@agrublev
agrublev / dronefly.js
Last active June 24, 2018 20:52
drone FORK!
const pdrone = require('pdrone');
const drone = pdrone({id: 'mambo', debug: false});
/** Helper function */
function sleep(ms) {
return new Promise(a => setTimeout(a, ms));
}
drone.on('connected', async () => {
// drone.flatTrim(); // use flatTrim() everytime you want the drone to calm down
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2017 Parrot SA
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2017 Parrot SA
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
const camelcase = require('camelcase');
const { DroneConnection, CommandParser } = require('pdrone-low-level');
const EventEmitter = require('events');
const formatArguments = args =>
args.reduce(
(acc, cur) => ({
...acc,
[cur._name]: cur._value,
}),
@agrublev
agrublev / dronefly.js
Last active June 24, 2018 23:12 — forked from bearoff/dronefly.js
drone FORK!
const pdrone = require('pdrone');
const drone = pdrone({id: 'mambo', debug: false});
/** Helper function */
function sleep(ms) {
return new Promise(a => setTimeout(a, ms));
}
// DIRECTIONS
// - up / down / left / right /forward /back
@agrublev
agrublev / fix_yarn_bug.md
Created August 16, 2018 17:37
YARN BUG error An unexpected error occurred: "/package.json: Unexpected number in JSON at position 1".

##To fix the stupid but that yarn has that if you have a file called /package.json in the root of your system yarn will fail!

###all you need to do is

sudo rm /package.json