Skip to content

Instantly share code, notes, and snippets.

View fenix011's full-sized avatar
🏠
Working from home

Librebits fenix011

🏠
Working from home
View GitHub Profile
E: Could not perform immediate configuration on 'default-jre'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)
@fenix011
fenix011 / gist:5938265
Created July 6, 2013 01:45
Wiki clone error
jordi@i-ching:~/Utiles/github/alba_wiki$ git clone https://github.com/proyectoalba/alba/wiki
Cloning into 'wiki'...
WARNING: gnome-keyring:: couldn't connect to: /home/jordi/.cache/keyring-Vd3PFR/pkcs11: No such file or directory
fatal: https://github.com/proyectoalba/alba/wiki/info/refs not valid: is this a git repository?
jordi@i-ching:~/Utiles/github/alba_wiki$ git clone https://github.com/proyectoalba/alba/wiki.git
Cloning into 'wiki'...
WARNING: gnome-keyring:: couldn't connect to: /home/jordi/.cache/keyring-Vd3PFR/pkcs11: No such file or directory
fatal: https://github.com/proyectoalba/alba/wiki.git/info/refs not found: did you run git update-server-info on the server?
@fenix011
fenix011 / gist:5977149
Created July 11, 2013 16:48
root@i-ching:/var/www/yii2/apps/basic# /usr/local/bin/composer.phar create-project
root@i-ching:/var/www/yii2/apps/basic# /usr/local/bin/composer.phar create-project
Loading composer repositories with package information
Installing dependencies (including require-dev)
- Installing yiisoft/yii2 (dev-master 4ff4c05)
Cloning 4ff4c058483d15e9cfdf402e6f4111577b05a27c
- Installing yiisoft/yii2-composer (dev-master 69ffec5)
Cloning 69ffec54b61a3b78e68cb218c2cf2dec1c6fbbcc
yiisoft/yii2 suggests installing michelf/php-markdown (Required by Markdown.)
yiisoft/yii2 suggests installing twig/twig (Required by TwigViewRenderer.)
@fenix011
fenix011 / Error SQL query:
Created August 5, 2013 00:20
##SETUP [..] 8. Execute SQL files in the database **protected/data/schema.mysql.sql**
Error
SQL query:
CREATE TABLE users(
id INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT ,
username VARCHAR( 128 ) NOT NULL ,
PASSWORD VARCHAR( 40 ) NOT NULL ,
email VARCHAR( 128 ) NOT NULL
) ENGINE = InnoDB;
@fenix011
fenix011 / gist:6193605
Last active December 20, 2015 20:58
voy a revisar desde http://piratepad.net/ep/pad/view/lorea-mail-august-2013/latest , a retroalimentar Mario
Bienvenido Mario a la herramienta que está cambiando el mundo del software... : GitHub
--
Querido habitante
Hoy te invitamos a participar en la elaboración de los Términos de Servicio de N-1, tu semilla de Lorea. [0]
La participación en el proyecto Lorea ha caído dramáticamente en el último año, a pesar de que la actividad en la web de N-1 se ha mantenido en un ritmo de crecimiento constante. Esto ha creado una situación crítica que puede poner en peligro nuestros esfuerzos de apoyar un entorno de red social no-comercial, descentralizada, y respetuosa con la privacidad en la Web.
There are several suitable screens on:
9990.R (09/01/2013 04:56:02 PM) (Attached)
9801.pts-0.lacasera (09/01/2013 04:55:23 PM) (Attached)
Type "screen [-d] -r [pid.]tty.host" to resume one of them.
class ArticlesController < ApplicationController
def new
end
def create
@article = Article.new(article_params)
@article.save
<p>
<strong>Title:</strong>
<%= @article.title %>
</p>
<p>
<strong>Text:</strong>
<%= @article.text %>
</p>
@fenix011
fenix011 / default vhost
Created June 5, 2014 15:35
+ tierraviva.tv + 173.246.104.255 : public access to VPS via a) it's domain name + b) 'default/0 Virtualhost onto the IP address ?!
# default virtualhost -> gives correspondant 000-default file on /sites-enabled when 'a2ensite default'
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /srv/datadisk01/admin/www/silvia
ServerName blablabla
# do i really need a ServerName :-/ ?
@fenix011
fenix011 / gist:1748ecdadff5e5e444cf
Created June 5, 2014 21:47
my very first Octopress-Jekyll blog 'rake generate' errors
jordi@i-ching:~/octopress$ rake generate
## Generating Site with Jekyll
identical source/stylesheets/screen.css
WARNING: Could not read configuration. Using defaults (and options).
(/home/jordi/octopress/_config.yml): could not find expected ':' while scanning a simple key at line 66 column 1
Building site: /home/jordi/octopress -> /home/jordi/octopress/_site
Liquid Exception: Unknown tag 'include_array' in index.html
/home/jordi/.rvm/gems/ruby-2.0.0-p451/gems/liquid-2.3.0/lib/liquid/block.rb:62:in `unknown_tag'
/home/jordi/.rvm/gems/ruby-2.0.0-p451/gems/liquid-2.3.0/lib/liquid/tags/if.rb:31:in `unknown_tag'
/home/jordi/.rvm/gems/ruby-2.0.0-p451/gems/liquid-2.3.0/lib/liquid/block.rb:32:in `parse'