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
#!/bin/bash | |
for i in {1..100} | |
do | |
ipad=$i"" | |
len=${#ipad} | |
while [ $len -lt 3 ] | |
do | |
ipad="0"$ipad | |
len=$[$len+1] |
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
{ | |
"from":0, | |
"size":10, | |
"sort":[ | |
{ | |
"_score":{ | |
"order":"desc" | |
} | |
} | |
], |
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 | |
// START INDEX.PHP | |
$mantras = mysql_fetch_assoc( mysql_query( 'SELECT COUNT(*) as count FROM mantras' ) ); | |
?> | |
Total mantras: <?php echo $mantras['count']; ?> |
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
{ | |
"name": "10up", | |
"hostname": [ | |
"10up.dev", | |
"www.10up.dev" | |
], | |
"maintainers": [ | |
{ | |
"name": "Taylor Lovett", | |
"email": "[email protected]" |
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
FROM debian:wheezy | |
# CMD [php] - Not sure how this container is used so not sure if this is necessary | |
EXPOSE 9000 | |
WORKDIR /var/www/html | |
RUN apt-get update && apt-get -y install \ | |
wget \ | |
&& rm -rf /var/lib/apt/lists/* | |
RUN echo "deb http://packages.dotdeb.org wheezy-php56 all" >> /etc/apt/sources.list.d/dotdeb.list |
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
{ | |
"name": "10up", | |
"hostname": [ | |
"10up.dev" | |
], | |
"maintainers": [ | |
{ | |
"name": "Taylor Lovett", | |
"email": "[email protected]" | |
}, |
This file has been truncated, but you can view the full file.
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
Array | |
( | |
[/] => Array | |
( | |
[0] => Array | |
( | |
[methods] => Array | |
( | |
[GET] => 1 | |
) |
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 | |
/* | |
Plugin Name: HTTP Redirect | |
Description: Redirect https to http on front end | |
Author: 10up | |
Version: 1.0 | |
*/ | |
add_action( 'parse_request', function() { | |
if ( is_admin() ) { |
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
[ | |
{ | |
"EventId":6886, | |
"Title":"JDRF 2017 Amelia Island Ride to Cure Diabetes", | |
"Name":"Amelia Island Ride to Cure Diabetes, Ride-FY18 (8000)", | |
"Type":"classic", | |
"Status":"ACCEPT_ALL", | |
"FormId":18962, | |
"ClassificationId1":73, | |
"ClassificationId2":3, |
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
{ | |
"2342343": [ | |
{ | |
"start": { | |
"speech": "Want to hear more about a great tool for finding government jobs?", | |
"responses": [ | |
{ | |
"type": "affirmative", | |
"destination": "sendCard" | |
} |