Skip to content

Instantly share code, notes, and snippets.

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

Carlos A. Rocha CARocha

🏠
Working from home
View GitHub Profile
#!/bin/bash
proyecto=''
folder=''
#Nombre tab de terminal base, desde donde ejecuto script
wmctrl -r :ACTIVE: -N "Base"
#Obtengo los nombres de carpeta y proyecto
for i in "$@"
do
echo $i
case $i in

Using Atom on Fedora 20

This guide walks you through the steps of building and launching the Atom text editor on Fedora 20.

Building Atom

  1. Install prerequisite packages

import os
bind = "127.0.0.1:9002"
workers = (os.sysconf("SC_NPROCESSORS_ONLN") * 2) + 1
loglevel = "error"
pidfile = "/home/pywatch/run/staging-pywatch-site.pid"
accesslog = "/home/pywatch/logs/gunicorn/gunicorn-access-staging-pywatch-site.log"
errorlog = "/home/pywatch/logs/gunicorn/gunicorn-error-staging-pywatch-site.log"
secure_scheme_headers = {'X-FORWARDED-PROTOCOL': 'http',
'X-FORWARDED-PROTO': 'http',
  1. Wget ftp://ftp.gnu.org/pub/gnu/gettext/gettext...t-0.12.1.tar.gz
  2. Untar file as tar -zxvf gettext-0.12.1.tar.gz
  3. cd to the directory containing the package's source code and type ./configure to configure the package for your system. If you're using csh on an old version of System V, you might need to type sh ./configure instead to prevent csh from trying to execute configure itself.

Running configure takes awhile. While running, it prints some messages telling which features it is checking for.

  1. Type make to compile the package.
  2. Optionally, type make check to run any self-tests that come with the package.
  3. Type make install to install the programs and any data files and documentation.
#!/bin/sh
# Sublime Text 3 install with Package Control
# http://simonewebdesign.it/blog/install-sublime-text-3-on-fedora-20/
# Run this script with:
# $ curl LINK_TO_THIS_SCRIPT | sh
#for fedora 18,19,20 32 bit
#uncomment curl and erase the x64 :)
# Please see the following blog post for a description of this cheatsheet:
# http://www.weogeo.com/blog/Tiles_a_la_WetSaw_Setting_up_the_WetSaw_Rendering_environment.html
# instantiate ami-08d97e61 as <del>micro</del> small or medium instace in Zone us-east-1d and then ssh to the instance
# Gotcha: micro instances don't have enough memory to compile mapnik:
# https://github.com/mapnik/mapnik/issues/1216
# https://github.com/mapnik/mapnik/issues/1267
# install post-release updates
sudo yum -y update
{
"color_scheme": "Packages/User/textmate-solarized/Solarized (Dark).tmTheme",
// "color_scheme": "Packages/User/textmate-solarized/Solarized (Light).tmTheme",
// "color_scheme": "Packages/User/TextMate-Tomorrow-Theme/Tomorrow-Night-Eighties.tmTheme",
// "color_scheme": "Packages/User/TextMate-Tomorrow-Theme/Tomorrow-Night-Bright.tmTheme",
// "color_scheme": "Packages/User/TextMate-Tomorrow-Theme/Tomorrow-Night.tmTheme",
"font_size": 12,
"font_face": "menlo",
// "font_face": "monaco",
// "font_face": "Inconsolata",