Skip to content

Instantly share code, notes, and snippets.

View fuxx's full-sized avatar

Stefan Mayer-Popp fuxx

View GitHub Profile
set -g history-limit 1000
set -g status-interval 1
set -g status-left '#H#[default]'
set -g status-right '#(cut -d ” ” -f 1-4 /proc/loadavg)#[default] #%Y-%m-%d %H:%M:%S#[default]'
setw -g monitor-activity on
set -g visual-activity on
setw -g mode-mouse on
set -g mouse-resize-pane on
set -g mouse-select-pane on
set -g mouse-select-window on
========================================================================
Building module evolution-data-server in /home/smp/.cache/gnome-builder/flatpak-builder/build/evolution-data-server-1
========================================================================
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /run/ccache/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
#~/D/r/rcf   RCF-45-inventory *  lib/tasks  cat deploy.rake Wed Apr 10 16:45:22 2019
# use SSHKit directly instead of Capistrano
require 'sshkit'
include SSHKit::DSL
SSHKit.config.command_map[:rake] = "./bin/rake"
# set the location on the server of where we want files copied to and commands executed from
deploy_path = ENV['DEPLOY_PATH']
@fuxx
fuxx / csvdump.sqf
Created September 8, 2018 15:30 — forked from Wolfenswan/csvdump.sqf
///////// ARMA3 Config CSV EXPORT
///////// Usage: [name,CfgPatches name]
///////// Usage: [name] to export bis stuff
///////// Usage: Paste everything below in the debug console and run it (or exec as script)
///////// ToDo: Filter weapon variants (with sights etc)
private ["_CfgPatches","_configPath","_collectionName","_getClass","_out","_wepsEx","_itemsEx","_magsEx","_backEx","_weapons","_backpacks","_magazines","_glasses","_configName","_picture","_parents","_type","_classname","_mags","_mass","_capacity","_armor","_passthrough","_append","_ammo"];
_CfgPatches = false;
_configPath = "";
@fuxx
fuxx / align_images.py
Created December 29, 2017 09:59 — forked from anonymous/align_images.py
Face alignment scripts based on 1adrianb/face-alignment
import argparse
import cv2
import dlib
import json
import numpy
import skimage
from pathlib import Path
from tqdm import tqdm
from umeyama import umeyama
@fuxx
fuxx / autotag.sh
Created June 14, 2017 08:58
Cocoapods auto tagging private repo
# dont allow any error
set -e
set -o xtrace
set -x
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
export LC_ALL=en_US.UTF-8
PATH="$PATH:/usr/local/bin"
@fuxx
fuxx / nomaster.sh
Created June 14, 2017 08:58
No master
set -e
BRANCH=$(git rev-parse --abbrev-ref HEAD)
if [[ "$BRANCH" = "master" ]]; then
echo =============================================
echo == Wont build - $BRANCH is a ignored branch.
echo =============================================
exit -1
fi
// MARK: - Expectations
extension XCTestCase {
enum Expectation: String {
case Exists = "exists == 1"
case NotExists = "exists == 0"
case Hittable = "hittable == 1"
case NotHittable = "hittable == 0"
func predicate() -> NSPredicate {
//
// AppLinkDeviceOutputTests.swift
// C24Core
//
// Created by Stefan Mayer-Popp on 24.05.16.
// Copyright © 2016 CocoaPods. All rights reserved.
//
import XCTest
//
// SafariAppLinkTests.swift
// C24Core
//
// Created by Stefan Mayer-Popp on 23.05.16.
// Copyright © 2016 CocoaPods. All rights reserved.
//
import XCTest