Skip to content

Instantly share code, notes, and snippets.

Mustafa Arıcı cad

Block or report user

Report or block cad

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View candidates.json
[
{"model_name": "Candidate", "model_data": {"name": "ali", "surname": "veli", "party_id": 3, "district_id": 5, "order": 2}},
{"model_name": "Candidate", "model_data": {"name": "hasan", "surname": "huseyin", "party_id": 2, "district_id": 1, "order": 1}},
{"model_name": "Candidate", "model_data": {"name": "foo", "surname": "bar", "party_id": 1, "district_id": 3, "order": 6}}
]
View keybase.md

Keybase proof

I hereby claim:

  • I am cad on github.
  • I am cad (https://keybase.io/cad) on keybase.
  • I have a public key whose fingerprint is 704F 78B4 7055 02ED F9FF 0BA1 D6C4 8140 A583 27B6

To claim this, I am signing this object:

@cad
cad / inventory.py
Created Feb 9, 2016 — forked from duggan/inventory.py
Present Terraform tfstate data as an Ansible inventory
View inventory.py
#!/usr/bin/env python
import sys
import os
import json
import argparse
import collections
__description__ = """Ansible Dynamic Inventory for Terraform."""
__epilog__ = """
View Services.js
import request from 'reqwest';
import when from 'when';
var AUTH_BASE_URL = "http://localhost:5000"
var AUTHENTICATE_URL = AUTH_BASE_URL + "/auth/"
var TASK_BASE_URL = "http://localhost:5001"
var AuthActions = {
authenticateUser: (accessToken) => {
View mail.neu.edu.tr-settings
[pop3]
host=mail.neu.edu.tr
port=995
ssl=true
[smtp]
mail.neu.edu.tr
port=465
ssl=true
@cad
cad / mariadb.md
Last active Oct 25, 2015
mysql related commands
View mariadb.md

MariaDB

Create

CREATE DATABASE $PROJECT_NAME DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
CREATE USER   $PROJECT_NAME@locahlost identified by '$DB_PASS';
View hosts
74.125.43.103 youtube.com
74.125.43.103 www.youtube.com
74.125.43.103 www.docs.google.com
74.125.43.103 www.clients1.google.com.tr
74.125.43.103 www.translate.google.com.tr
74.125.43.103 docs.google.com
74.125.43.103 clients1.google.com
74.125.43.103 clients1.google.com.tr
74.125.43.103 translate.google.com.tr
74.125.43.103 translate.google.com
You can’t perform that action at this time.