Skip to content

Instantly share code, notes, and snippets.

View jzfgo's full-sized avatar
🤓

Javier Zapata jzfgo

🤓
View GitHub Profile
/*
constructor for Robot
*/
var Robot = function(name) {
this.name = name;
};
/*
property in prototye
*/
<?php
class InitialDbMigrationCommand extends CConsoleCommand
{
public function run($args) {
$schema = $args[0];
$tables = Yii::app()->db->schema->getTables($schema);
$addForeignKeys = '';
$dropForeignKeys = '';
@jzfgo
jzfgo / xvfb.service
Created July 8, 2015 17:07
Manage Xvfb (Virtual Framebuffer X Server) as a service for systemd based distros (CentOS 7, Ubuntu 15...)
[Unit]
Description=Virtual Frame Buffer X Server
After=network.target
[Service]
ExecStart=/usr/bin/Xvfb :42 -screen 0 1x1x24 -ac +extension GLX +render -noreset
[Install]
WantedBy=multi-user.target

Keybase proof

I hereby claim:

  • I am nkm on github.
  • I am jzf (https://keybase.io/jzf) on keybase.
  • I have a public key ASCXx3iuMA0a8aT0rVGSdxebJ1sMC8eAS5ymNqJPcv-lLwo

To claim this, I am signing this object:

Verifying that "javito.id" is my Blockstack ID. https://onename.com/javito
Verifying my Blockstack ID is secured with the address 16CEPNT4rXFzVSQzvAtqeVGW3GMRoCkaHn https://explorer.blockstack.org/address/16CEPNT4rXFzVSQzvAtqeVGW3GMRoCkaHn

Keybase proof

I hereby claim:

  • I am jzfgo on github.
  • I am jzf (https://keybase.io/jzf) on keybase.
  • I have a public key ASDVgDhgwPH4eV5OnrE3l59ZL8Bdh7IfLzugvWxRvls8rgo

To claim this, I am signing this object: