This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/^[ \t]*(?:\${2}|\\\[)[ \t]*((?:(?!\n[ \t]*\n)[\s\S])+?)[^\\](?:\${2}|\\\])\s*/gm | |
$$ | |
R_{\mu \nu} - {1 \over 2}g_{\mu \nu}\,R + g_{\mu \nu} \Lambda = | |
{8 \pi G \over c^4} T_{\mu \nu} | |
$$ | |
$$ | |
f(x) = \int_{-\infty}^\infty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> pathwatcher-without-runas@4.5.0 install C:\Users\Galadirith\My Projects\markdown-preview-plus\node_modules\pathwatcher-without-runas | |
> node-gyp rebuild | |
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. | |
main.cc | |
common.cc | |
handle_map.cc | |
pathwatcher_win.cc | |
Creating library C:\Users\Galadirith\My Projects\markdown-preview-plus\node_modules\pathwatcher-without-runas\build\Release\pathwatc | |
her.lib and object C:\Users\Galadirith\My Projects\markdown-preview-plus\node_modules\pathwatcher-without-runas\build\Release\pathwatcher |
This gist lets you keep IPython notebooks in git repositories. It tells git to ignore prompt numbers and program outputs when checking that a file has changed.
To use the script, follow the instructions given in the script's docstring.
For further details, read this blogpost.
The procedure outlined here is inspired by this answer on Stack Overflow.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
EMAIL="your_email@example.com" | |
API_TOKEN="API_TOKEN" | |
DOMAIN_ID="your_domain.com" | |
RECORDS=(123456 234567 345678) # Replace with the Record ID | |
IP="`curl -s -S http://v4.ident.me`" | |
STORED_IP_ADDRESS_FILENAME="$HOME/.current_external_ip_address" | |
# Loop through each record id in the array |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.phenomd=f()}})(function(){var define,module,exports;return function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s}({1:[function(require,module,exports){var _,fft,math,nd,phenom;fft=require("ndarray-fft");nd=require("ndarray");_=require("underscore");math=require("mathjs");phenom=require("./phenomd.coffee");module.exports=function(m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.phenomd=f()}})(function(){var define,module,exports;return function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s}({1:[function(require,module,exports){var Constants,FinalSpin0815,FinalSpinIMRPhenomD_all_in_plane_spin_on_larger_BH,M_eta_m1_m2,PhenomD,PhenomDInternalsAmplitude,PhenomDInternalsPhase,UsefulPowers,_,absolute,amp0Func,a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Setup Python test environment | |
FROM debian:jessie | |
# Trust maintainer of lscsoft-archive-keyring package | |
RUN gpg --keyserver keys.gnupg.net --recv-keys CE050D236DB6FA3F \ | |
&& gpg -a --export CE050D236DB6FA3F | apt-key add - | |
# TDD LSCSoft Debian Jessie archive and install Python packages | |
RUN echo deb http://software.ligo.org/lscsoft/debian jessie contrib >> /etc/apt/sources.list \ | |
&& apt-get -yqq update \ |
OlderNewer