Skip to content

Instantly share code, notes, and snippets.

@samdenty
samdenty / README.MD
Last active November 11, 2021 04:57
VS Code CSS addition to increase readability on file tree.

How to install

Custom CSS plugin

Install the custom CSS plugin, then make a file on your computer that will hold your custom CSS, I like to make one in my home directory called ~/.vscodestyles.css and then add the CSS into it.

Once done, open your command palette and select enable custom CSS and JS

@chinmaygarde
chinmaygarde / FlutterEmbedderGLFW.cc
Last active November 23, 2023 16:26
Flutter Embedder API Example (GLFW with OpenGL)
#include <assert.h>
#include <chrono>
#include <embedder.h>
#include <glfw3.h>
#include <iostream>
static_assert(FLUTTER_ENGINE_VERSION == 1, "");
static const size_t kInitialWindowWidth = 800;
@fzakaria
fzakaria / double_array.go
Created January 21, 2016 18:39
How to iterate over a double array in Cgo
package avformat
//#cgo pkg-config: libavformat
//#include <libavformat/avformat.h>
import "C"
import (
"unsafe"
)
//https://www.ffmpeg.org/doxygen/2.7/structAVFormatContext.html
@PurpleBooth
PurpleBooth / README-Template.md
Last active April 29, 2024 02:38
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@chrisbanes
chrisbanes / FloatLabelLayout.java
Last active March 15, 2024 06:39
FloatLabelLayout
/*
* Copyright 2014 Chris Banes
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@legendlee
legendlee / GistEcho.php
Created December 2, 2012 07:32
让Typecho支持Gist的插件
<?php
/**
* 替换内容源代码中的 Gist 标签为 Gist 脚本
* Gist 标签格式为: [gist gist地址]
*
* @package GistEcho
* @author woody
* @version 1.0.0
* @link http://www.fanrenxiu.com
*/