Best plugins 2021 https://www.youtube.com/watch?v=714JulPPpFU
Corrado Cocco, How to make Sounds inspired by Nature in Bitwig Studio https://www.youtube.com/watch?v=T46cvxGu-Ng
Best plugins 2021 https://www.youtube.com/watch?v=714JulPPpFU
Corrado Cocco, How to make Sounds inspired by Nature in Bitwig Studio https://www.youtube.com/watch?v=T46cvxGu-Ng
npx tailwindcss init demo/tailwind.config.js --full
<script lang="ts"> | |
import { createEventDispatcher } from "svelte" | |
import { fade, fly } from "svelte/transition" | |
import Fa from "svelte-fa" | |
import { faTimes } from "@fortawesome/free-solid-svg-icons" | |
let open = false | |
export let closeButton = true | |
export let closeOnEsc = true |
AllCops: | |
RunRailsCops: true | |
# Commonly used screens these days easily fit more than 80 characters. | |
Metrics/LineLength: | |
Max: 120 | |
# Too short methods lead to extraction of single-use methods, which can make | |
# the code easier to read (by naming things), but can also clutter the class | |
Metrics/MethodLength: |
/*Rotation*/ | |
.box { | |
animation: rotate 1s ease infinite; | |
} | |
@keyframes rotate { | |
0% { | |
-webkit-transform: rotate(0); | |
transform: rotate(0); | |
} |
Use Shift to create perfect circle
To duplicate in a circle
import React, {useState} from "react" | |
export default function() { | |
const [cont, setCont] = useState("") | |
const [file, setFile] = useState(null) | |
const handleSubmit = async (e) => { | |
e.preventDefault() | |
const formData = new FormData() | |
formData.append("body", JSON.stringify(cont)) |
Search content in the history
git grep <regexp> $(git rev-list --all)`
git log -p | grep <pattern>
View history of a folder
git log -- path/to/folder
git log -- path/to/folder/*
class AddUniqueProjectQualification < ActiveRecord::Migration[6.0] | |
def up | |
# Stores before removing repeated | |
sql = <<~SQL | |
CREATE TEMPORARY TABLE t_project_qualifications AS ( | |
SELECT project_id, qualification_id | |
FROM project_qualifications pq | |
GROUP BY project_id, qualification_id HAVING count(*) > 1 | |
) | |
SQL |