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
| <!--To center an image--> | |
| <p align="center"> | |
| ![alt]() | |
| </p> | |
| <!--To right align an image--> | |
| <p align="right"> | |
| ![alt]() | |
| </p> |
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
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
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 "stdafx.h" | |
| /* | |
| // configs | |
| //image to load (will not load if USING_VIDEO = true) | |
| #define IMAGE_NAME "fire2.jpg" | |
| //video to load | |
| #define VIDEO_NAME "flamethrower.mp4" |
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 libpath = require('path'); | |
| var http = require('http'); | |
| var fs = require('fs'); | |
| var url = require('url'); | |
| var bind_port = 8001; | |
| var path = "/path/to/your/base_directory/"; | |
| http.createServer(function (request, response) { | |
| var uri = url.parse(request.url).pathname; | |
| var filename = libpath.join(path, uri); |
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 | |
| ### BEGIN INIT INFO | |
| # Provides: dsmc | |
| # Required-Start: $local_fs $network $syslog | |
| # Required-Stop: $local_fs $network $syslog | |
| # Default-Start: 3 5 | |
| # Default-Stop: 0 1 2 6 | |
| # Short-Description: Start and stop the Tivoli Storage Client | |
| # Description: Control the IBM Tivoli Storage Manager Client Schedule instance | |
| ### END INIT INFO |
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
| ############################################# | |
| # Push de la rama actual | |
| git push origin $rama_actual | |
| ############################################# | |
| # Volver a un commit anterior, descartando los cambios | |
| git reset --HARD $SHA1 | |
| ############################################# | |
| # Ver y descargar Ramas remotas |
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
| The MIT License (MIT) | |
| Copyright (c) 2016 Stuart Powers | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: |
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
| (function($){ | |
| var touch = {}, touchTimeout; | |
| function parentIfText(node){ | |
| return 'tagName' in node ? node : node.parentNode; | |
| } | |
| function swipeDirection(x1, x2, y1, y2){ | |
| var xDelta = Math.abs(x1 - x2), yDelta = Math.abs(y1 - y2); | |
| if (xDelta >= yDelta) { |
NewerOlder