This is my i3
config, using FontAwesome icons for i3status
.
Save files to ~/.i3
.
#Bicycle industry classes | |
class Bike_shop(object): | |
def __init__(self, name, inventory = None): | |
self.name = name | |
self.margin = 0.2 | |
if None == inventory: | |
self.inventory = [] | |
else: | |
self.inventory = inventory |
#!/usr/bin/env bash | |
INRES="1600x900" # input resolution | |
OUTRES="1600x900" # output resolution | |
FPS="10" # target FPS | |
GOP="20" # i-frame interval, should be double of FPS, | |
THREADS="4" # max 6 | |
CBR="1300k" # constant bitrate (should be between 1000k - 3000k) | |
QUALITY="veryfast" # one of the many FFMPEG preset | |
STREAM_KEY="foo" | |
SERVER="rtmp://eumedia1.livecoding.tv:1935/livecodingtv" |
This is my i3
config, using FontAwesome icons for i3status
.
Save files to ~/.i3
.
<?php | |
/* start editable */ | |
// Register your client at https://orcid.org/developer-tools and replace the details below | |
define('OAUTH_CLIENT_ID', 'YOUR-CLIENT-ID'); | |
define('OAUTH_CLIENT_SECRET', 'YOUR-CLIENT-SECRET'); | |
define('OAUTH_REDIRECT_URI', 'https://developers.google.com/oauthplayground'); // URL of this script | |
define('ORCID_PRODUCTION', false); // sandbox; change to true when ready to leave the sandbox | |
/* end editable */ |
import "ecere" | |
enum FancyState { start, finish, fail }; | |
class FancyString : struct | |
{ | |
public property const String s | |
{ | |
set { s = CopyString(value); } | |
get { return s; } |
import "ecere" | |
class AsyncTask : Thread | |
{ | |
public void * userData; | |
virtual bool any_object::notifyDone(); | |
void doSomething() | |
{ |
var player = map.getPlayer(); | |
var moveToward = function (obj, type) { | |
var target = obj.findNearest(type); | |
var leftDist = obj.getX() - target.x; | |
var upDist = obj.getY() - target.y; | |
var direction; | |
if (upDist == 0 && leftDist == 0) { | |
return; | |
} if (upDist > 0 && upDist >= leftDist) { |
#!/usr/bin/env python3 | |
############################################################################# | |
## readcue.py | |
## This file is part of readcue | |
## Copyright (C) 2014 Dhaval Anjaria | |
## Copyright (C) 2014 Darcy Bras da Silva | |
## | |
## This program is free software: you can redistribute it and/or modify | |
## it under the terms of the GNU General Public License as published by |
;;; highlight-chars.el --- Highlight specified sets of characters, including whitespace. | |
;; | |
;; Filename: highlight-chars.el | |
;; Description: Highlight specified sets of characters, including whitespace. | |
;; Author: Drew Adams | |
;; Maintainer: Drew Adams (concat "drew.adams" "@" "oracle" ".com") | |
;; Copyright (C) 2000-2014, Drew Adams, all rights reserved. | |
;; Created: Fri Nov 16 08:37:04 2012 (-0800) | |
;; Version: 0 | |
;; Package-Requires: () |
#!/bin/bash | |
echo "TRANSLATE ME, I AM WRITTEN IN GERMAN ;)" | |
#Den Titel zwischenspeichern | |
title=$(youtube-dl --get-title $*) | |
#Sonderzeichen, die bei Dateinamen Probleme bereiten ersetzen | |
title=$(echo "$title" | sed -e s/[^\]\[A-Za-z0-9._{}[:space:]\(\)\-]/_/g) | |
#Nur dann, wenn Titel nicht leer, hat die Verbindung geklappt und nur dann sollen die weiteren Schritte eingeleitet werden! |