start new:
tmux
start new with session name:
tmux new -s myname
#!/bin/bash | |
# Shamelessly taken from http://mjwall.com/blog/2013/10/04/how-i-use-emacs/ | |
# This script starts emacs daemon if it is not running, opens whatever file | |
# you pass in and changes the focus to emacs. Without any arguments, it just | |
# opens the current buffer or *scratch* if nothing else is open. The following | |
# example will open ~/.bashrc | |
# ec ~/.bashrc |
La leyenda narra que Coatlicue encontró una bola de plumas cuando barría en la cima del cerro Coatepec, la levantó y la guardó junto a su vientre. Cuando trató de buscarla se dio cuenta de que estaba embarazada.
Al saberlo su hija, Coyolxauhqui, decidió junto con sus hermanas las estrellas terminar con la vida de su madre. Al enterarse Huitzilopochtli, el hijo que aún se encontraba en el vientre de Coatlicue, le dijo a su madre que no se preocupara, que él la defendería.
Huitzilopochtli, nació siendo adulto y armado con una serpiente de fuego, decapitó a Coyolxauhqui, cuyo cuerpo cayó a las faldas del cerro.
En el Templo Mayor al igual que en el mito, un victorioso Huitzilopochtli se encontraba en la cima del edificio, mientras que Coyolxauhqui que es representada por un monolito de piedra, yacía desmembrada al pie del mismo templo.
En ello reside la importancia del monolito de Coyolxauhqui —deidad lunar mexica— descubierto el 21 de febrero de 1978 a los pies de la e
using SerialPorts | |
s = SerialPort("/dev/ttyACM1", 250000) | |
write(s, "Hello World!\n") | |
close(s) |
fid = fopen("/dev/ttyUSB0", "r+") | |
fwrite(fid, your_data) | |
out = fread(fid) |
GNU Octave, version 3.8.0 | |
Copyright (C) 2013 John W. Eaton and others. | |
This is free software; see the source code for copying conditions. | |
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or | |
FITNESS FOR A PARTICULAR PURPOSE. For details, type 'warranty'. | |
Octave was configured for "x86_64-apple-darwin13.0.0". | |
Additional information about Octave is available at http://www.octave.org. |
"""Disk And Execution MONitor (Daemon) | |
Configurable daemon behaviors: | |
1.) The current working directory set to the "/" directory. | |
2.) The current file creation mode mask set to 0. | |
3.) Close all open files (1024). | |
4.) Redirect standard I/O streams to "/dev/null". | |
A failed call to fork() now raises an exception. |
import numpy as np | |
print "Calculate n terms of dipolar potential: " | |
n = int(raw_input("How many terms? ")) | |
q = float(raw_input("What's the charges(C)? ")) | |
l = float(raw_input("What's the distance between the charges(m)? ")) | |
r = float(raw_input("What's the distance to the dipole(m)? ")) | |
#theta = float(raw_input("What's the angle to the dipole in radians? ")) | |
f0 = [] |
# This will create a dist directory containing the executable file, all the data | |
# directories. All Libraries will be bundled in executable file. | |
# | |
# Run the build process by entering 'pygame2exe.py' or | |
# 'python pygame2exe.py' in a console prompt. | |
# | |
# To build exe, python, pygame, and py2exe have to be installed. After | |
# building exe none of this libraries are needed. | |
#Please Note have a backup file in a different directory as if it crashes you | |
#will loose it all!(I lost 6 months of work because I did not do this) |