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
rds-modify-db-parameter-group {param-group-name} \ | |
--parameters="name=character_set_server, value=utf8, method=pending-reboot" \ | |
--parameters="name=collation_server, value=utf8_general_ci, method=pending-reboot" \ | |
--parameters="name=tmp_table_size, value={DBInstanceClassMemory/16}, method=pending-reboot" \ | |
--parameters="name=max_heap_table_size, value={DBInstanceClassMemory/16}, method=pending-reboot" \ | |
--parameters="name=query_cache_type, value=1, method=pending-reboot" \ | |
--parameters="name=query_cache_size, value=131072, method=pending-reboot" \ | |
--parameters="name=table_open_cache, value=2500, method=pending-reboot" \ | |
--parameters="name=join_buffer_size, value={DBInstanceClassMemory/64}, method=pending-reboot" \ | |
--parameters="name=thread_cache_size, value={DBInstanceClassMemory/12582880}, method=pending-reboot" \ |
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
[client] | |
port = 3306 | |
socket = /var/run/mysqld/mysqld.sock | |
[mysqld_safe] | |
socket = /var/run/mysqld/mysqld.sock | |
nice = 0 | |
[mysqld] | |
collation-server = utf8_unicode_ci |
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
set nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle/Vundle.vim/ | |
call vundle#begin() | |
" Let Vundle manage Vundle | |
Plugin 'gmarik/vundle' | |
Plugin 'tpope/vim-sensible' | |
Plugin 'tpope/vim-surround' |
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
import fileinput | |
import datetime | |
import pymongo | |
import time | |
import re | |
from pymongo import MongoClient | |
content = [] | |
new_rules = [] |
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
// | |
// main.cpp | |
// Positive | |
// | |
// Created by Eshlee Romero on 8/31/15. | |
// Copyright (c) 2015 Eshlee Romero. All rights reserved. | |
// | |
#include <iostream> | |
#include<curses.h> |
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
// Inlude libraries | |
#include<stdio.h> | |
#include<ctype.h> | |
#include<string.h> | |
/* | |
* global variables | |
*/ | |
char f[]="\aYou two are just Friends! (Friends)", | |
l[]="\ayou two are Lovers! (Lovers)", |
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
<?php | |
ini_set('memory_limit', '-1'); | |
$_SERVER['HTTP_HOST'] = 'insert_url_here'; | |
// Clean up | |
unlink ('all.php'); | |
unlink('keys_of_duplicates.php'); | |
// Initialize |
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
<?php return array ( | |
'totalnetworkstats' => 'Total Network statistics', | |
'hereareyourchannels' => 'Here are your channels', | |
'date' => 'The :attribute is not a valid date.', | |
'gain' => 'Gain', | |
'loss' => 'Loss', | |
'and' => 'and', | |
'notrend' => 'No trend', | |
'country' => 'Country', | |
'source' => 'Source', |
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
<?php return array ( | |
0 => 'and', | |
1 => 'js#and', | |
2 => 'views', | |
3 => 'partnerstats#views', | |
4 => 'insights#views', | |
5 => 'ainvites#views', | |
6 => 'partnerbtn#views', | |
7 => 'leaderboards#views', | |
8 => 'tweak#views', |
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
import multiprocessing | |
import queue | |
import threading | |
import time | |
# from threads import client | |
# from config import config | |
# from util import sqs | |
max_thread_count = 3 |
OlderNewer