Skip to content

Instantly share code, notes, and snippets.

@bcarpio
bcarpio / gist:3ac539b998eb88f73bc30ddc8dd01d4d
Created November 12, 2022 10:15
2022 Mid Term Election Ballots That Need To Be Cured
This file has been truncated, but you can view the full file.
"IDNUMBER","NAME","ADDRESS","RET_DESC","NOTICE_DATE","CALL_DATE","CALL_CODE_DESC","EMAILED_DATE","EMAILED_CODE_DESC"
1000818,"CRAFT, PAULA DIANE ","6436 ALTA DR LAS VEGAS NV 89107","Signature Does Not Match","","","","",""
100273,"DEAVER, SUSAN A ","5351 CALGARY CT LAS VEGAS NV 89118","Signature Does Not Match","","","No Phone number on file","",""
1003154,"MCARTHUR, DARLENE ANN ","6672 LOST DUTCHMAN DR LAS VEGAS NV 89108","Signature Does Not Match","","","","","No Email on file"
1004124,"FREELAND, ELIZABETH ALEXANDRA ","7541 VIRGINIA DALE ST LAS VEGAS NV 89131","Signature Does Not Match","","","No Phone number on file","","No Email on file"
1004436,"PROVINCE, DONALD JOE ","9609 PIKEDALE DR LAS VEGAS NV 89134","Voter did not sign","","","No Phone number on file","","No Email on file"
1004892,"RIPOLL, ELISA MARIE ","449 CROCUS HILL ST LAS VEGAS NV 89138","Voter did not sign","","11/6/22 12:13:01 PM","Answering machine is detected","11/05/22","Email Sent Successfully"
1006199,"LENTZ, LAN
@bcarpio
bcarpio / gist:d8e1d576b402ad4fa3e77c978377a35d
Created December 29, 2020 21:05
Docker Compose for LDAP and PHPLDAPADMIN
version: '2'
services:
openldap:
image: osixia/openldap:latest
container_name: openldap
domainname: "example.org" # important: same as hostname
hostname: "openldap"
environment:
LDAP_LOG_LEVEL: "256"
LDAP_ORGANISATION: "Example Inc."
set nocompatible
filetype on
" Load Vindle
" Type :source % (Noob)
" Type :PluginInstall (Noob)
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'hashivim/vim-terraform'
Plugin 'stephpy/vim-yaml'
Plugin 'gmarik/Vundle.vim'
#!/usr/bin/perl
use strict;
use Data::Dumper;
use DBI;
use Sys::Syslog qw(:standard :macros);
use DateTime;
use POSIX qw(strftime);
openlog("mysql_zbx_part", "ndelay,pid", LOG_LOCAL0);
AppointmentServicesWSDL.xml:<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.idx.com/hco/services/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://www.idx.com/hco/services/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
AppointmentServicesWSDL.xml: <s:schema elementFormDefault="qualified" targetNamespace="http://www.idx.com/hco/services/">
AppointmentServicesWSDL.xml: <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
AppointmentServicesWSDL.xml: <soap:operation soapAction="http://www.idx.com/hco/services/getApptsByDateTime" style="document" />
AppointmentServicesWSDL.xml: <soap:operation soapAction="http://www.idx.com/hco/services/getApptsByDeptDates
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><META http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body>
Twentys: {{twentys}}<BR>
Tens: {{tens}}
</body></html>
#!/usr/bin/python
# vim: set expandtab:
from flask import Flask, flash, abort, redirect, url_for, request, render_template, make_response, json, Response
import os, sys
app = Flask(__name__)
@app.route('/', methods=['GET', 'POST'])
def index():
#!/usr/bin/python
# vim: set expandtab:
import config
import requests
import json
import os
import requests
def deploy_multi_region_elasticsearch(env):
url = config.urls()
@bcarpio
bcarpio / gist:4187385
Created December 2, 2012 06:45
MegaMillions Into Mongodb
#!/usr/bin/python
# vim: set expandtab:
import urllib2
from BeautifulSoup import BeautifulSoup
from pymongo import Connection
host = 'localhost'
database = 'lotto'
collection = 'mega_millions'
@bcarpio
bcarpio / gist:4187244
Created December 2, 2012 06:25
MegaMillions Winning Numbers Scraper
#!/usr/bin/python
# vim: set expandtab:
import urllib2
from BeautifulSoup import BeautifulSoup
win_dict = {}
page_num = 1
total_pages = 63