Skip to content

Instantly share code, notes, and snippets.

View pathsny's full-sized avatar

Vishnu Iyengar pathsny

View GitHub Profile
@pathsny
pathsny / Freenas 11.2 Setup.md
Last active October 3, 2021 17:59 — forked from zenxedo/TrueNAS Setup.md
Ultimate FreeNAS 11.2 iocage Setup

FreeNAS 11.2

WARNING READ THIS: This page contains incomplete and possibly incorrect info. The page is constantly being edited and worked on. Many of these should work but some may be broken. Read the code carefully to understand what you are doing, stuff may be nedd to be changed for your own use. These include but are not limited too JAIL AND ROUTER IPs, YOUR FREENAS MAIN VOLUME,THE MOST RECENT RELEASE OF DOWNLOADED FILES Use at your own risk.

**Find me in the FreeNAS forums

Thanks to the creator of this guide https://forums.freenas.org/index.php?resources/fn11-1-iocage-jails-plex-tautulli-sonarr-radarr-lidarr-jackett-ombi-transmission-organizr.58/

Chiropractic care Yes
Co-payment (medical, in-network) Yes
Contact lenses and solutions Yes
Dental Yes
Hospital fees Yes
Lab (medical) Yes
Mileage (for travel to/from eligible health care) Yes
Office visit (medical) Yes
Orthodontia Yes
Over-the-counter (drugs and medicines) Yes (Rx)
@pathsny
pathsny / .eslintrc
Created January 31, 2018 02:19
no-flow-fix-me-comments not working
module.exports = {
env: {
browser: true,
es6: true,
},
parser: 'babel-eslint',
extends: ["plugin:flowtype/recommended"],
parserOptions: {
ecmaFeatures: {
experimentalObjectRestSpread: true,
@pathsny
pathsny / .babelrc
Last active January 10, 2018 06:24
My project
{
"presets" : [
["@babel/env", {"useBuiltIns": "entry",}],
"@babel/react",
],
"plugins": ["react-hot-loader/babel", "@babel/transform-runtime"]
}
#lang racket
;; factorial
(define (fact n)
(if (= n 1) 1 (* n (fact (- n 1)))))
;; what if we couldnt use define or letrec and still had to define factorial
;; I'm using define to "wrap" the contents and prevent it from leaking, but
;; the important part is I define fact-int and pass it to itself ...
peeps = {}
net = require('net');
_ = require('underscore');
key = (socket) ->
"#{socket.remoteAddress}:#{socket.remotePort}"
del = (socket) ->
delete peeps[key(socket)]
console.log('deleted', key(socket), peeps);
yacc -d simplev3.y
lex simplev3.l
gcc lex.yy.c y.tab.c simplev3_int.c
@pathsny
pathsny / gist:3801016
Created September 28, 2012 17:07
help php52 compilation errors
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:1888: checking for Cygwin environment
configure:1904: /usr/bin/llvm-gcc -c -Os -w -pipe -march=core2 -msse4 -mmacosx-version-min=10.7 -I/usr/X11/include conftest.c 1>&5
configure: In function 'main':
configure:1900: error: '__CYGWIN32__' undeclared (first use in this function)
configure:1900: error: (Each undeclared identifier is reported only once
configure:1900: error: for each function it appears in.)
configure: failed program was:
require 'formula'
class Php52 <Formula
url 'http://www.php.net/get/php-5.2.17.tar.bz2/from/www.php.net/mirror'
version '5.2.17'
homepage 'http://php.net/'
md5 'b27947f3045220faf16e4d9158cbfe13'
depends_on 'jpeg'
depends_on :freetype
@pathsny
pathsny / gist:3800807
Created September 28, 2012 16:32
error
Warning: Your Xcode (4.2.1) is outdated
Please install Xcode 4.5.
Warning: It appears you have MacPorts or Fink installed.
Software installed with other package managers causes known problems for
Homebrew. If a formula fails to build, uninstall MacPorts/Fink and try again.
Error: undefined method `version' for nil:NilClass
Please report this bug:
https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist
/usr/local/Library/Homebrew/formula.rb:51:in `initialize'
/usr/local/Library/Homebrew/formula.rb:403:in `new'