Skip to content

Instantly share code, notes, and snippets.

View debojitkakoti's full-sized avatar

DEBOJIT KAKOTI debojitkakoti

View GitHub Profile
@debojitkakoti
debojitkakoti / gps_track_server.py
Created June 20, 2016 13:10 — forked from gruzovator/gps_track_server.py
Async TCP server example (using standard python lib asyncore)
#!/usr/bin/env python
''' Async TCP server to make first tests of newly received GPS trackers '''
import asyncore
import socket
import logging
class Server(asyncore.dispatcher):
def __init__(self, address):
asyncore.dispatcher.__init__(self)
<?
#get_post_meta($post->ID, 'SeoHead', true)
$seo_box = 'H1 Headline: Keyword1, Keyword2, Keyword3, Keyword4, Keyword5';
$meta_values = explode(':',$seo_box);
if(isset($meta_values[1])){
$keywords = explode(',',$meta_values[1]);
$seo_box = '<ul>';
foreach($keywords as $keyword){
{{Form::open(array('url'=>'/login'))}}
{{ Form::email('email', $value = null, $attributes = array())}}
{{ Form::password('password', $value = null, $attributes = array())}}
{{ Form::submit('Login', $attributes = array('class'=>'button tiny radius'))}}
{{Form::close()}}