Skip to content

Instantly share code, notes, and snippets.

package Discord.Core;
import DiscordBotCode.Main.ChatUtils;
import Startup.BotCore;
import java.util.TimerTask;
import java.util.concurrent.TimeUnit;
public class Announcements
{
jkirby@jump:~/dns-provider-test$ TF_LOG=TRACE terraform apply
2017/06/01 10:12:36 [INFO] Terraform version: 0.9.6 85e0979c6af6a15345c9131e4478ba712bb3c21d
2017/06/01 10:12:36 [INFO] Go runtime version: go1.8
2017/06/01 10:12:36 [INFO] CLI args: []string{"/home/jkirby/terraform", "apply"}
2017/06/01 10:12:36 [DEBUG] Detected home directory from env var: /home/jkirby
2017/06/01 10:12:36 [DEBUG] Detected home directory from env var: /home/jkirby
2017/06/01 10:12:36 [DEBUG] Attempting to open CLI config file: /home/jkirby/.terraformrc
2017/06/01 10:12:36 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2017/06/01 10:12:36 [INFO] CLI command args: []string{"apply"}
2017/06/01 10:12:36 [DEBUG] command: loading backend config file: /home/jkirby/dns-provider-test
curl -X POST -H "Content-Type: application/json" \
-H "Authorization: Bearer APIToken" \
-d '{"type":"reboot"}' \
"https://api.digitalocean.com/v2/droplets/DropletID/actions"
{
"version": 3,
"terraform_version": "0.8.4",
"serial": 12,
"lineage": "119bec8a-35c3-4f44-8bec-bb293b4bb630",
"modules": [
{
"path": [
"root"
],
"azurerm_virtual_machine_extension.acme-prod-web-ext.1": {
"type": "azurerm_virtual_machine_extension",
"depends_on": [],
"primary": {
"id": "/subscriptions/3765305f-a85d-45d7-b721-df27d0f7e631/resourceGroups/rg-acme-scus-prod-web/providers/Microsoft.Compute/virtualMachines/acmeprodweb02/extensions/acmeprodweb02-tmds",
"attributes": {
"auto_upgrade_minor_version": "false",
"id": "/subscriptions/3765305f-a85d-45d7-b721-df27d0f7e631/resourceGroups/rg-acme-scus-prod-web/providers/Microsoft.Compute/virtualMachines/acmeprodweb02/extensions/acmeprodweb02-tmds",
"location": "southcentralus",
"name": "acmeprodweb02-tmds",
Need to replace this:
;include_path = ".:/php/includes"
With this:
include_path = ".:/php/includes:/var/www/_include"
sed -i '700s/;include_path = \".:/php/includes\"/include_path = \".:/php/includes:/var/www/_include\"/' php.ini
[root@ip-10-10-15-190 ~]# php /var/www/asmdss/storymod/vendor/cron_post/index.php
PHP Warning: include(../../inc/credentials.php): failed to open stream: No such file or directory in /var/www/asmdss/storymod/vendor/cron_post/index.php on line 3
PHP Warning: include(): Failed opening '../../inc/credentials.php' for inclusion (include_path='.:/php/includes:/var/www/_include') in /var/www/asmdss/storymod/vendor/cron_post/index.php on line 3
PHP Warning: include(../../application/lib.php): failed to open stream: No such file or directory in /var/www/asmdss/storymod/vendor/cron_post/index.php on line 4
PHP Warning: include(): Failed opening '../../application/lib.php' for inclusion (include_path='.:/php/includes:/var/www/_include') in /var/www/asmdss/storymod/vendor/cron_post/index.php on line 4
PHP Fatal error: Uncaught Error: Call to undefined function db_connect() in /var/www/asmdss/storymod/vendor/cron_post/index.php:9
Stack trace:
#0 {main}
thrown in /var/www/asmdss/storymod/vendor/cron_post/index.php
resource "azurerm_availability_set" "web" {
name = "as-acme-scus-prod-web"
location = "South Central US"
resource_group_name = "${var.resource_group_name}"
}
* azurerm_availability_set.web: compute.AvailabilitySetsClient#CreateOrUpdate: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="InvalidApiVersionParameter" Message="The api-version '2016-03-30' is invalid. The supported versions are '2016-09-01,2016-07-01,2016-06-01,2016-02-01,2015-11-01,2015-01-01,2014-04-01-preview,2014-04-01,2014-01-01,2013-03-01,2014-02-26,2014-04'."
<?php $votes = StoryVote::votes(get_the_id()); ?>
<div class="story clearfix" id="<?php echo get_the_id(); ?>">
<span class="date">
<span class="big"><?php echo get_the_date("j"); ?></span>
<?php echo get_the_date("M / Y"); ?>
</span>
<div class="story-content">
<?php the_excerpt() ?>
<a href="<?php echo the_permalink() ?>" class="button">Read more</a>
@tech6
tech6 / lama
Created October 18, 2014 19:20
lama lama lama
NNNNNNNNNNNNNNNNNNNNNDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNDDDNDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDZ?NDDDDDDDDDDDDDDDDDDDNNNNNNNNNNNNN
NNNNNNNNNNNNNDDDDDDDDDDDDDDDDDDD?:$DDDDD8+DDD:=,DDDDDDDDDDDDDDDDDDDDDNNNNNNNNNNN
NNNNNNNNNNNDDDDDDDDDDDDDDDDDDDDO?O:DD8DZ+$DDN:D=+DDDDDDDDDDDDDDDDDDDDDDDNNNNNNNN
NNNNNNNNDDDDDDDDDDDDDDDDDDDDDD8:88~D8D?+++78O:8Z:DDDDDDDDDDDDDDDDDDDDDDDDDNNNNNN
NNNNNNDDDDDDDDDDDDDDDDDDDDDDDD8+8D=+DI?Z8+?D+:8$:DDDDDDDDDDDDDDDDDDDDDDDDDDNNNNN
NNNNNDDDDDDDDDDDDDDDDDDDDDDDDDD+D8?~=?$=8=7Z::8I:D8DDDDDDDDDDDDDDDDDDDDDDDDNNNNN
NNNDDDDDDDDDDDDDDDDDDDDDDDDDD8D+IOIZ$7ZDD7+$:~O=~D8DDDDDDDDDDDDDDDDDDDDDDDDDNNNN