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
/* CSS Atributos */ | |
body { | |
font-weight: bold; | |
font-family: "Verdana"; | |
font-size: 14px; | |
color: #fff; | |
background: #667390; | |
padding-left: 5px; | |
padding-right: 5px; | |
border: 1px solid #fff; |
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 HTML 4.01//EN" | |
"http://www.w3.org/TR/html4/strict.dtd"> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"> | |
<meta name="author" content="Juan David Millan"> | |
<title>My Notes</title> |
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 Notes = Ember.Application.create({ | |
}); | |
/** Router **/ | |
Notes.Router.map(function () { | |
this.resource('notes', {path: "/"}, function() { | |
this.route('note', {path: "/note/:note_id"}); | |
}); | |
}); |
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
# Paste this into the Python shell: | |
from customers.models import Client | |
tenant = Client(domain_url='localhost', | |
schema_name='public', | |
name='KME LX', | |
paid_until='2016-12-05', | |
on_trial=False) | |
tenant.save() |
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
foreman start | |
foreman start -f Procfile.dev | |
foreman run python manage.py runserver 9000 | |
foreman run python manage.py shell | |
find . -name "*.pyc" -delete | |
## .env File | |
PROJECT_NAME=kmemu | |
DATABASE_URL='postgres://postgres:postgres@localhost:5432/kmelx20140113' | |
BROKER_URL=amqp://jxtvvpzy:[email protected]/jxtvvpzy |
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
#!/usr/bin/bash | |
# Require w3m-img | |
# dpkg -s w3m-img | |
cp "`pwd`/$1" /tmp/$1 | |
echo "<img src='$1'>" > /tmp/file_0.html | |
w3m /tmp/file_0.html |
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
#include <stdio.h> | |
#include <stdlib.h> | |
/********************************** | |
* Application: Touche * | |
********************************** | |
* Description: Application * | |
* that emulate a brain structure * | |
* to save information * | |
**********************************/ |
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
/* | |
* Funcion.cpp | |
* Programa con llamada a una funcion | |
* | |
* Compilado: g++ funcion.cpp -o funcion | |
*/ | |
using namespace std; | |
#include <iostream> |
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
/*! jQuery v1.8.3 jquery.com | jquery.org/license */ | |
(function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r==="null"?null:+r+""===r?+r:D.test(r)?v.parseJSON(r):r}catch(s){}v.data(e,n,r)}else r=t}return r}function B(e){var t;for(t in e){if(t==="data"&&v.isEmptyObject(e[t]))continue;if(t!=="toJSON")return!1}return!0}function et(){return!1}function tt(){return!0}function ut(e){return!e||!e.parentNode||e.parentNode.nodeType===11}function at(e,t){do e=e[t];while(e&&e.nodeType!==1);return e}function ft(e,t,n){t=t||0;if(v.isFunction(t))return v.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return v.grep(e,function(e,r){return e===t===n});if(typeof t=="string"){var r=v.grep(e,function(e){return e.nodeType===1});if(it.test(t))return v.filter(t,r,!n);t=v.filter(t,r)}return v.grep(e,funct |
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
import java.awt.*; | |
import java.awt.image.*; | |
import java.io.*; | |
import javax.imageio.ImageIO; | |
public class Capture { | |
public static void captureScreen(String fileName) throws Exception { | |
Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize(); | |
Rectangle screenRectangle = new Rectangle(screenSize); | |
Robot robot = new Robot(); |
OlderNewer