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
public void render() { | |
boolean firstPass = true; | |
for(MapLight light : mapLightRenderer.lights) { | |
batch.setShader(mapLightRenderer.lightShader); | |
lightFBO.begin(); | |
batch.setProjectionMatrix(cam.combined); | |
batch.setBlendFunction(GL20.GL_SRC_ALPHA, GL20.GL_ONE_MINUS_SRC_ALPHA); | |
Gdx.gl.glClearColor(1f,0f,0f,0f); |
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
Imports Microsoft.VisualBasic | |
Public Class LargeModalWindow | |
Inherits BaseModal | |
Public Property HeadingTitle As String = "" | |
Public Property DataID As String | |
Get | |
Dim o As Object = ViewState("DataID") |
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
<a href="http://www.google.com" target="blank">Link Test</a> | |
replace http://www.google.com with your link. | |
target="blank" will make it open in a new browser window. |
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
/* | |
* To change this template, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package mygame; | |
import com.jme3.math.FastMath; | |
import com.jme3.math.Plane; | |
import com.jme3.math.Ray; | |
import com.jme3.math.Triangle; |
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 { Directive, Input, Renderer2, ElementRef, ViewChild } from '@angular/core'; | |
@Directive({ | |
selector: '[btnLoading]' | |
}) | |
export class BtnLoadingDirective { | |
@Input() | |
set btnLoading(condition: boolean) { | |
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
public class ExampleHub : Hub | |
{ | |
private readonly IServiceProvider provider; | |
public Dictionary<string, Type> RpcMethods = new Dictionary<string, Type>(); | |
private Dictionary<Type, IWebSocketRpc> RpcInstances = new Dictionary<Type, IWebSocketRpc>(); | |
public ExampleHub(IServiceProvider provider) | |
{ | |
this.provider = provider; |
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
{ | |
"matchid": "576576", | |
"num_maps": 3, | |
"players_per_team": 1, | |
"min_players_to_ready": 1, | |
"min_spectators_to_ready": 0, | |
"skip_veto": false, | |
"veto_first": "team1", | |
"side_type": "standard", |
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
{ | |
"matchid":"m56", | |
"num_maps":1, | |
"players_per_team":5, | |
"min_players_to_ready":5, | |
"min_spectators_to_ready":0, | |
"skip_veto":false, | |
"veto_first":"team1", | |
"side_type":"standard", | |
"spectators":{ |
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
function fieldAddedCallback(field, element) { | |
if(element.hasClass("block-emoji-pattern")) { | |
$(element).find("input").on("keypress paste input keydown", function(event) { | |
var val = $(this).val(); |