Optional - Set format on save and any global prettier options
npm i -D eslint prettier eslint-plugin-prettier eslint-config-prettier eslint-plugin-node eslint-config-node
""" | |
Runs IK to get the UR5 end-effector to reach a target. Inspect CPU vs GPU mode. | |
Use a yellow sphere to show the tip of the end-effector, and a blue sphere to | |
show the target. These spheres are only used for debugging / visualization. | |
""" | |
from isaacgym import gymapi | |
from isaacgym import gymutil | |
from isaacgym import gymtorch | |
from isaacgym.torch_utils import (quat_conjugate, quat_mul, quat_apply) | |
import numpy as np |
""" Trains an agent with (stochastic) Policy Gradients on Pong. Uses OpenAI Gym. """ | |
import numpy as np | |
import pickle | |
import gym | |
# hyperparameters | |
H = 200 # number of hidden layer neurons | |
batch_size = 10 # every how many episodes to do a param update? | |
learning_rate = 1e-4 | |
gamma = 0.99 # discount factor for reward |
import * as React from "react"; | |
export interface HelloProps { compiler: string; framework: string; } | |
export const Hello = (props: HelloProps) => <h1>Hello from {props.compiler} and {props.framework}!</h1>; |
/* | |
This a header file that includes every standard library. | |
You can use it to save time. | |
NOTE: This header file may not be recognized by compilers | |
other than gcc. | |
*/ | |
#include <bits/stdc++.h> | |
/* | |
//Use this if the above header file doesn't work. |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
#!/bin/bash | |
# | |
# matrix: matrix-ish display for Bash terminal | |
# Author: Brett Terpstra 2012 <http://brettterpstra.com> | |
# Contributors: Lauri Ranta and Carl <http://blog.carlsensei.com/> | |
# | |
# A morning project. Could have been better, but I'm learning when to stop. | |
### Customization: | |
blue="\033[0;34m" |