How to create a Quick Action in macOS that allows you to right-click any folder and open it directly in Zed editor.
#!/bin/bash
# Get the selected folder path from Automator
// type i | |
message DAMFile { | |
repeated Chunk chunk = 1; | |
repeated QuantizedChunk quantized_chunk = 2; | |
} | |
// type "o" | |
message Chunk { | |
required Vertices vertices = 1; | |
required Faces faces = 2; |
#include <stdint.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
// munged from https://github.com/simontime/Resead | |
namespace sead | |
{ | |
class Random | |
{ |
This is a short post that explains how to write a high-performance matrix multiplication program on modern processors. In this tutorial I will use a single core of the Skylake-client CPU with AVX2, but the principles in this post also apply to other processors with different instruction sets (such as AVX512).
Matrix multiplication is a mathematical operation that defines the product of
// This file is automatically generated, but you can add your own variables here too. | |
// Syntax: SET_VAR(variable_name, default, low_limit, upper_limit, slider_exponent) | |
// In code you can read the variable with: GET_VAR(variable_name) | |
SET_VAR(tower_height, 520.0f, 0.0f, 3000.0f, 1.0f) | |
SET_VAR(KSpring, 520.0f, 1.0f, 3000.0f, 1.0f) | |
SET_VAR(WireRadius, 2.0f, 0.1f, 34.0f, 1.0f) | |
SET_VAR(volcanic_sun_x, 0.088000, -20.0f, 20.0f, 1.0f) | |
SET_VAR(mothership_sun_x, 2.026000, -5.0f, 5.0f, 1.0f) | |
SET_VAR(mothership_sun_y, 0.507000, -5.0f, 5.0f, 1.0f) | |
SET_VAR(wire_fog_exp, 0.0f, 0.0f, 100.0f, 1.0f) |
A list of useful commands for the FFmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
[package] | |
name = "procaddress" | |
version = "0.1.0" | |
authors = [] | |
[dependencies] | |
libc = "0.2.33" |
extern crate minifb; | |
extern crate time; | |
use minifb::{Key, Scale, WindowOptions, Window}; | |
use std::f64::consts::PI; | |
fn circle(x: f64, y: f64, x_offset: f64, y_offset: f64, rad: f64) -> bool { | |
let x_distance = x - x_offset; | |
let y_distance = y - y_offset; |
www.iuqerfsodp9ifjaposdfjhgosurijfaewrwergwea.com
is up the virus exits instead of infecting the host. (source: malwarebytes). This domain has been sinkholed, stopping the spread of the worm. Will not work if proxied (source).update: A minor variant of the viru