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
// Allow from any origin | |
if (isset($_SERVER['HTTP_ORIGIN'])) { | |
//header("Access-Control-Allow-Origin: {$_SERVER['HTTP_ORIGIN']}"); | |
header("Access-Control-Allow-Origin: *"); | |
header('Access-Control-Allow-Credentials: true'); | |
header('Access-Control-Max-Age: 86400'); // cache for 1 day | |
} else { | |
header("Access-Control-Allow-Origin: *"); | |
header('Access-Control-Allow-Credentials: true'); | |
header('Access-Control-Max-Age: 86400'); // cache for 1 day |
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
var mongoose = require('mongoose'); | |
var Schema = mongoose.Schema; | |
var bcrypt = require('bcrypt'), SALT_WORK_FACTOR = 10; | |
var UserSchema = new Schema({ | |
name: { | |
first: { type: String, required: true }, | |
last: { type: String, required: true, default: "resident" } | |
}, |
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
var Event = require('./Events').eventBus; | |
Events.on("test", function() { | |
console.log('it worked'); | |
}); |
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
var Debug = require('winston'); // logging all Errors | |
Debug.configure({ | |
transports: [ | |
new (Debug.transports.Console)(), | |
new (Debug.transports.File)({ filename: 'Debug.log' }) | |
] | |
}); | |
var DiscordProxy = { | |
addClient: function(client) { |
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
import bpy | |
bl_info = { | |
"name": "Fix Makehuman UE4 Animation", | |
"description": "Goes through and fixes all the Scale and Location of all Bones other then Root.", | |
"author": "Bioblaze Payne", | |
"version": (0,1), | |
"location": "View3D > Pose Mode > Unreal Engine", | |
"category": "Animation" | |
} |
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
### Keybase proof | |
I hereby claim: | |
* I am bioblaze on github. | |
* I am bioblaze (https://keybase.io/bioblaze) on keybase. | |
* I have a public key ASBdK_p2b3fin-eF-ZuJZrk0mSHbK8O6c0YMybQlfM7DBgo | |
To claim this, I am signing this object: |
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
location ^~ /.well-known/acme-challenge { | |
root /var/www/letsencrypt; | |
default_type "text/plain"; | |
} |
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
// Fill out your copyright notice in the Description page of Project Settings. | |
#include "loginUserClient.h" | |
#include "ClientSDK.h" | |
#include "ClientSDKStructs.h" | |
#include "ConfigCacheIni.h" | |
#include "Misc/MessageDialog.h" | |
#include "Interfaces/IHttpResponse.h" | |
#include "HttpModule.h" | |
#include "Dom/JsonObject.h" |
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 | |
# ================================================================= | |
# Stream configuration file for Raspberry Pi Camera | |
# | |
# @author Russell Feldhausen ([email protected]) | |
# @version 2019-06-05 | |
# | |
# This set of commands should allow you to stream video from your | |
# Raspberry Pi Camera to Twitch and Youtube (and possibly other |
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 | |
# | |
# Diffusion youtube avec ffmpeg | |
# Configurer youtube avec une résolution 720p. La vidéo n'est pas scalée. | |
VBR="2500k" # Bitrate de la vidéo en sortie | |
FPS="30" # FPS de la vidéo en sortie | |
QUAL="medium" # Preset de qualité FFMPEG | |
YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2" # URL de base RTMP youtube |
OlderNewer