Skip to content

Instantly share code, notes, and snippets.

Avatar
🇮🇩
aku ubuntu

Sugeng Tigefa tigefa4u

🇮🇩
aku ubuntu
View GitHub Profile
View 0001-albino-windows-refactor.patch
diff --git a/lib/albino.rb b/lib/albino.rb
index 387c8e9..b77d55e 100644
--- a/lib/albino.rb
+++ b/lib/albino.rb
@@ -1,4 +1,5 @@
require 'posix-spawn'
+require 'rbconfig'
##
# Wrapper for the Pygments command line tool, pygmentize.
View tigefa4u.github.io.sh
git clone https://github.com/tigefa4u/tigefa4u.github.io.git
cd tigefa4u.github.io
jekyll serve
View gh-pages-tips.md

Working With Github Pages

The FAQ maintained by Github covers most stumbling blocks, some other tips and tricks supplied here.

Gitignore

Add _site to .gitignore. The generated site should not be uploaded to Github since its gets generated by github.

Working With Code Partials

View jekyll-create-tag-pages-rakefile.rb
desc 'Generate tags page'
task :tags do
puts "Generating tags..."
require 'rubygems'
require 'jekyll'
include Jekyll::Filters
options = Jekyll.configuration({})
site = Jekyll::Site.new(options)
site.read_posts('')
View install-gitlab-ubuntu.sh
#!/bin/bash
## Versão do OS 13.04 Server 64 Bits
## Disco de 30GB e 2GB de RAM
## Instalação limpa só com ssh e vi
## Vamos instalar com Mysql e Webserver Nginx
## Nesse Screencast não vou cobrir a instalação do Ubuntu pois é muito simples
## Versão que vai ser instalada é a 6.1 estavel do Gitlab
## Passo a passo de Instalação está nesse link
## https://github.com/gitlabhq/gitlabhq/blob/6-1-stable/doc/install/installation.md
@tigefa4u
tigefa4u / composer-gitonomy
Last active Jan 1, 2016
gitonomy composer.json
View composer-gitonomy
{
"name": "gitonomy/gitonomy",
"description": "Git repositories inside your infrastructure",
"license": "MIT",
"authors": [
{
"name": "Alexandre Salomé",
"email": "alexandre.salome@gmail.com",
"homepage": "http://alexandre-salome.fr"
},
@tigefa4u
tigefa4u / parameters.yml
Created Jan 1, 2014
gitonomy config.yml
View parameters.yml
parameters:
# Database
database_driver: pdo_mysql
database_host: 127.12.17.130
database_port: 3306
database_name: gitonomy
database_user: adminAfeyCHB
database_password: W3dKXiieM8Im
# Security
@tigefa4u
tigefa4u / settings.php
Last active Jan 1, 2016
drupal settings.php for appfog
View settings.php
<?php
/**
* @file
* Drupal site-specific configuration file.
*
* IMPORTANT NOTE:
* This file may have been set to read-only by the Drupal installation program.
* If you make changes to this file, be sure to protect it again after making
* your modifications. Failure to remove write permissions to this file is a
@tigefa4u
tigefa4u / wp-config.php
Created Jan 2, 2014
wordpress wp-config.php for appfog
View wp-config.php
<?php
/**
* The base configurations of the WordPress.
*
* This file has the following configurations: MySQL settings, Table Prefix,
* Secret Keys, WordPress Language, and ABSPATH. You can find more information
* by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
* wp-config.php} Codex page. You can get the MySQL settings from your web host.
*
* This file is used by the wp-config.php creation script during the
@tigefa4u
tigefa4u / database.yml
Last active May 30, 2016
redmine database.yml for Openshift and Ruby On Rails
View database.yml
# Default setup is given for MySQL with ruby1.8. If you're running Redmine
# with MySQL and ruby1.9, replace the adapter name with `mysql2`.
# Examples for PostgreSQL and SQLite3 can be found at the end.
# rename database.yml
production:
adapter: mysql2
database: <%= ENV['OPENSHIFT_APP_NAME'] %>
host: <%= ENV['OPENSHIFT_MYSQL_DB_HOST'] %>
username: <%= ENV['OPENSHIFT_MYSQL_DB_USERNAME'] %>
You can’t perform that action at this time.