Skip to content

Instantly share code, notes, and snippets.

@Mulperi
Mulperi / sfml_box2d_vscode.md
Last active January 9, 2024 00:09
SFML, Box2D in VSCode (macOS)

SFML, Box2D in VSCode (macOS)

Project structure

  • Create new project folder.
  • Inside of the project folder, create folders include and lib.
  • Create main.cpp with code:
  #include "include/SFML/Graphics.hpp"
  #include "include/box2d/box2d.h"
 int main(){}
@agup006
agup006 / kubernetes.md
Last active October 21, 2022 14:48
Kubernetes Commands

Raise Open File Limits in OS X

in OS X 10.4 to macOS sierra 10.12 and maybe higher!

Create Launcher Script:

/Library/LaunchDaemons/limit.maxfiles.plist

Copy this entire code block and paste it into your terminal and push Return to create this file for you with correct permissions. It will (probably) ask for your password:

@SachaG
SachaG / posts_list_controller.html
Last active March 2, 2016 23:26
Template Controller
<template name="postsListController">
{{> posts_list context}}
</template>
@olizilla
olizilla / meteor-dump.sh
Last active May 29, 2016 02:18
Dump a mongo db from a live meteor app to a local dump dir.
#!/bin/bash
# __
# _____ ____ _/ |_ ____ ____ _______
# / \ _/ __ \ \ __\_/ __ \ / _ \ \_ __ \
# | Y Y \\ ___/ | | \ ___/ ( <_> ) | | \/
# |__|_| / \___ > |__| \___ > \____/ |__|
# \/ \/ \/
#
# .___
# __| _/ __ __ _____ ______