https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/
Make sure the following options are off:
Disable pre-fetching
https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/
Make sure the following options are off:
Disable pre-fetching
# Open a new kitty terminal window on MacOS | |
# | |
# 1. Copy this script into AppleScript Editor and save it somewhere | |
# 2. Use something like Apptivate to run the script on a global hotkey: | |
# http://www.apptivateapp.com/ | |
# | |
# Note this script doesn't work well as a Service through Automator as the | |
# "click menu" functionality requires accessibility privileges granted. | |
# Services run as the focused app, so that setup would require every context | |
# the shortcut is run from to have accessibility granted. |
package ###; | |
import org.bukkit.Bukkit; | |
import org.bukkit.command.*; | |
import org.bukkit.command.defaults.BukkitCommand; | |
import org.jetbrains.annotations.NotNull; | |
import org.jetbrains.annotations.Nullable; | |
import java.lang.reflect.Field; | |
import java.util.List; |
use std::io::Write; | |
use std::process::{Command, Stdio}; | |
fn make_frame(width: usize, height: usize, time: usize) -> Vec<u8> { | |
let mut frame = Vec::with_capacity(4 * width * height); | |
for y in 0..height { | |
for x in 0..width { | |
frame.push((x % 256) as u8); | |
frame.push((y % 256) as u8); | |
frame.push((time % 256) as u8); |
on alfred_script(q) | |
tell application "Finder" | |
set pathList to (quoted form of POSIX path of (folder of the front window as alias)) | |
set textToType to "clear; cd " & pathList | |
end tell | |
tell application "System Events" | |
set isRunning to (exists (processes where name is "kitty")) | |
end tell |
# Create GLFW Libs and put them in /usr/local/ | |
mkdir {{GLFW_BUILDING_DIRECTORY}} | |
cd {{GLFW_BUILDING_DIRECTORY}} | |
cmake -D BUILD_SHARED_LIBS=ON {{GLFW_DIRECTORY}} | |
make | |
sudo make install | |
# Create GLEW Libs and put them in /usr/local/ | |
mkdir {{GLEW_BUILDING_DIRECTORY}} | |
cd {{GLEW_BUILDING_DIRECTORY}} |
#UseHook | |
!VKC0SC029::Return ; grave -> the grave ` accent gave some probs, used the virtualkey + scancode instead | |
!e::Return ; acute | |
!i::Return ; circumflex | |
!t::Return ; tilde | |
!u::Return ; umlaut | |
; 1 2 3 4 5 6 7 8 9 1 | |
; 0 | |
; r g G a A c C t T u U |
Please consider using http://lygia.xyz instead of copy/pasting this functions. It expand suport for voronoi, voronoise, fbm, noise, worley, noise, derivatives and much more, through simple file dependencies. Take a look to https://github.com/patriciogonzalezvivo/lygia/tree/main/generative
float rand(float n){return fract(sin(n) * 43758.5453123);}
float noise(float p){
float fl = floor(p);
float fc = fract(p);
$ curl -L https://github.com/glfw/glfw/releases/download/3.3.2/glfw-3.3.2.zip > glfw-3.3.2.zip | |
$ unzip glfw-3.3.2.zip | |
$ cd glfw-3.3.2/ | |
$ mkdir build | |
$ cd build | |
$ export MACOSX_DEPLOYMENT_TARGET=10.14 | |
$ cmake -D CMAKE_BUILD_TYPE=Release -D GLFW_NATIVE_API=1 -D CMAKE_OSX_ARCHITECTURES="x86_64;arm64" -D BUILD_SHARED_LIBS=ON -D CMAKE_C_COMPILER=clang ../ | |
$ make | |
$ ls -l src/libglfw* |