Skip to content

Instantly share code, notes, and snippets.

View xyos's full-sized avatar

xyos xyos

  • AWS
  • Utrecht
  • 14:05 (UTC +02:00)
  • X @xyos
View GitHub Profile
// the semi-colon before function invocation is a safety net against concatenated
// scripts and/or other plugins which may not be closed properly.
;(function ( $, window, document, undefined ) {
"use strict";
// undefined is used here as the undefined global variable in ECMAScript 3 is
// mutable (ie. it can be changed by someone else). undefined isn't really being
// passed in so we can ensure the value of it is truly undefined. In ES5, undefined
// can no longer be modified.
@xyos
xyos / unscroll.js
Last active August 29, 2015 14:26
name
// the semi-colon before function invocation is a safety net against concatenated
// scripts and/or other plugins which may not be closed properly.
;(function ( $, window, document, undefined ) {
"use strict";
// undefined is used here as the undefined global variable in ECMAScript 3 is
// mutable (ie. it can be changed by someone else). undefined isn't really being
// passed in so we can ensure the value of it is truly undefined. In ES5, undefined
// can no longer be modified.
#include <iostream>
using namespace std;
#include <string>
#include <iomanip>
int main()
{
int lib[1000][5];
char zonas[4] = {'A','B','C','D'};
int suma;
int mayor;
#include <iostream>
using namespace std;
#include <string>
#include <iomanip>
int main()
{
string cur[10][10];
int lib[1000][5],C1=0,C2=0,C3=0,C4=0;
char zonas[4] = {'A','B','C','D'};
int suma;
movieDblist = [{
id : "21144017",
nombre : "Relatos salvajes 2D",
idcine : "1"
}, {
id : "064140241",
nombre : "Ouija Castellano",
idcine : "1"
}, {
id : "64150011",
@xyos
xyos / matriz.cpp
Created December 9, 2014 01:48
./a.out test.txt
#include <iterator>
#include <sstream>
#include <iostream>
#include <fstream>
#include <cctype>
#include <algorithm>
int * size_of_matrix(std::istream& str) {
static int size[2];
int rows = 0;
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
/*General styles*/
/*responsive slide*/
.da-slider{
position: relative;
width: 100%;
padding-bottom: 25%;
float: left;
height: 0;
}
@xyos
xyos / eaaaz.css
Last active August 29, 2015 14:04
/**
* General styles
*/
.readon, .layout-slideshow .readon {
margin-left: auto;
margin-right: auto;
}
#rt-content-top{