Skip to content

Instantly share code, notes, and snippets.

Ken Marfilla marfillaster

Block or report user

Report or block marfillaster

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@marfillaster
marfillaster / README.md
Last active Sep 23, 2019
WSL Desktop Launched i3wm
View README.md

WSL Desktop Launched i3wm

Requirements VcXsrv, i3wm in wsl.

The three files below must be stored in the same directory (%UserProfile%\Desktop).

  • i3.vbs - This is the entrypoint script. It runs i3.bat in the background.
  • i3.bat - Runs VcXsrv using d0.xlaunch profile then starts i3
  • d0.xlaunch - VcXsrv in "One window without titlebar" mode at DISPLAY=:0
@marfillaster
marfillaster / .gitlab-ci.yml
Last active Jul 28, 2017
Generic Docker Gitlab Runner
View .gitlab-ci.yml
image: docker:latest
services:
- docker:dind
stages:
- build
- deploy
before_script:
View self-signed-docker-nginx.md

Nginx configuration

listen       443 ssl;
ssl_certificate /etc/ssl/certs/nginx.cert;
ssl_certificate_key  /etc/ssl/private/nginx.key;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';

Generate self signed certificate

View gist:86a3fe73ec0234735fd5
Verifying that +batarang is my blockchain ID. https://onename.com/batarang
View gist:f88681eb0135692b8ae9
// ==UserScript==
// @name coinsph rate info
// @namespace http://your.homepage/
// @version 0.1
// @description enter something useful
// @author Ken Marfilla
// @match http://stackoverflow.com/questions/5258989/manually-adding-a-userscript-to-google-chrome
// @include https://coins.ph/*
// @grant none
// ==/UserScript==
View keybase.md

Keybase proof

I hereby claim:

  • I am marfillaster on github.
  • I am marfillaster (https://keybase.io/marfillaster) on keybase.
  • I have a public key whose fingerprint is DC23 23ED D36A 52F5 3D56 3F2F 074F E92E 70F2 1CC6

To claim this, I am signing this object:

View designer.html
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
@marfillaster
marfillaster / config_prod.yml
Created Aug 22, 2013
Symfony2 automatic asset versioning. `nginx symfony version`
View config_prod.yml
imports:
- { resource: release.php }
- { resource: config.yml }
framework:
templating:
assets_version: %release_version%
assets_version_format: "assets/rev/%%2$s/%%1$s"
View form.php
<?php
class BicycleType extends AbstractType
{
public function buildForm($formBuilder)
{
$formBuilder->add('wheels', 'choice', array('choices' => array(1, 2)));
}
}
class Tricycle extends BicycleType
@marfillaster
marfillaster / openkore_party.md
Created May 23, 2012
Priest supported party
View openkore_party.md
#auth slave to send chat command to master
auth slavename 1

#auth master to send chat command to slave
auth mastername 1
#config_master
route_step 10
You can’t perform that action at this time.