This file contains 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
<OFX> | |
<SIGNONMSGSRQV1> | |
<SONRQ> | |
<DTCLIENT>20071015021529.000[-8:PST] | |
<USERID>Greg123 | |
<USERPASS>Greg | |
<LANGUAGE>ENG | |
<FI> | |
<ORG>MYBANK | |
<FID>01234 |
This file contains 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
# general filters | |
/^[^a-z0-9]+$/ # all caps posts | |
/wikipedia.org\/.*4chan/i;stub:no | |
# global cancer | |
/^sage/i | |
/rebbit|le(dd|bb)it/i | |
#/reddit\.com/i | |
# /pol/ shitpost filters |
This file contains 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 AutoCast { | |
@SuppressWarnings("unchecked") | |
public static <T> T cast(final Object object) { | |
return (T) object; | |
} | |
public static void main(final String... args) { | |
final String s = "test"; | |
final Object o = s; | |
final String t = cast(o); |
This file contains 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 org.junit.Test; | |
import org.junit.runner.RunWith; | |
import org.junit.runners.JUnit4; | |
@RunWith(JUnit4.class) | |
public class CastTest { | |
public static class AutoCast { | |
@SuppressWarnings("unchecked") | |
public static <T> T cast(final Object object) { | |
return (T) object; |
This file contains 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.io.File; | |
import java.io.IOException; | |
import org.apache.http.client.fluent.Request; | |
import org.apache.http.client.fluent.Response; | |
import org.apache.http.entity.ContentType; | |
/** | |
* @author msicker | |
* @version 1.0 |
This file contains 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 | |
exec java -cp $DYNAMO_HOME/../DAS/lib/classes.jar atg.core.net.URLHammer "$@" |
This file contains 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
if [[ ! -f ~/.git-prompt.sh ]]; then | |
curl -o ~/.git-prompt.sh https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh | |
fi | |
. ~/.git-prompt.sh | |
function get_version_ctl_branch() { | |
local dir="$PWD" | |
local vcs | |
local nick |
This file contains 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
# vim:syn=sh:ft=sh: | |
# vim aliases | |
export EDITOR=vim | |
alias gvim='open -a /Applications/MacVim.app' | |
alias se='sudo -e' # sudo edit; make sure $EDITOR is vim or something! | |
# Directory aliases | |
alias ..='cd ..' # go back one directory | |
alias ...='cd ../..' | |
alias ....='cd ../../..' |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0" | |
xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd"> | |
<ext:property-placeholder/> | |
<bean id="hazelcastInstance" class="com.hazelcast.core.Hazelcast" factory-method="newHazelcastInstance" destroy-method="shutdown"> | |
<argument> | |
<bean class="com.hazelcast.config.FileSystemXmlConfig"> |
This file contains 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
:h hidden | |
- allows you to keep buffers open | |
:ls | |
- lists open buffers | |
:b (:buffer) | |
- edit buffer N from list (jump between buffers) | |
- can also use :Nb for buffer number N |
OlderNewer