Skip to content

Instantly share code, notes, and snippets.

View sonOfRa's full-sized avatar

Simon Levermann sonOfRa

View GitHub Profile
/**
* Interface definition for a Tox Friendlist implementation
*
* @author sonOfRa
*
*/
public interface FriendList extends Iterable<ToxFriend> {
/**
* Retrieve a friend from the list by its number
/* FriendList.java
*
* Copyright (C) 2013 Tox project All Rights Reserved.
*
* This file is part of jToxcore
*
* jToxcore 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.
package im.tox.jtoxcore;
import java.util.ArrayList;
/**
* Wrapper class for the Tox Friendlist.
*
* @author sonOfRa
*
*/
Locutus ~ # crossdev -t i686-pc-linux-gnu
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
* crossdev version: 20130628
* Host Portage ARCH: amd64
* Target Portage ARCH: x86
* Target System: i686-pc-linux-gnu
* Stage: 4 (C/C++ compiler)
* ABIs: default
* binutils: binutils-[latest]
#!/bin/sh
java -cp class:path:entries -jar myJar.jar
emerge: there are no ebuilds to satisfy ">=net-im/ktp-contact-applet-0.6.3".
(dependency required by "net-im/ktp-call-ui-0.6.3" [ebuild])
(dependency required by "net-im/ktp-call-ui" [argument])
@sonOfRa
sonOfRa / unmerge.js
Last active December 25, 2015 11:08
/**
* Unmerge the specified <td> element
* @param td td to unmerge
*/
function unmerge(td) {
var colspan = td.attr("colspan");
td.attr("colspan", 1);
var id = td.attr("id").split("x");
for (var i = colspan - 1; i > 0; i--) {
-/oyddmdhs+:. simon@Locutus
-odNMMMMMMMMNNmhy+-` OS: Gentoo 2.2
-yNMMMMMMMMMMMNNNmmdhy+- Kernel: x86_64 Linux 3.10.7-gentoo-r1
`omMMMMMMMMMMMMNmdmmmmddhhy/` Uptime: 6h 51m
omMMMMMMMMMMMNhhyyyohmdddhhhdo` Packages: 1182
.ydMMMMMMMMMMdhs++so/smdddhhhhdm+` Shell: zsh 5.0.2
oyhdmNMMMMMMMNdyooydmddddhhhhyhNd. Resolution: 1600x900
:oyhhdNNMMMMMMMNNNmmdddhhhhhyymMh DE: KDE4
.:+sydNMMMMMNNNmmmdddhhhhhhmMmy WM: KWin
/mMMMMMMNNNmmmdddhhhhhmMNhs: WM Theme: Oxygen
simon@Locutus keydir % tree simon/
simon/
├── apollo
│   └── simon.pub
├── fb3
│   └── simon.pub
├── locutus
│   └── simon.pub
├── root
│   └── simon.pub
Locutus root # emerge -vpt net-im/kde-telepathy-meta
These are the packages that would be merged, in reverse order:
Calculating dependencies... done!
[ebuild N ~] net-im/kde-telepathy-meta-0.6.3:4 0 kB
[ebuild N ~] net-im/ktp-auth-handler-0.6.3:4 USE="(-aqua) -debug" LINGUAS="de -bs -ca -ca@valencia -cs -da -el -es -et -fi -fr -ga -gl -hu -ia -it -ja -kk -km -lt -mr -nb -nds -nl -pl -pt -pt_BR -ro -ru -sk -sl -sr -sr@ijekavian -sr@ijekavianlatin -sr@latin -sv -uk -vi -zh_CN -zh_TW" 43 kB
[ebuild N ~] net-im/ktp-approver-0.6.3:4 USE="(-aqua) -debug" LINGUAS="de -bs -ca -ca@valencia -cs -da -el -es -et -fi -fr -ga -gl -hu -ia -it -ja -kk -km -lt -mr -nb -nds -nl -pl -pt -pt_BR -ro -ru -sk -sl -sr -sr@ijekavian -sr@ijekavianlatin -sr@latin -sv -tr -uk -zh_CN -zh_TW" 35 kB
[ebuild N ~] net-im/ktp-text-ui-0.6.3:4 USE="(-aqua) -debug" LINGUAS="de -bs -ca -ca@valencia -cs -da -el -es -et -fi -fr -ga -gl -hu -ia -it -ja -kk -km -lt -mr -nb -nds -nl -pl -pt -pt_BR -ro -ru -sk -sl -sr -sr@i