Version | Link |
---|---|
ECMAScript 2015 - ES2015 - ES6 | All Features List |
ECMAScript 2016 - ES2016 - ES7 | All Features List |
ECMAScript 2017 - ES2017 - "ES8" | All Features List |
ECMAScript 2018 - ES2018 - "ES9" | All Features List |
ECMAScript 2019 - ES2019 - "ES10" | All Features List |
ECMAScript 2020 - ES2020 - "ES11" | All Features List |
Discover gists
- Announcing grepros: Grep for ROS Bag Files and Live Topics
- ROS 2 Bag Data in Plot Juggler
- ROSBag to Image
- ROSBag Extensions
- MAVROS-PX4 drone auto ROS bag record on / off according to arming state
- ROS Bag 2 S3 Bucket!Discourse Post
- ROS Bag Snapshot (rolling ROS Bag)
- ROS 2 Bag Tutorial
- [Python Library for ROS Bag Tutorial](https://medium.com/@rahulbhadani/reading-ros-messages-from-a-b
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def is_valid(grid, r, c, k): | |
not_in_row = k not in grid[r] | |
not_in_column = k not in [grid[i][c] for i in range(9)] | |
not_in_box = k not in [grid[i][j] for i in range(r//3*3, r//3*3+3) for j in range(c//3*3, c//3*3+3)] | |
return not_in_row and not_in_column and not_in_box | |
def solve(grid, r=0, c=0): | |
if r == 9: | |
return True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import readline from 'readline' | |
import chalk from 'chalk' | |
import OpenAI from 'openai' | |
import { LocalIndex } from 'vectra' | |
import { fileURLToPath } from 'url' | |
import path, { dirname } from 'path' | |
const __filename = fileURLToPath(import.meta.url) | |
const __dirname = dirname(__filename) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Delete/Clean XCode /CoreSimulator/Devices/ folder | |
$ xcrun simctl delete unavailable |
- Download the Raspbian Lite image from https://downloads.raspberrypi.org/raspbian_lite_latest (add .torrent to get a torrent)
- Unzip the download to extract the .img file
- Insert a FAT32-formatted SD card, and copy the image over:
diskutil list
to identify the disk number, e.g./dev/disk2
diskutil unmountDisk /dev/disk2
sudo dd bs=1m if=image.img of=/dev/rdisk2
- Before unmounting, edit a couple of files to activate internet-over-USB. The image mounted for me at
/Volumes/boot
.- In
config.txt
, add this as the last line of the file:dtoverlay=dwc2
- In
cmdline.txt
, add this as a parameter, just after therootwait
parameter:modules-load=dwc2,g_ether
- In
- Unmount the SD card (via Finder) and stick it in the Raspberry Pi.
NewerOlder