This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ mkdir repos | |
$ cat <<EOF>> repos/centos.repo | |
[main] | |
arch=aarch64 | |
basearch=aarch64 | |
[centos8-base] | |
name=CentOS-8-Base | |
baseurl=http://mirror.centos.org/centos/8/BaseOS/aarch64/os/ | |
gpgcheck=0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* | |
* Fun code for programmers day | |
* Programmers day is the 256th day of the year | |
* https://en.wikipedia.org/wiki/Day_of_the_Programmer | |
* Iván Chavero <[email protected]> | |
* | |
**/ | |
#include <stdio.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# This script configures WordPress file permissions based on recommendations | |
# from http://codex.wordpress.org/Hardening_WordPress#File_permissions | |
# | |
# Author: Michael Conigliaro | |
# | |
WP_OWNER=changeme # <-- wordpress owner | |
WP_GROUP=changeme # <-- wordpress group | |
WP_ROOT=/home/changeme # <-- wordpress root directory |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Bugzilla Script to close ALL EOL Bugs | |
# Author : Chandan Kumar <[email protected]> | |
# | |
# How to Run this script: | |
# $ python close_eol_bugs.py | |
import bugzilla | |
import getpass | |
BZ_URL = "https://bugzilla.redhat.com" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$use_subnets_value = hiera('CONFIG_USE_SUBNETS') | |
$use_subnets = $use_subnets_value ? { | |
'y' => true, | |
default => false, | |
} | |
Exec { timeout => hiera('DEFAULT_EXEC_TIMEOUT') } | |
$neutron_db_host = hiera('CONFIG_MARIADB_HOST_URL') | |
$neutron_db_name = hiera('CONFIG_NEUTRON_L2_DBNAME') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Instalaciṕn de fedora en cubietruck | |
http://permalink.gmane.org/gmane.comp.hardware.netbook.arm.sunxi/3966 | |
problemas de openstack en ARM: | |
el template de packstack trata de instalar qemu-kvm | |
el paquete openstack-nova-compute tiene como dependencia qemu-kvm y python-libguestfs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/var/lib/gems/1.9.1/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb | |
module ActiveRecord | |
module ConnectionAdapters # :nodoc: | |
module DatabaseStatements | |
# Converts an arel AST to SQL | |
def to_sql(arel, binds = []) | |
if arel.respond_to?(:ast) | |
visitor.accept(arel.ast) do <<<<<<---------- |