Skip to content

Instantly share code, notes, and snippets.

@ted-piotrowski
ted-piotrowski / visualstudiocode.sh
Last active August 31, 2022 14:27
Visual Studio Code on ARM Debian Linux
# building Visual Studio Code Debian package on ARM
# get source code
git clone [email protected]:Microsoft/vscode.git
cd vscode
# build debian package
./scripts/npm.sh install --arch=armhf
./node_modules/.bin/gulp vscode-linux-arm-build-deb
@thaenor
thaenor / rain.cpp
Created January 10, 2015 14:14
openGL particle rain snow and hail effects
// May Ang
// [email protected]
// CS 161 - Animation & Visualization
// Final Project - Rain/Hail/Snow Simulation
//source: https://classes.soe.ucsc.edu/cmps161/Winter09/projects/mang/finalproject.html
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
@msohn
msohn / git-big-objects.sh
Last active June 26, 2023 15:31
Script to show n largest objects in a git repo's pack files.
#!/bin/bash
# -----------------------------------------------------------------------
# Copyright (C) 2013 Matthias Sohn <[email protected]>
#
# 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
#