Skip to content

Instantly share code, notes, and snippets.

View sasasa671's full-sized avatar

Tev sasasa671

View GitHub Profile
@sasasa671
sasasa671 / Output
Created July 16, 2014 19:50
Output oDesk
{
Title: "Brave",
Year: "2012",
Rated: "PG",
Released: "22 Jun 2012",
Runtime: "93 min",
Genre: "Animation, Adventure, Comedy",
Director: "Mark Andrews, Brenda Chapman, Steve Purcell",
Writer: "Brenda Chapman (story), Mark Andrews (screenplay), Steve Purcell (screenplay), Brenda Chapman (screenplay), Irene Mecchi (screenplay), Michael Arndt (additional screenplay material)",
Actors: "Kelly Macdonald, Billy Connolly, Emma Thompson, Julie Walters",
<!DOCTYPE html>
<html>
<head>
<style>
.nav a {
color: #5a5a5a;
text-transform: uppercase;
font-size: 11px;
font-weight: bold;
padding-top: 14px;
Donald\'s talk gives him reason to reconsider, and returns to Jesse\'s the next day to have a talk with Jesse, but again finds Jesse and Jane passed out from drug use. Jane, aware of Jesse\'s role, demands Walter give Jesse his share of the drug money, but he refuses. Believing Jane will have a bad influence on Jesse (and that Jane may still expose Walter\'s identity), Walter leaves without trying to help, and Jane dies. When one of Jesse\'s friends and dealers is killed by a rival gang, Jesse falls back to taking drugs, dragging Jane alongside him. Walter forgoes being at his newborn\'s birth to retrieve the meth from Jesse\'s place, finding him and Jane passed out from drugs the night before. Walter and Jesse expand their meth dealing into the areas formerly controlled by Tuco, and later are forced to arrange the services of the sleazy lawyer Saul
/*!
* Start Bootstrap - One Page Wonder HTML Template (http://startbootstrap.com)
* Code licensed under the Apache License v2.0.
* For details, see http://www.apache.org/licenses/LICENSE-2.0.
*/
body {
margin-top: 50px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
}
curl "https://d36xtkk24g8jdx.cloudfront.net/bluebar/7ea3f2f/webfonts/proximanova-reg-webfont.woff" -H "Origin: https://instagram.com" -H "Accept-Encoding: gzip,deflate" -H "Accept-Language: en-US,en;q=0.8" -H "User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36" -H "Accept: */*" -H "Cache-Control: max-age=0" -H "Referer: https://instagram.com/accounts/login/" -H "If-None-Match: ""624f3c78dea65d9403fe49ab173a7a0d""" -H "Connection: keep-alive" -H "If-Modified-Since: Sat, 13 Sep 2014 07:10:43 GMT" -H "DNT: 1" --compressed
curl "https://d36xtkk24g8jdx.cloudfront.net/bluebar/7ea3f2f/webfonts/proximanova-bold-webfont.woff" -H "Origin: https://instagram.com" -H "Accept-Encoding: gzip,deflate" -H "Accept-Language: en-US,en;q=0.8" -H "User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36" -H "Accept: */*" -H "Cache-Control: max-age=0" -H "Referer: https://instagram.com/accounts/l
@sasasa671
sasasa671 / index.html
Created October 8, 2014 16:29
index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Test</title>
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<style type="text/css">
example{
@sasasa671
sasasa671 / post.php
Created October 8, 2014 16:29
post.php
<?php
// Connec to MYSQL Database
$con=mysqli_connect("","","","bdays");
// Check connection to MySQL Server
if (mysqli_connect_errno()) {
echo "MySQL Failed To Start - Error" . mysqli_connect_error();
}
// varis
$name = mysqli_real_escape_string($con, $_POST['name']);
// bday
$(function(){
$('.nav').mobilemenu({
menuOpenIcon: '<span class="mobilemenu--open-icon mobilemenu-theme"><span class="slicknav_icon"><span class="slicknav_icon-bar slicknav_icon-bar--first"></span><span class="slicknav_icon-bar"></span><span class="slicknav_icon-bar"></span></span></span>',
onInit: function(menu, options){
menu.find('ul').removeClass('nav nav-pills pull-right');
}
});
var menu = $.mobilemenu({
menuOpenObject: $('.btn'),
<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>
<IfModule mod_expires.c>
# Enable expirations
ExpiresActive On
# Default directive
ExpiresDefault "access plus 1 month"
# My favicon
ExpiresByType image/x-icon "access plus 1 year"
# Images
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"