Skip to content

Instantly share code, notes, and snippets.

View kfuchs's full-sized avatar

Kirill Fuchs kfuchs

View GitHub Profile
@kfuchs
kfuchs / PROFILE_ACCOUNTS.csv
Created July 14, 2017 12:35 — forked from soltrinox/PROFILE_ACCOUNTS.csv
USER PROFILES, ACCOUNTS, FAKE, DEMO, GENERATOR
We can't make this file beautiful and searchable because it's too large.
Number,Gender,NameSet,Title,GivenName,MiddleInitial,Surname,StreetAddress,City,State,StateFull,ZipCode,Country,CountryFull,EmailAddress,Username,Password,BrowserUserAgent,TelephoneNumber,TelephoneCountryCode,MothersMaiden,Birthday,Age,TropicalZodiac,CCType,CCNumber,CVV2,CCExpires,NationalID,UPS,WesternUnionMTCN,MoneyGramMTCN,Color,Occupation,Company,Vehicle,Domain,BloodType,Pounds,Kilograms,FeetInches,Centimeters,GUID,Latitude,Longitude
1,female,American,Mrs.,Lois,R,Guzman,"1974 Locust Street",Americus,GA,Georgia,31709,US,"United States",LoisRGuzman@superrito.com,Ateres,eoghusheH7,"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12) AppleWebKit/602.1.50 (KHTML, like Gecko) Version/10.0 Safari/602.1.50",229-942-9758,1,Albright,7/13/1952,64,Cancer,MasterCard,5528180050696196,439,7/2017,253-60-6592,"1Z 169 213 49 8118 722 4",2547418964,94834535,Orange,Astronomer,"Jacob Reed and Sons","2006 Mercury Monterey",gobrookvillepa.com,O+,178.0,80.9,"5' 2""",157,6908b21b-4860-4b1c-bc09-2c6f2fc69118,32.040706,-84.217819
2,female
import Relay from "react-relay";
import React from "react";
import ReactList from "react-list";
const pageSize = 30;
class NewCandidates extends React.Component {
constructor(props){
super(props);
#!/usr/bin/python
# -*- coding: utf-8
import ConfigParser
import argparse
import getpass
import os
import shlex
import subprocess
import sys
@kfuchs
kfuchs / ec2-host-from-tag-to-env-vars.sh
Created June 17, 2016 16:02 — forked from marcellodesales/ec2-host-from-tag-to-env-vars.sh
Create Environment Variables in EC2 Hosts from EC2 Host Tags, just like Beanstalk or Heroku does!
######
# Author: Marcello de Sales (marcello.desales@gmail.com)
# Description: Create Create Environment Variables in EC2 Hosts from EC2 Host Tags
#
### Requirements:
# * Install jq library (sudo apt-get install -y jq)
# * Install the EC2 Instance Metadata Query Tool (http://aws.amazon.com/code/1825)
#
### Installation:
# * Add the Policy EC2:DescribeTags to a User
@kfuchs
kfuchs / nginx.default.conf
Created April 22, 2016 23:53 — forked from sumardi/nginx.default.conf
Install PHP-FPM, Nginx & MySQL on EC2 with Amazon Linux AMI
# Install linux update, followed by GCC and Make
sudo yum -y update
sudo yum install -y gcc make
# Install Nginx and PHP-FPM
sudo yum install -y nginx php-fpm
# Install PHP extensions
sudo yum install -y php-devel php-mysql php-pdo \
php-pear php-mbstring php-cli php-odbc \
#!/bin/bash -xv
# Initialize Amazon Linux AMI 2015.09 for PHP7 Web Application
# yum
# update default
sudo yum upgrade --enablerepo="*" -y
# install php
for i in $(seq 3)
do
[ ! -s remi-release-6.rpm ] && curl --connect-timeout 3 http://remi.kazukioishi.net/enterprise/remi-release-6.rpm > remi-release-6.rpm
.
├── actions
├── stores
├── views
│   ├── Anonymous
│   │   ├── __tests__
│   │   ├── views
│   │   │   ├── Home
│   │   │   │   ├── __tests__
│   │   │   │   └── Handler.js
@kfuchs
kfuchs / idea
Created November 14, 2015 15:40 — forked from chrisdarroch/idea
Open a project in IntelliJ IDEA from your command line!
#!/bin/sh
# check for where the latest version of IDEA is installed
IDEA=`ls -1d /Applications/IntelliJ\ * | tail -n1`
wd=`pwd`
# were we given a directory?
if [ -d "$1" ]; then
# echo "checking for things in the working dir given"
wd=`ls -1d "$1" | head -n1`
@kfuchs
kfuchs / MyQueueServiceProvider.php
Created September 23, 2015 12:01 — forked from SammyK/MyQueueServiceProvider.php
AWS SQS Push Queues for Laravel 4.1
<?php namespace App\LaravelExtensions;
use Illuminate\Queue\QueueServiceProvider;
class MyQueueServiceProvider extends QueueServiceProvider {
/**
* Register the connectors on the queue manager.
*
* @param \Illuminate\Queue\QueueManager $manager
/**
* Dvd
*
* @ORM\Table(name="dvd")
* @ORM\Entity
*/
class Dvd
{
/**
* @var integer