Skip to content

Instantly share code, notes, and snippets.

View sephi-dev's full-sized avatar
🎯
Focusing

David sephi-dev

🎯
Focusing
View GitHub Profile
{"lastUpload":"2020-03-03T10:38:46.988Z","extensionVersion":"v3.4.3"}
@sephi-dev
sephi-dev / api.proxy.server.js
Created July 1, 2018 19:39 — forked from davemo/api.proxy.server.js
A simple express.js server with a proxy that intercepts all requests with /api/ and proxies them to localhost:3000
var express = require('express'),
httpProxy = require('http-proxy'),
app = express();
var proxy = new httpProxy.RoutingProxy();
function apiProxy(host, port) {
return function(req, res, next) {
if(req.url.match(new RegExp('^\/api\/'))) {
proxy.proxyRequest(req, res, {host: host, port: port});
// repositions the gunmodel TO mimic CSS more closely.
viewmodel_fov "65"
viewmodel_offset_x "2"
viewmodel_offset_y "2"
viewmodel_offset_z "-2"
// removes the shifting of the arm WHEN crouching down.
cl_viewmodel_shift_left_amt "0"
import React from "react";
import { render } from "react-dom";
import Svg from "./Svg";
const styles = {
fontFamily: "sans-serif",
textAlign: "center",
fontSize: "16px"
};
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import React from "react";
import PropTypes from "prop-types";
import sprite from "./assets/sprite.svg";
const defaultStyle = {
fill: "#000",
width: "25px",
height: "25px"
};
@sephi-dev
sephi-dev / QbWdzg.markdown
Last active August 29, 2015 14:19
Slider.js

Keybase proof

I hereby claim:

  • I am davidvenin on github.
  • I am davidvenin (https://keybase.io/davidvenin) on keybase.
  • I have a public key whose fingerprint is F37D 62A6 2E21 D5B7 8274 90A4 78A1 54AD 7A60 AB57

To claim this, I am signing this object: