Skip to content

Instantly share code, notes, and snippets.

@yamaya
yamaya / xcode-clang-vers
Last active June 19, 2026 06:46
Xcode clang version record
# Xcode 4.3.3
Apple clang version 3.1 (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin11.4.0
Thread model: posix
# Xcode 4.3.2
Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin11.4.0
Thread model: posix
@rxaviers
rxaviers / gist:7360908
Last active June 22, 2026 20:45
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@ax3l
ax3l / CUDA_Compilers.md
Last active May 27, 2026 04:54
CUDA Compilers
@christophercrouzet
christophercrouzet / shaders.cmake
Created August 5, 2014 13:00
Command to format GLSL shaders with CMake for inclusion in C++
separate_arguments(FILES)
foreach (file ${FILES})
if (LOAD_SHADERS_DYNAMICALLY)
file(
COPY ${SOURCE_DIR}/${file}
DESTINATION ${DESTINATION_DIR}
)
else()
set(filename ${SOURCE_DIR}/${file})
@porjo
porjo / timelapse.md
Last active May 25, 2023 16:14
ffmpeg time-lapse

Convert sequence of JPEG images to MP4 video

Simple glob:

ffmpeg -r 24 -i '*.JPG' -s hd1080 -vcodec libx264 timelapse.mp4

Start from DSC_0079.JPG

ffmpeg -r 24 -f image2 -start_number 79 -i DSC_%04d.JPG -s hd1080 -vcodec libx264 timelapse2.mp4
@artivis
artivis / boost_serialization_eigen.h
Last active December 1, 2022 01:47
Boost serialization for Eigen Matrix
/**
------------------------------------------------------------------------------------
!!!!! This was moved to https://github.com/artivis/boost_serialization_helper !!!!!
------------------------------------------------------------------------------------
*/
#ifndef _BOOST_SERIALIZATION_EIGEN_
#define _BOOST_SERIALIZATION_EIGEN_
#include <Eigen/Sparse>
@ankurk91
ankurk91 / github_gpg_key.md
Last active March 31, 2026 18:26
Signing git commits using GPG (Ubuntu/Mac)

Github : Signing commits using GPG (Ubuntu/Mac) 🔐

  • Do you have an Github account ? If not create one.
  • Install required tools
  • Latest Git Client
  • gpg tools
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
@ErikAugust
ErikAugust / spectre.c
Last active October 7, 2025 15:37
Spectre example code
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#ifdef _MSC_VER
#include <intrin.h> /* for rdtscp and clflush */
#pragma optimize("gt",on)
#else
#include <x86intrin.h> /* for rdtscp and clflush */
#endif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.