This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Background] | |
Color=0,0,0 | |
Transparency=false | |
[BackgroundIntense] | |
Bold=true | |
Color=44,44,44 | |
Transparency=false | |
[Color0] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# 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 | |
# the Free Software Foundation; either version 3 of the License, or | |
# (at your option) any later version. | |
import argparse, dbus, sys | |
bus = dbus.SessionBus() | |
klipper = bus.get_object('org.kde.klipper', '/klipper') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PROFILE=$1 | |
MVN_HOME=~/.m2 | |
SETTINGS_FILE=settings.xml | |
SETTINGS="${MVN_HOME}/${SETTINGS_FILE}" | |
if [ -z "$1" ]; then | |
rm -f "${SETTINGS}" | |
else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# apt-get install binfmt-support qemu qemu-user-static debootstrap kpartx lvm2 dosfstools | |
deb_mirror="http://ftp.fr.debian.org/debian" | |
#deb_local_mirror="http://debian.kmp.or.at:3142/debian" | |
bootsize="64M" | |
deb_release="wheezy" | |
device=$1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Qt 4.7 | |
import org.kde.plasma.core 0.1 as PlasmaCore | |
import org.kde.plasma.graphicswidgets 0.1 as PlasmaWidgets | |
Item { | |
id: pomodoro | |
PlasmaWidgets.PushButton { | |
id: button | |
anchors { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Auto-LUKS : Automatically open multiple LUKS containers with a single passphrase | |
# Aeris <[email protected]> | |
# Licensed under AGPLv3 or later | |
PREREQ="" | |
prereqs() { | |
echo "$PREREQ" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public String foreignKeyColumnName(final String propertyName, | |
final String propertyEntityName, final String propertyTableName, | |
final String referencedColumnName) { | |
return this.columnName(propertyTableName) + "_" | |
+ this.columnName(referencedColumnName); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class DateTimeRange { | |
private final DateTime start; | |
private final DateTime end; | |
public DateTimeRange(final DateTime start, final DateTime end) { | |
this.start = start; | |
this.end = end; | |
} | |
public DateTime getStart() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
#encoding: utf-8 | |
require 'sqlite3' | |
SEPARATOR = '' | |
class Stats | |
DB_FILE=File.join Dir.home, ".xd.sqlite3" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.lang.annotation.ElementType; | |
import java.lang.annotation.Retention; | |
import java.lang.annotation.RetentionPolicy; | |
import java.lang.annotation.Target; | |
@Retention(RetentionPolicy.RUNTIME) | |
@Target(ElementType.TYPE) | |
public @interface DbSchema { | |
String value(); | |
} |