As configured in my dotfiles.
start new:
tmux
start new with session name:
import org.intellij.lang.annotations.Language | |
import org.openrndr.application | |
import org.openrndr.draw.ColorFormat | |
import org.openrndr.draw.ColorType | |
import org.openrndr.draw.bufferTexture | |
import org.openrndr.draw.shadeStyle | |
import org.openrndr.extra.noise.simplex | |
import org.openrndr.ffmpeg.H264Profile | |
import org.openrndr.ffmpeg.ScreenRecorder | |
import org.openrndr.math.Vector2 |
############ REPLACE app/models/enterprise_token.rb in the source code with this file! ################ | |
############ also be sure to RESTART OpenProject after replacing the file. ################ | |
############ it doesn't show that enterprise mode is enabled in the settings, but all ################ | |
############ enterprise mode features, such as KanBan boards, are enabled. ################ | |
#-- copyright | |
# OpenProject is an open source project management software. | |
# Copyright (C) 2012-2023 the OpenProject GmbH | |
# | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License version 3. |
#!/bin/bash | |
# Git branches to folders | |
function branch_folders { | |
# Check if folder is a git repository | |
if [[ ! -d ".git" ]]; then | |
echo -e "\n\tThis is not a git repository!\n" | |
exit | |
fi |
#include <opencv2/opencv.hpp> | |
#include "opencv2/imgproc/imgproc.hpp" | |
#include "opencv2/highgui/highgui.hpp" | |
#include "highgui.h" | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include "opencv2\video\background_segm.hpp" | |
#include <Windows.h> |
#region usings | |
using System; | |
using System.ComponentModel.Composition; | |
using System.Runtime.InteropServices; | |
using SlimDX; | |
using SlimDX.Direct3D9; | |
using VVVV.Core.Logging; | |
using VVVV.PluginInterfaces.V1; | |
using VVVV.PluginInterfaces.V2; |
abstract class Comment | |
{ | |
public abstract void Generate(StringBuilder builder); | |
public string Generate() | |
{ | |
StringBuilder builder = new StringBuilder(); | |
this.Generate(builder); | |
return builder.ToString(); | |
} |
-- This isn't pretty but it works. | |
tell application "Spotify" | |
set old_volume to sound volume | |
repeat | |
if player state is playing then set current_album to album of current track | |
if player state is playing and (current_album starts with "http://" or current_album starts with "https://" or current_album starts with "spotify:") then | |
set sound volume to 0 | |
play | |
else |
As configured in my dotfiles.
start new:
tmux
start new with session name:
property baseURL : "http://statusboard.dev/song?" | |
if application "Spotify" is running then | |
tell application "Spotify" | |
set theTrack to name of the current track | |
set theArtist to artist of the current track | |
set theAlbum to album of the current track | |
set theurl to spotify url of the current track | |
try | |
do shell script "/usr/local/bin/wget --delete-after \"" & baseURL & "&t=" & theTrack & "&a=" & theArtist & "&al=" & theAlbum & "\"" |