Skip to content

Instantly share code, notes, and snippets.

@zolex
zolex / memcache-3.0.8-faulty-inline.patch
Created November 21, 2023 13:35
memcache 3.0.8 faulty inline patch
diff -ru a/memcache_pool.c b/memcache_pool.c
--- a/memcache_pool.c
+++ b/memcache_pool.c
@@ -40,7 +40,7 @@
ZEND_DECLARE_MODULE_GLOBALS(memcache)
-inline void mmc_buffer_alloc(mmc_buffer_t *buffer, unsigned int size) /*
+void mmc_buffer_alloc(mmc_buffer_t *buffer, unsigned int size) /*
ensures space for an additional size bytes {{{ */
This file has been truncated, but you can view the full file.
{
"asset" : {
"generator" : "Khronos glTF Blender I/O v0.9.24",
"version" : "2.0"
},
"scene" : 0,
"scenes" : [
{
"name" : "newviciious",
"nodes" : [
@zolex
zolex / patch
Created April 17, 2018 08:03
PHP 7.2 compatibility patch for mdmsoft/yii2-admin 2.8
diff --git a/components/Configs.php b/components/Configs.php
index b6cf6ce..3a210ee 100644
--- a/components/Configs.php
+++ b/components/Configs.php
@@ -39,7 +39,7 @@ use yii\rbac\ManagerInterface;
* @author Misbahul D Munir <[email protected]>
* @since 1.0
*/
-class Configs extends \yii\base\Object
+class Configs extends \yii\base\BaseObject
@zolex
zolex / .joerc
Created August 15, 2012 14:20
.joerc
Initialization file for JOE
Standard Joe
JOE looks for this file in:
1 - $HOME/.joerc
2 - /etc/joe/joerc
This file can include other files by placing the following include command
in the first column:
@zolex
zolex / glview.xml
Created April 30, 2012 08:56
OpenGLES TTF Example
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/layout"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#000000" >
<android.opengl.GLSurfaceView
android:id="@+id/glview"
android:layout_width="fill_parent"