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 mobileMenu = { | |
eventBindings : { | |
mobileMenuToggle : $(document).ready(function(){ | |
$("#flex-menu-button").on("click",function(){ | |
if(window.location.hash == "#flex-menu"){ | |
window.location.hash = "#"; | |
}else{ | |
window.location.hash = "#flex-menu"; | |
} | |
}) |
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
<!doctype html> | |
<head> | |
<title> The Converts Are Coming</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
</head> | |
<style> | |
.flex{ | |
display:flex; |
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
#include "gamestage.h" | |
GameStage::GameStage():_gameStage(std::make_shared<sf::RenderWindow>(sf::RenderWindow(sf::VideoMode(800,800),"Test"))) | |
{ | |
} | |
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
/usr/include/c++/4.9/ext/new_allocator.h:120: error: invalid conversion from 'const char*' to 'sf::WindowHandle {aka long unsigned int}' [-fpermissive] | |
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } | |
^ |
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
#------------------------------------------------- | |
# | |
# Project created by QtCreator 2015-06-07T12:17:11 | |
# | |
#------------------------------------------------- | |
QT += core | |
QT -= gui |
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 | |
require_once ($_SERVER['DOCUMENT_ROOT'] + 'path/to/idiorm.php'); | |
class Config { | |
protected function __construct(){ | |
ORM::configure('mysql:host=localhost;dbname=database'); | |
ORM::configure('username','username'); | |
ORM::configure('password',''); | |
ORM::configure('return_result_sets', true); | |
} | |
}; |
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
MyApp = { | |
Events : { | |
CreateButton_Clicked : $(document).on("click",function(){ | |
$("#CreateButtonID").on("click",function(event){ | |
var PostDataASJson = { | |
Member : $("#inputid").val() | |
} | |
$.ajax({ | |
url: "/Url/To/Controller/", | |
type: 'POST', |
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
//Snippet from router | |
$callerArgs = func_get_args(); | |
//Offset our args to forward by one, the plugin should not be aware of the URL that was requested. | |
$subUrlArgs = array_slice($callerArgs, 1); | |
//Try to create an instance of the class | |
$plugin = PluginLoader::LoadPlugin("SimpleMail"); | |
$pluginInstance = $plugin->newInstanceArgs(array(true)); | |
$pluginInstance->exec(); | |
//Object Oriented plugins FOR THE WIN! |
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
[23:29] <TheHackOps> like | |
[23:29] <Ella> Title: Soundgarden - Black Hole Sun - YouTube | |
[23:29] <TheHackOps> E E E E E E | |
[23:29] <TheHackOps> A | |
[23:29] <TheHackOps> A | |
[23:29] <@Buck> yeah | |
[23:29] <@Buck> you only need a few chords to do all of greenday | |
[23:30] <TheHackOps> Buck: I have a guitar teacher and this app | |
[23:30] <TheHackOps> uhm one sec | |
[23:30] <TheHackOps> ill get the name |
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 mobileMenu = { | |
eventBindings : { | |
mobileMenuToggle : $(document).ready(function(){ | |
$("#flex-menu-button").on("click",function(){ | |
if(window.location.hash == "#flex-menu"){ | |
window.location.hash = "#"; | |
}else{ | |
window.location.hash = "#flex-menu"; | |
} | |
}) |
OlderNewer