This file contains 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
/* COLOR BACKGROUND */ | |
blockquote{ | |
background-color: #F7F7F7; | |
} | |
.layout-1{ | |
background-color: #fff; | |
} |
This file contains 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
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
class Welcome extends CI_Controller { | |
/** | |
* Index Page for this controller. | |
* | |
* Maps to the following URL | |
* http://example.com/index.php/welcome | |
* - or - |
This file contains 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 re | |
import subprocess | |
def is_running(process): | |
s = subprocess.Popen(["ps", "axw"],stdout=subprocess.PIPE) | |
for x in s.stdout: | |
if re.search(process, x): |
This file contains 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> | |
<html data-ng-app="prueba"> | |
<meta charset="utf-8"/> | |
<head> | |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.10/angular.min.js"></script> | |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.10/angular-route.js"></script> | |
<script type="text/javascript"> | |
var probando = angular.module("prueba", ['ngRoute']); | |
probando.config(function($routeProvider) { |
This file contains 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
/* */ | |
table{background-color: green;} | |
/* */ | |
.windowbg2:last-child{width: 100%;} | |
/* background 1 */ | |
body {background-color:#fff;} | |
/* background 2 */ |
This file contains 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
<?php if (! defined('BASEPATH')) exit('No direct script access allowed'); | |
/** | |
* Codeigniter HTMLPurifier Helper | |
* | |
* Purify input using the HTMLPurifier standalone class. | |
* Easily use multiple purifier configurations. | |
* | |
* @author Tyler Brownell <tyler@bluefoxstudio.ca> | |
* @copyright Public Domain |
This file contains 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/env python | |
# -*- coding: utf-8 -*- | |
from PyQt4.QtGui import QApplication | |
from PyQt4.QtCore import QUrl | |
from PyQt4.QtWebKit import QWebView | |
from sys import exit, argv | |
if __name__ == '__main__': | |
app = QApplication(argv) |
This file contains 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 socket = io.connect(); | |
socket.on('info', function (data) { | |
console.log(data); | |
var state = JSON.parse(data.state); | |
for( i = 0; i < state.length; i++) | |
{ | |
var body = document.getElementsByTagName("body")[0]; |
This file contains 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/env python | |
# -*- coding: utf-8 -*- | |
from PyQt4 import QtGui, QtCore, QtWebKit | |
import subprocess, os | |
from sys import exit, argv | |
if __name__ == '__main__': | |
app = QtGui.QApplication(argv) | |
view = QtWebKit.QWebView() | |
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am empirefx on github. | |
* I am efex (https://keybase.io/efex) on keybase. | |
* I have a public key whose fingerprint is 8911 7745 CC5C D178 83E1 1D08 85F8 0A4C E22F 4530 | |
To claim this, I am signing this object: |
OlderNewer