Skip to content

Instantly share code, notes, and snippets.

View fs111's full-sized avatar

André Kelpe fs111

View GitHub Profile
2983 mastodon.social
711 mstdn.social
618 botsin.space
399 mastodon.online
353 fed.celp.de
328 chaos.social
305 mastodon.world
299 mamot.fr
297 mas.to
278 mastodon.art
@fs111
fs111 / twittermute.txt
Created June 30, 2021 14:41 — forked from IanColdwater/twittermute.txt
Here are some terms to mute on Twitter to clean your timeline up a bit.
Mute these words in your settings here: https://twitter.com/settings/muted_keywords
ActivityTweet
generic_activity_highlights
generic_activity_momentsbreaking
RankedOrganicTweet
suggest_activity
suggest_activity_feed
suggest_activity_highlights
suggest_activity_tweet
RunJobFlowRequest request = new RunJobFlowRequest()
.withName(String.format("spark-test-cluster-%s", id))
.withApplications(new Application.withName("Spark"), new Application().withName("Zeppelin"))
.withReleaseLabel(EMR_RELEASE_LABEL)
...
RunJobFlowResult result = elasticMapReduceClient.runJobFlow(request);
@fs111
fs111 / hadoop-shell.sh
Created April 28, 2017 12:30
run kotlin shell with full hadoop classpath
#!/bin/bash
# to get gereadling, do port install coreutils on OSX
kotlinc-jvm -cp $(greadlink -f $(echo $(yarn classpath) | tr ":" " ")  | paste -sd ":" -)
@Test
public void testJMXURL() throws IOException {
String url = "service:jmx:rmi:///jndi/rmi://host.example.com:34517/jmxrmi";
JMXServiceURL serviceURL = new JMXServiceURL(url);
assertEquals("host.example.com", serviceURL.getHost());
assertEquals(34517, serviceURL.getPort());
}

Keybase proof

I hereby claim:

  • I am fs111 on github.
  • I am fs111 (https://keybase.io/fs111) on keybase.
  • I have a public key ASBhy6OhSnFanU50mFXTK74fLplCPQjmepqLNK2TJw4TDgo

To claim this, I am signing this object:

class 😭{
public void 😭(){
System.out.println( "😭😭😭" );
}
public static void main(String args[])
{
😭 _ = new 😭();
_.😭();
if( filter != null );
builder = builder.filter( filter );
"Timer for 'TezTask' metrics system" daemon prio=5 tid=0x00007fe36c59b800 nid=0x2245e0b in Object.wait() [0x0000000117d3e000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000007db7d3828> (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Timer.java:552)
- locked <0x00000007db7d3828> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:505)
"CallbackExecutor" daemon prio=5 tid=0x00007fe36c1ed800 nid=0x2214a07 waiting on condition [0x0000000119440000]
java.lang.Thread.State: WAITING (parking)
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
SSL read: error:00000000:lib(0):func(0):reason(0), errno 54