Skip to content

Instantly share code, notes, and snippets.

View OmerShapira's full-sized avatar
💭
is this the internet

Omer Shapira OmerShapira

💭
is this the internet
View GitHub Profile
@OmerShapira
OmerShapira / Israel-Palestine Resources.md
Last active November 14, 2023 07:55
Israel-Palestine: High-Impact Short Articles

Israel-Palestine Resources

The purpose of this list is to provide a high-impact introduction to the main players and ideologies in the tensions between Israel and Palestine. The wikipedia articles linked here all refer to first sources, and my curation attempts to remove a single narrative, insofar that this is even possible.

This list skips easily googleable articles ("Hamas", "1967 War", etc). It also skips articles that focus on a single viewpoint ("Palestinian Political Violence", "Greater Israel", etc). Please use these articles as a starting point to research. This is not a complete list, it simply provides key points to begin with.

  1. The Sykes-Picot Agreement - Map of colonial interests in the Levant at the heels of the decline of the Ottoman Empire. This isn't the beginning of history, but a good place to start.
  2. McMahon-Hussein Correspondence - Key piece to understandin
cigar
rebut
sissy
humph
awake
blush
focal
evade
naval
serve
cigar
rebut
sissy
humph
awake
blush
focal
evade
naval
serve
# snippet to center pivots in stage
from pxr import UsdGeom, Gf
from sets import Set
mesh_list = [x for x in stage.Traverse() if UsdGeom.Mesh(x)]
meshes_to_process = Set(mesh_list)
def process(m):
children = [x for x in m.GetChildren() if UsdGeom.Mesh(m)]
@OmerShapira
OmerShapira / Soundcloud.md
Last active July 16, 2017 15:54
Songs, Albums and Sets to listen to before Soundcloud perishes

Keybase proof

I hereby claim:

  • I am OmerShapira on github.
  • I am omershapira (https://keybase.io/omershapira) on keybase.
  • I have a public key whose fingerprint is E2EC 88B3 0741 493A 55F5 CAF4 D44B F2CE BD30 D8F0

To claim this, I am signing this object:

@OmerShapira
OmerShapira / LINQUtils.cs
Last active September 3, 2015 21:51
LINQUtils
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System;
public static class LINQUtils {
public static IEnumerable<T> Zip<A, B, T>(
IEnumerable<A> seqA, IEnumerable<B> seqB, Func<A, B, T> func)
{
@OmerShapira
OmerShapira / Perlin.js
Created February 22, 2014 02:14
Improved noise by Ken Perlin, optimised for JS
// Improved noise
// JS version written by Ken Perlin
// http://mrl.nyu.edu/~perlin
// Modified by Omer Shapira
// http://omershapira.com
var perlin = (function() {
var p = (function() {
// Perlin's artisanal shuffle
@OmerShapira
OmerShapira / swizzle.js
Created January 27, 2014 18:12
Javascript swizzle generator for Ryan.js
function generateSwizzles (){
var allSwizzles = [];
var perm = function(list, ret){
if (list.length == 0) {
var swizzleMember = ret.join('') + " : [" + ret.join(',') + ']'
allSwizzles.push(swizzleMember);
return;
}
for (var i = 0; i < list.length; i++) {