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
Homebrew build logs for php on macOS 10.13.3 | |
Build date: 2018-03-14 16:15:13 |
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
upstream django { | |
server unix:///tmp/example.com.sock; | |
} | |
server { | |
server_name www.example.com example.com; | |
rewrite ^ https://example.com$request_uri? permanent; | |
} | |
server { |
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 | |
define('LASTFM_API_KEY', 'xxx'); | |
function callApi($url, $data = false) | |
{ | |
$curl = curl_init(); | |
if ($data) { | |
$url = sprintf('%s?%s', $url, http_build_query($data)); | |
} | |
curl_setopt($curl, CURLOPT_URL, $url); |
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 | |
/** | |
* Live email obfuscation using the "otliam" CSS module. | |
* | |
* @package eMSN | |
*/ | |
define( 'EMSN_OTLIAM_REPLACE_ALWAYS', serialize( array( '.', '@' ) ) ); | |
/** | |
* Filters most content to obfuscate appearing email addresses. |
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
@function inverse-side($side) { | |
@if $side == top { | |
@return bottom; | |
} @else if $side == bottom { | |
@return top; | |
} @else if $side == left { | |
@return right; | |
} | |
@return left; | |
} |
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
User._meta.local_fields[4].__dict__['_unique'] = True |