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 | |
unload() { | |
if [ `ps -ef | grep -c VirtualBox$` -ne 0 ] | |
then | |
echo "VirtualBox still seems to be running. Please investigate!!" | |
exit 1; | |
elif [ `ps -ef | grep -c [V]ir` -gt 0 ] | |
then | |
echo "Stopping running processes before unloading Kernel Extensions" |
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 rollup = require('rollup'); | |
var uglify = require('rollup-plugin-uglify'); | |
var eslint = require('rollup-plugin-eslint'); | |
function rollupTask(entry, dest) { | |
var plugins = [ | |
eslint({ | |
exclude: [ | |
'src/static/styles/**', |
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 | |
android_2="Motorola Droid Razr - 2.3.7 - API 10 - 540x960" | |
android_4_1="Google Nexus S - 4.1.1 - API 16 - 480x800" | |
android_4="Motorola Moto X - 4.2.2 - API 17 - 720x1280" | |
android_5="Google Nexus 4 - 5.1.0 - API 22 - 768x1280" | |
android_6="Custom Phone - 6.0.0 - API 23 - 768x1280" | |
android_tablet_6="Custom Tablet - 6.0.0 - API 23 - 2560x1600" | |
iphone_7='09EFC7E0-8295-46C2-94A2-1A99A90F7164' | |
iphone_6='F37953BD-1F7D-433C-A803-560B0036C8C3' |
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
personal_ws-1.1 es 0 | |
APP | |
AFP | |
Apps | |
apps | |
blog | |
BLOG | |
Blog | |
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
# |
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
# enable | |
sudo ipfw pipe 1 config bw 50KBytes/s delay 100ms | |
sudo ipfw add 1 pipe 1 src-port 80 | |
sudo ipfw add 2 pipe 1 dst-port 80 | |
# disable | |
sudo ipfw delete 1 | |
sudo ipfw delete 2 |
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
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
. ~/.bashrc | |
mkdir ~/local | |
mkdir ~/node-latest-install | |
cd ~/node-latest-install | |
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
./configure --prefix=~/local | |
make install # ok, fine, this step probably takes more than 30 seconds... | |
curl https://www.npmjs.org/install.sh | sh |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html> | |
<head> | |
<!-- This is a simple example template that you can edit to create your own custom templates --> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<!-- Facebook sharing information tags --> | |
<meta property="og:title" content="*|MC:SUBJECT|*" /> | |
<title>*|MC:SUBJECT|*</title> | |
<style type="text/css"> |
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
""" | |
Distributor ID: Ubuntu | |
Description: Ubuntu 10.04 LTS | |
Release: 10.04 | |
Codename: lucid | |
Author: Adelein Rodriguez, adeleinr@gmail.com | |
Note: This is an adaptation from a fabric script presented here: | |
http://morethanseven.net/2009/07/27/fabric-django-git-apache-mod_wsgi-virtualenv-and-p.html | |
Summary: This script: |
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
# Primero agregar al path la carpeta de instalacion de virtual box | |
# por defecto deberia estar ubicada en : C:\Program Files\Oracle\VirtualBox | |
# configurar red de la maquina virtual como puente. | |
# iniciar vm | |
VBoxManage.exe startvm <vm> --type guid|headless|sdl | |
# apagar | |
VBoxManage.exe controlvm <vm> poweroff | |
# listado de estado |
NewerOlder