iT Synergy Blogs

Growing Innovation - Soluciones a problemas reales

  • Facebook
  • Instagram
  • LinkedIn
  • Phone
  • Twitter
  • YouTube

Copyright © 2023 · iT Synergy·

The amazing Twitter Bootstrap Toolkit
The amazing Twitter Bootstrap Toolkit avatar

November 8, 2011 By Juan Camilo Zapata Montúfar Leave a Comment

I ve been working on a personal project on ASP.NET MVC 3 and i decided to use the popular Twitter Bootstrap toolkit (TBT)and is just amazing.

What is the “Twitter Bootstrap Toolkit”?

940 px Grid System + enhanced CSS styles + custom HTML

The  Twitter Bootstrap toolkit is a Grid System composed of span tags , wich i find very helpfull to work with , normally you needed to think on build your web template by yourself from zero,  resulting on  thinking the div structure from scratch and  confront the div aligning problems and/or positioning nightmare.

Now you can use the 940px grid system to just specify how you want your html layout , for example:

The mighty 940px Grid System

With this grid system composed of html span tags you can use a layout that is more suitable to your designs, for example if i wish my web page to have a div configuration like this:

you have to look at the  span configuration that ressemble the most  on the image above. In this case is the span configuration enclosed on the  red square(on the image above) this refers to the  span5 and the span11 group.In HTML code this looks like :

<div class="row" title="example">
    <div class="span5">something</div>
    <div class="span11">something</div>
  </div>

Enhanced CSS styles

With the TBT you have a nice looking website right at the start of the development because it integrates some enhanced css styles. For example you can use the button tag along with a css class to display a nice looking button

<button class=”btn success”>Success</button>

if you want to use that 2.0 tag looking labels you need to use just this snippet of code

<span class label success>New</span>

and it will render into this cool tag

this is just a minimal thing that you can do with the toolkit.

You can see more of the Twitter Bootstrap Toolkit here 


Filed Under: ASP.NET MVC, Twitter, Web Tagged With: 940px, ASP.NET MVC, Bootstrap, CSS, CSS API, Grid System, HTML, HTML API, Toolkit, Twitter, Twitter Bootstrap Toolkit, Web, Web 2.0

Create a complete automation backup plan for your wordpress infrastructure (on the cloud)
Create a complete automation backup plan for your wordpress infrastructure (on the cloud) avatar

October 28, 2011 By Juan Camilo Zapata Montúfar Leave a Comment

If you manage a standard wordpress infrastructure ,where you have an installation of a wordpress blog  and you have two layers separated , the database layer  (in my case mysql) on the database server , and other layer for the presentation (web server) that stores the images uploaded , the themes , and the scripts , you should be aware of the backup process on these two separate layers.

Backup Database file on the database server

There is an easy way and the one i recommend , and is by using the wp-db-backup plugin that you can find here , this plugin actually make a scheduled backup of your wordpress database , you chose monthy , weekly or dayly , also you can chose the backup to be sended by mail witch is very helpful.

The problem with this configuration is that you only have the backup of the database , and the database is not everything concerning wordpress contents, you should also backup the pictures of your blogs , the themes , the uploaded files and adittional scripts.

There is already a workaround to backup ALL your content on the cloud using Amazon S3 services on site http://www.wordpressbackup.org/ which is good but you have to pay for the S3 services processing.

Combine wp-dbbackup plugin + Dropbox cloud services + Windows Task Scheduler

A free alternative i propose is by using the wp-dbbackup plugin along with the DropBox API.

For that i created a c# application(that you can download below) that do the follwing:

1.Zip the contents of the wordpress Images (optionally i can especify the scritps folder but my interest relies only on the images folder for now).

2.Using DropBox API with the SharpBox libraries and a DeveloperKey (that you can obtain here  ) and upload the zipped file to my free DropBox account.

3.Create a Task on the Task scheduler of Windows  to execute the program every week.

You should note that i did not mentioned  wp-dbplugin here , well,  that is because the wp-dbplugin just works nice , and i will “improve” this solution by adding the C# program that backups the images folder of  the wordpress webserver content.

This solution is free and is automated so you have an easy way to backup your wordpress solution easily.

Limitations

Because DropBox is free it gives you 2gb of free space , making a weekly backup of your wordpress images folder can fill that space very quickly . You should check weekly your DropBox backups and delete old backups to prevent getting out of space.

You can download the source code below:

WpZipToDropBox

Filed Under: Cloud, DropBox, SharpBox, Windows Scheduler Tagged With: Backup, C#, Cloud, DropBox, DropBox API, SharpBox, Windows, Wordpress, wordpress backup, wordpress images backup, wordpress on the cloud, wordpress to dropbox, WP-db-Backup

Easy Opening Command Prompt in folder
Easy Opening Command Prompt in folder avatar

October 26, 2011 By Juan Camilo Zapata Montúfar Leave a Comment

Quick tip , if you want to open the command prompt on a desired folder location , you need to go to the folder via Windows Explorer (win+e)
and then on the target folder hold Shift button + right click , this should display the “enhanced” menu on Windows 7 , it has some usefull options but we are focusing on the “Open command window here” option:

I hope you find this tip helpful

Filed Under: CMD, CommandPrompt, Shortcuts, Windows Tagged With: CMD, Command Prompt, open folder in cmd, open folder in command prompt, open in cmd, Shortcuts, Windows, Windows 7

  • « Previous Page
  • 1
  • 2
  • 3
  • Next Page »

Team


Marco
Antonio Hernández

Jaime
Alonso Páez

Luis
Carlos Bernal

Ana
María Orozco

Juan
Camilo Zapata

Carlos
Alberto Rueda

Sonia
Elizabeth Soriano

Diana
Díaz Grijalba

Bernardo
Enrique Cardales

Alexandra
Bravo Restrepo

Juan
Alberto Vélez

Diana
Paola Padilla

Jhon
Jairo Rodriguez

Yully
Arias Castillo

Carlos
Andrés Vélez

Brayan
Ruiz

Jesús
Javier Hernández

Alejandro
Garcia Forero

Gustavo
Adolfo Echeverry

Josué
Leonardo Bohórquez

Oscar
Alberto Urrea

Odahir
Rolando Salcedo

Jimmy
Quejada Meneses

Natalia
Zartha Suárez

Mario
Andrés Cortés

Eric
Yovanny Martinez

Carolina
Torres Rodríguez

Juan
Mauricio García

Tag Cloud

.NET (9) 940px (1) Analysis Services mdx (1) An attempt was made to load a program with an incorrect format. (1) ASP.NET MVC (1) Azure (3) Backup (1) BAM (7) BAM API (1) BAMTraceException (2) BI (3) BizTalk (24) Business Intelligence (6) C# (2) caracteristicas de publicacion (2) Content Editor (3) ESB (15) ESB Toolkit (3) General (4) habilitar caracteristicas (3) indexes (2) Integration Services (2) Master Page (3) MDX (2) MSE (11) net.tcp (2) Office 365 (2) Oracle (2) Performance Point (2) Public Website (2) Receive Location (2) SDK (2) Servicio Web (2) Sharepoint 2010 (2) SharePoint 2013 (4) SharePoint Online (2) SOA (8) Soap Fault (2) Sort Months MDX (2) SQL Server (2) Visual (2) Visual Studio 2010 (2) WCF (19) Windows (3) Windows 8 (17)

Categories

  • .NET (33)
  • Analysis Services (1)
  • ASP.NET MVC (2)
  • Azure (7)
  • BAM (9)
  • BAM PrimaryImport (3)
  • BigData (1)
  • BizTalk (77)
  • BizTalk 2010 configurations (57)
  • BizTalk Application (60)
  • BizTalk Services (13)
  • Business Intelligence (4)
  • Cloud (3)
  • CMD (1)
  • CodeSmith – NetTiers (2)
  • CommandPrompt (1)
  • CRM OptionSet mapping component (1)
  • Desarrollo de software (6)
  • develop (6)
  • developers (3)
  • DropBox (1)
  • Dynamics (1)
  • Enterprise Architect (1)
  • Entity Framework (1)
  • Errores BizTalk (2)
  • ESB (27)
  • ETL (1)
  • Event Viewer (1)
  • Excel Services (1)
  • Foreach loop container (1)
  • General (4)
  • Gerencia de Proyectos (2)
  • Google (1)
  • Grouped Slices (1)
  • Human Talent (1)
  • IIS (4)
  • Integración (6)
  • Integration Services (3)
  • KingswaySoft (1)
  • Lync (1)
  • MSE (13)
  • Office 365 (2)
  • Oracle Data Adapter (2)
  • Performance Point (4)
  • Picklist (1)
  • Pivot Table (1)
  • Procesos (1)
  • Pruebas (1)
  • Public Website (2)
  • Reports (1)
  • SCRUM (1)
  • SDK (2)
  • SEO (1)
  • Servicios (2)
  • Sharepoint (9)
  • SharePoint 2010 (10)
  • SharePoint 2013 (4)
  • SharePoint Online (2)
  • SharpBox (1)
  • Shortcuts (1)
  • Sin categoría (1)
  • SOA (50)
  • SQL (5)
  • SQL Server (3)
  • SQL Server Management Studio (1)
  • SSIS (3)
  • SSL (1)
  • SSO (1)
  • Tracking Profile Editor (2)
  • Twitter (1)
  • Uncategorized (1)
  • Virtual Network (2)
  • Visual Studio 11 (1)
  • Visual Studio 2010 (2)
  • Visual Studio Online (1)
  • VMware (2)
  • WCF (24)
  • Web (1)
  • Web Api (1)
  • Windows (5)
  • Windows 8 (11)
  • Windows Azure (2)
  • Windows Live Write (1)
  • Windows Phone (7)
  • Windows Phone 8 (1)
  • Windows Scheduler (1)
  • windows8 (2)
  • WindowsRT (3)
  • WP7 SDK (1)

Manage

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org