Skip to content

Instantly share code, notes, and snippets.

View mranest's full-sized avatar

Anestis Georgiadis mranest

View GitHub Profile
@mranest
mranest / ertflix.md
Last active February 10, 2024 07:22
ERTFLIX one-liners

ERTFLIX one-liners

Supermonsters

$ for i in {01..20}; do youtube-dl -f best -o supermonsters.s01e$i.mp4 https://mediaserve.ert.gr/bpk-vod/vodext/default/supermonsters-ep$i/supermonsters-ep$i/index.m3u8; done
$ for i in {21..22}; do youtube-dl -f best -o supermonsters.s02e$i.mp4 https://mediaserve.ert.gr/bpk-vod/vodext/default/supermonsters-ep$i-s02/supermonsters-ep$i-s02/index.m3u8; done

Numberblocks

@mranest
mranest / camel-app.groovy
Last active July 22, 2016 14:11
Spring Boot CLI groovy script with Camel support
@Grab("org.apache.camel:camel-spring-boot:2.17.2")
@GrabExclude("org.apache.camel:camel-groovy:2.17.2")
import org.apache.camel.builder.RouteBuilder
import org.apache.camel.spring.boot.CamelSpringBootApplicationController
class CamelRunner implements CommandLineRunner {
@Bean
def files() { new RouteBuilder() { void configure() {
@mranest
mranest / keybase.md
Created August 14, 2014 09:20
Keybase proof

Keybase proof

I hereby claim:

  • I am mranest on github.
  • I am mranest (https://keybase.io/mranest) on keybase.
  • I have a public key whose fingerprint is 0B31 1208 731F 021F 74C6 4257 29D5 2811 32A2 52BF

To claim this, I am signing this object:

@mranest
mranest / arquillian-wildfly-notes.md
Created June 9, 2014 16:46
Arquillian on Wildfly notes

arquillian.xml:

<container qualifier="jboss" default="true">
    <configuration>
        <property name="jbossHome">${env.JBOSS_HOME:/Users/mranest/platform/wildfly-8.1.0.Final}</property>
        <property name="modulePath">${env.JBOSS_HOME:/Users/mranest/platform/wildfly-8.1.0.Final/modules}</property>
    </configuration>
</container>

pom.xml:

@mranest
mranest / update.sh
Created January 27, 2014 08:36
Tanuki service wrapper distribution update script
#!/bin/sh
# Update wrapper components using a delta pack as source.
# Can be used to switch from community to standard distribution.
APP_NAME="fuse"
APP_LONG_NAME="JBoss Fuse"
if [ $# -eq 0 ]; then
echo "Usage: $0 <tanuki delta pack folder>"
exit 1
@mranest
mranest / wrapper-eap-5.conf
Created November 1, 2013 15:40
Tanuki Service Wrapper configuration for JBoss EAP 5.x
#encoding=UTF-8
# Configuration files must begin with a line specifying the encoding
# of the the file.
# Notes for Windows:
# - JBOSS_HOME should be set using absolute path in Windows
set.default.JBOSS_HOME=%WRAPPER_BIN_DIR%/../..
set.default.JBOSSCONF=web
#********************************************************************
@mranest
mranest / wrapper-fuse.conf
Created September 18, 2013 17:00
Tanuki Service Wrapper configuration for JBoss Fuse 6.x
#encoding=UTF-8
# Configuration files must begin with a line specifying the encoding
# of the the file.
# JBoss Fuse wrapper configuration
# Notes for Windows:
# - FUSE_HOME should be set using absolute path in Windows
# - Use ; instead of : for passing multiple values in Java additional parameters
# (i.e. endorsed.dirs and ext.dirs)
@mranest
mranest / wrapper-eap-6.conf
Last active December 23, 2015 09:09
Tanuki Service Wrapper configuration for JBoss EAP 6.x
#encoding=UTF-8
# Configuration files must begin with a line specifying the encoding
# of the the file.
# JBoss wrapper configuration
# See also: https://issues.jboss.org/browse/AS7-1547
# Notes for Windows:
# - JBOSS_HOME should be set using absolute path in Windows
set.default.JBOSS_HOME=%WRAPPER_BIN_DIR%/../..