This file contains hidden or 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 if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
/** | |
* HandlerSocket Library for CodeIgniter | |
* | |
* To use this class, please use HandlerSocket's PHP extension available at | |
* http://code.google.com/p/php-handlersocket/ | |
* | |
* @package CodeIgniter Library | |
* @subpackage HandlerSocket |
This file contains hidden or 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 if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
class MY_Output extends CI_Output { | |
function _display($output = '') { | |
$elapsed = $BM->elapsed_time('total_execution_time_start', 'total_execution_time_end'); | |
$output = str_replace('{elapsed_time}', $elapsed, $output); | |
$memory = ( ! function_exists('memory_get_usage')) ? '0' : round(memory_get_usage()/1024/1024, 2).'MB'; | |
$output = str_replace('{memory_usage}', $memory, $output); |
This file contains hidden or 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
package com.urbanesia.api; | |
import java.io.DataInputStream; | |
import java.io.DataOutputStream; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.OutputStream; | |
import javax.microedition.io.Connector; | |
import javax.microedition.io.HttpConnection; |
This file contains hidden or 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
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
This file contains hidden or 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
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Net.Http; | |
using System.Threading.Tasks; | |
/** | |
* OAUTHnesia for Windows 8 Metro Apps C# | |
* | |
* OAUTH v1.0a library for C# to access Urbanesia API |
This file contains hidden or 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
# If you don't have Homebrew installed, you should. Do this. | |
/usr/bin/ruby -e "$(/usr/bin/curl -fksSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)" | |
# Install DNSMasq from Homebrew | |
brew install dnsmasq | |
# Create a directory for virtual hosts files | |
mkdir -p /usr/local/etc/dnsmasq.d | |
# Create a config for DNSMasq |
This file contains hidden or 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
This file contains any messages produced by compilers while | |
running configure, to aid debugging if configure makes a mistake. | |
configure:1897: checking for Cygwin environment | |
configure:1913: /usr/bin/clang -c -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8 -I/usr/local/Cellar/libxml2/2.8.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -isystem /usr/local/include conftest.c 1>&5 | |
configure:1909:8: error: use of undeclared identifier '__CYGWIN32__' | |
return __CYGWIN__; | |
^ | |
configure:1907:20: note: expanded from macro '__CYGWIN__' | |
#define __CYGWIN__ __CYGWIN32__ |
This file contains hidden or 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
<header class="row"> | |
<div class="twelve columns"> | |
<h1>DailySocial Reader</h1> | |
<p>A simple reader for DailySocial built with Zurb Foundation 3.0 & HTML5.</p> | |
<hr /> | |
</div> | |
</header> |
This file contains hidden or 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
<section class="row" id="belly"> | |
<div class="eight columns" id="left"></div> | |
<div class="three columns" id="right"> | |
<div class="row"> | |
<div class="twelve columns"> | |
<h5>About DailySocial</h5> | |
<p>DailySocial.net adalah sebuah blog yang membahas mengenai berita-berita teknologi web dan internet dari dalam dan luar negeri. Kami membahas strategi-strategi perusahaan IT/Web global, dan juga memperkenalkan startup-startup Indonesia.</p> | |
<p><a href="http://dailysocial.net/contact/" target="_blank">Kontak kami »</a></p> | |
</div> | |
</div> |