Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View flexgrip's full-sized avatar

Raymond Aguilar flexgrip

View GitHub Profile
@flexgrip
flexgrip / vimeo.php
Created May 9, 2012 21:34
Grab and display videos from vimeo
<?php
/*
****** ******
************* *************
****************** ******************
******************************************
****** @ TODD's VIMEO XML SCRAPER @ ******
********************************************
********************************************
@flexgrip
flexgrip / mayermail
Created June 14, 2012 00:04
simple mail script
<?php
$to = "jmayer@mayernetworks.com";
$subject = "Test mail";
$message = "Hello! This is a simple email message.";
$from = "someonelse@example.com";
$headers = "From:" . $from;
if(mail($to,$subject,$message,$headers)) {
echo "Mail Sent.";
} else {
@flexgrip
flexgrip / web.config
Created July 12, 2012 17:52
Wordpress + IIS7.Gay
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appSettings file="" />
<system.webServer>
<rewrite>
<rules>
<rule name="Main Rule" stopProcessing="true">
<match url=".*" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
@flexgrip
flexgrip / Radio_basis.js
Created September 5, 2012 17:20
Working Ext.ux.Cover
Ext.require('Ext.ux.Cover');
Ext.application({
name: 'Cover',
launch: function(){
var cover = new Ext.ux.Cover({
itemCls: 'my-cover-item',
//These are just for demo purposes.
height: (Ext.os.deviceType !== 'Phone')? 400: undefined,
@flexgrip
flexgrip / gist:3688624
Created September 10, 2012 03:13
pressflow spb
Database Name:
acquiadrupal7178
Database User Name:
ad7user178
Database Password:
z_yIHj-sPO^G
@flexgrip
flexgrip / dwh-polls.js
Created September 21, 2012 17:53
dwh-polls
{
votes: 21,
monitor: false,
success: true,
voters: 2,
start_time: 1348246303.613473,
polls: [
{
nonce: '8ec402a536549c841b8778a7f8ca2a24',
va: 16,
@flexgrip
flexgrip / dave email
Created October 16, 2012 15:21
dave email
Delivered-To: flexgrip@gmail.com
Received: by 10.76.122.79 with SMTP id lq15csp667373oab;
Tue, 16 Oct 2012 08:12:29 -0700 (PDT)
Received: by 10.236.76.42 with SMTP id a30mr14371300yhe.50.1350400348665;
Tue, 16 Oct 2012 08:12:28 -0700 (PDT)
Return-Path: <dhayes@bass-security.com>
Received: from barracuda.girtman.com (gmcorp.girtman.com. [66.83.140.178])
by mx.google.com with ESMTP id w47si17527297yhi.75.2012.10.16.08.12.28;
Tue, 16 Oct 2012 08:12:28 -0700 (PDT)
@flexgrip
flexgrip / gist:5158687
Created March 14, 2013 03:51
Sharepoint selector for checkboxes
<script type="text/javascript">
/* $(document).ready(function() {
var thelist = new Array();
$('input.s4-itm-cbx').change(function() {
if(this.checked) {
checker = $(this).parent().parent().attr("iid").split(',');
thelist.push(checker[1]);
alert(thelist);
}
GET "LIBHDR"
LET START() = VALOF $(
FOR I = 1 TO 5 DO
WRITEF("%N! = %I4*N", I, FACT(I))
RESULTIS 0
)$
AND FACT(N) = N = 0 -> 1, N * FACT(N - 1)
@flexgrip
flexgrip / retroand_trans.py
Created September 8, 2013 06:25
RetroAND transcoder... Brillaint
import os
import time
from multiprocessing import Event, Process, Pipe
from Queue import Queue
from retroand.config import cfg
from retroand.log import logger
def transcode_process(connection, path, stop, format='mp3', bitrate=False):