Skip to content

Instantly share code, notes, and snippets.

Arnaud Juracek arnaudjuracek

Block or report user

Report or block arnaudjuracek

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View st3-build-systems.md

Sublime Text 3 build systems

Markdown

using vmd:

{
  "cmd": ["vmd \"$file\" --watch"],
  "shell": true,
  "selector": "text.html.markdown"
View bash-snippets.md

bash snippets


Personnal collection of useful bash snippets.



Table of Contents

View git-aliases.md

git aliases

alias.unstage 'reset HEAD --'
alias.append 'commit --amend --no-edit'
alias.last 'log --name-status HEAD^..HEAD'
alias.skip '!git update-index --assume-unchanged'
alias.skipped '!git ls-files -v | grep ^[a-z]'
alias.unskip '!git update-index --no-assume-unchanged'
View basic-pagination.php
<ul class="items">
<?php
$options = array(
'quantity' => 20, // how many item to display for each page
'around' => 2, // how many page btn to show around the current page btn
'directory' => 'files/tbn-test', // dir to scan for items
);
$page = isset($_GET['page']) ? $_GET['page'] : 1;
$offset = ($page - 1) * $options['quantity']; // $page base index is 1
@arnaudjuracek
arnaudjuracek / rpi-setup-guide.md
Last active Oct 18, 2019
Raspberry PI setup guide
View rpi-setup-guide.md
@arnaudjuracek
arnaudjuracek / fn_converters.pde
Last active Apr 26, 2016
Toxiclibs<>HE_mesh : convert TriangleMesh to HE_mesh, and HE_mesh to TriangleMesh
View fn_converters.pde
import java.util.Iterator;
import java.util.List;
import wblut.processing.*;
import wblut.core.*;
import wblut.hemesh.*;
import wblut.geom.*;
import toxi.geom.*;
import toxi.geom.mesh.*;
You can’t perform that action at this time.