A Pen by Noe Misael Nieto Arroyo on CodePen.
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
# Turn off that annoying start up message | |
startup_message off | |
# Turn the even more annoying whole-screen-flash-on-tab-complete "feature" | |
vbell off | |
terminfo xterm-color hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l | |
term xterm-color | |
# Window list at the bottom. hostname, centered tabs and redmarked active windows: | |
hardstatus alwayslastline |
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
#!/bin/bash | |
#Set it to run with cron every 5 minutes or so | |
# 5 * * * * /path/to/kill-minecraft.sh | |
#Do this under your own risk. | |
ps -e --format pid,command | grep minecraft.LauncherFrame | cut -f1 -d ' ' | xargs kill -9 |
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
Show hidden characters
{ | |
"folders": | |
[ | |
{ | |
"path": "/home/tzicatl/Aplicaciones/Codigo/Django/django-trunk", | |
"file_exclude_patterns": [".git*", "*.sublime-*", ".hgignore"], | |
"folder_exclude_patterns": [".tx", "*.egg-info"] | |
} | |
] | |
} |
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> | |
<head> | |
<title>Click effect</title> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script> | |
<link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/css/bootstrap-combined.min.css" rel="stylesheet"/> | |
<link href="http://netdna.bootstrapcdn.com/font-awesome/3.0.2/css/font-awesome.css" rel="stylesheet"> | |
<script type="text/javascript" src="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/js/bootstrap.min.js"></script> | |
<style type="text/css"> |
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
{ | |
"total": 2314 | |
} |
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 | |
#Works nicely, but wsgiserver times out aftr some time | |
#Python imports | |
import sys | |
import signal | |
from wsgiref.simple_server import make_server |
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/python | |
#based on the ideas from http://synack.me/blog/implementing-http-live-streaming | |
# Updates: | |
# - 2024-04-24: Apply suggestions from @Pin80 | |
# Run this script and then launch the following pipeline: | |
# gst-launch videotestsrc pattern=ball ! video/x-raw-rgb, framerate=15/1, width=640, height=480 ! jpegenc ! multipartmux boundary=spionisto ! tcpclientsink port=9999 | |
#updated command line | |
#gst-launch-1.0 videotestsrc pattern=ball ! videoconvert ! video/x-raw, framerate=15/1, width=640, height=480 ! jpegenc ! multipartmux boundary=spionisto ! #tcpclientsink port=9999 | |
from multiprocessing import Queue |
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
%define name kazam | |
%define version 0.11 | |
%define unmangled_version 0.11 | |
%define release 1 | |
Summary: A screencasting program created with design in mind. | |
Name: %{name} | |
Version: %{version} | |
Release: %{release} | |
Source0: %{name}-%{unmangled_version}.tar.gz |
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
../gunicorn_virtualenv/bin/gunicorn simulador:server | |
2011-05-03 19:08:56 [4763] [INFO] Starting gunicorn 0.12.1 | |
2011-05-03 19:08:56 [4763] [INFO] Listening at: http://127.0.0.1:8000 (4763) | |
2011-05-03 19:08:56 [4763] [INFO] Using worker: sync | |
2011-05-03 19:08:56 [4764] [INFO] Booting worker with pid: 4764 | |
2011-05-03 19:09:27 [4764] [ERROR] Error handling request | |
Traceback (most recent call last): | |
File "/home/tzicatl/Documentos/Codigo/tesis_gstreamer/gunicorn_virtualenv/lib/python2.7/site-packages/gunicorn-0.12.1-py2.7.egg/gunicorn/workers/sync.py", line 98, in handle_request | |
resp.write(item) | |
File "/home/tzicatl/Documentos/Codigo/tesis_gstreamer/gunicorn_virtualenv/lib/python2.7/site-packages/gunicorn-0.12.1-py2.7.egg/gunicorn/http/wsgi.py", line 213, in write |
NewerOlder