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
// Use OpenGL 3.0+, but don't use GLU | |
#define GLFW_INCLUDE_GL3 | |
#define GLFW_NO_GLU | |
#include <GL/glfw.h> | |
#include <glm/glm.hpp> | |
#include <glm/gtc/matrix_transform.hpp> | |
#include <glm/gtc/type_ptr.hpp> | |
extern "C" { |
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
# How to Fix "Code has to be at least ad-hoc signed" | |
In the command line, run this: | |
``` | |
$ codesign -f -s "YOURDEVELOPEREMAIL" /usr/local/opt/*/lib/*.dylib | |
``` |
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 | |
@class -e AppController Controller | |
@method -p index | |
@method -p create | |
@method -p read | |
@method -p update | |
@method -p delete | |
@endClass | |
@endPhp |
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
"settings": | |
{ | |
"xdebug": { | |
"path_mapping": { | |
"/absolute/path/to/file/on/server" : "/absolute/path/to/file/on/computer", | |
"/var/www/htdocs/example/" : "C:/git/websites/example/" | |
}, | |
"ide_key": "sublime.xdebug", | |
"url": "http://your.web.server", | |
"port": 9000, |
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
<exec executable=""> | |
<arg value="" /> | |
</exec> |
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> | |
<html> | |
<head> | |
<title>Bootstrap 101 Template</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen"> | |
</head> | |
<body> | |
<h1>Hello, world!</h1> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project name="" default="build"> | |
<property name="project_name" value="" /> | |
<property name="project_svn_repo" value="" /> | |
<property name="db_driver_class" value="./libs/mysql-connector-java-5.1.26-bin.jar" /> | |
<property name="db_driver" value="org.gjt.mm.mysql.Driver" /> | |
<property name="db_user" value="root" /> | |
<property name="db_pass" value="" /> |