Skip to content

Instantly share code, notes, and snippets.

View RX14's full-sized avatar

Stephanie Wilde-Hobbs RX14

View GitHub Profile
---
stephs:
com.github.blamevic.steph.irc.IRCSteph:
hostname: anarchy.esper.net
port: 6667
username: StephanieDola
realname: Stephanie Dola
debug: true
handlers:
rx14@redproject:/opt/artifactory/logs $ grep -o "\[ACCEPTED DOWNLOAD\] \S*" access.log | grep -o "[^:]*$" | grep ".jar$" | uniq -c
3 vic/mod/integratedcircuits/integratedcircuits/1.7.10-0.4r12.25-SNAPSHOT/integratedcircuits-1.7.10-0.4r12.25-SNAPSHOT.jar
1 net/minecraftforge/forge/1.7.10-10.13.2.1235/forge-1.7.10-10.13.2.1235-userdev.jar
1 codechicken/CodeChickenLib/1.7.10-1.1.1.105/CodeChickenLib-1.7.10-1.1.1.105-dev.jar
1 codechicken/CodeChickenCore/1.7.10-1.0.4.29/CodeChickenCore-1.7.10-1.0.4.29-dev.jar
1 codechicken/ForgeMultipart/1.7.10-1.1.0.311/ForgeMultipart-1.7.10-1.1.0.311-dev.jar
1 codechicken/NotEnoughItems/1.7.10-1.0.3.67/NotEnoughItems-1.7.10-1.0.3.67-dev.jar
1 mrtjp/ProjectRed/1.7.10-4.5.2.52/ProjectRed-1.7.10-4.5.2.52-dev.jar
1 com/bluepowermod/BluePower/0.1.787/BluePower-0.1.787-deobf.jar
1 org/scala-lang/scala-parser-combinators_2.11/1.0.1/scala-parser-combinators_2.11-1.0.1.jar
public interface IConnectionManager {
public List<String> getChannels();
public void joinChannel(String channel);
public boolean leaveChannel(String channel);
public Iterator<PrivateMessage> getMessageIterator(String channel);
}
package com.github.blamevic.enumerators;
import java.util.List;
public class ListEnumerator<E> implements Enumerator<E>
{
List<E> list;
int position;
public ListEnumerator(List<E> list)
package com.github.blamevic.enumerators;
import java.util.Iterator;
import java.util.NoSuchElementException;
class EnumeratorIterator<E> implements Iterator<E>
{
private Enumerator<E> enumerator;
private E next;
private boolean hasNext;
templates:
torrent:
utorrent:
url: http://localhost:8080/gui/
username: admin
password: Nuyh2XVs
path: /data/
tasks:
anime:
templates:
global:
parsing:
series: guessit
torrent:
#
tasks:
anime:
template: torrent
templates:
global:
parsing:
series: guessit
torrent:
transmission:
host: localhost
port: 9091
[i for i, ltr in enumerate(s) if ltr == ch]
#same as
list = []
for i, ltr in enumerate(s):
if ltr == ch:
list.add(i)
begin 666 filename
L1&5A9"!E;F-O9&EN9W,@87)E(&%L;6]S="!A<R!F=6X@87,@;&%T:[email protected]
`
end