Skip to content

Instantly share code, notes, and snippets.

View TheOpenDevProject's full-sized avatar
🤑
Yeeet

Jesse TheOpenDevProject

🤑
Yeeet
View GitHub Profile
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";
}
})
<!doctype html>
<head>
<title> The Converts Are Coming</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<style>
.flex{
display:flex;
#include "gamestage.h"
GameStage::GameStage():_gameStage(std::make_shared<sf::RenderWindow>(sf::RenderWindow(sf::VideoMode(800,800),"Test")))
{
}
/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)...); }
^
#-------------------------------------------------
#
# Project created by QtCreator 2015-06-07T12:17:11
#
#-------------------------------------------------
QT += core
QT -= gui
<?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);
}
};
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',
//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!
[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
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";
}
})