Skip to content

Instantly share code, notes, and snippets.

View indie-rok's full-sized avatar
🏠
Working from home

Emmanuel Orozco indie-rok

🏠
Working from home
View GitHub Profile
@indie-rok
indie-rok / New file.js
Last active March 17, 2017 04:40
Test Name
document.write("new file")
@indie-rok
indie-rok / gist_name.js
Created March 17, 2017 04:45
test description
alert("LoL")
<?php
/**
* Add Next Page/Page Break Button
* in WordPress Visual Editor
*/
function my_add_next_page_button( $buttons, $ids ){
/* only add this for contenta editor */
if ( 'contenta' != $ids )
return $buttons;
@indie-rok
indie-rok / funciones.js
Last active March 17, 2017 18:01
Saludos a todas
document.write("edicion primera linea")
alert("nueva LINEA")
perritos
@indie-rok
indie-rok / loader.js
Last active March 17, 2017 18:09 — forked from lfamorim/loader.js
$.getScript("//code.createjs.com/createjs-2015.11.26.min.js", function() {
var nuevaVariable = 0;
var lib = {};
function(lib = {}, img = {}, cjs = {}, ss = {}) {
var p; // shortcut to reference prototypes
lib.webFontTxtFilters = {};
// library properties:
function Pokemon(nombre,color,puntosAtaque){
this.nombre = nombre;
this.color = color;
this.nivelDeAmistad = 0;
this.vida = 100;
this.puntosAtaque = puntosAtaque;
this.saludar = function(){
console.log("Hola, me llamo " + this.nombre)
};
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Drag</title>
<style>
.destiny{
width: 130px;
height: 130px;
border: 1px solid black;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Titulo</title>
<link rel='stylesheet' href='estilos.css'/>
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css'/>
</head>
<body>
<section class="container">
@indie-rok
indie-rok / app.js
Created February 12, 2018 17:12
book
// como publicar foto
// if(!window.FileReader){
// return;
// }
function readFile(){
if(this.files && this.files[0]){
var newImages = new FileReader();
newImages.addEventListener("load", paintImage);
newImages.readAsDataURL(this.files[0]);
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='UTF-8'/>
<meta name='viewport' content='width=device-width, initial-scale=1.0'/>
<meta http-equiv='X-UA-Compatible' content='ie=edge'/>
<title>Document</title>
</head>
<body>
<h1>aqui va la logica de fb</h1>