Skip to content

Instantly share code, notes, and snippets.

View quantjin's full-sized avatar

QuantJin quantjin

View GitHub Profile
@quantjin
quantjin / dumpbin.md
Created May 13, 2015 04:06
use dumpbin to generate .lib from .dll

from this blog

dumpbin /exports C:\yourpath\yourlib.dll
ordinal hint RVA      name

1 0 00017770 jcopy_block_row
@mdunisch
mdunisch / How you get Sail.js running on Openshift.md
Last active October 9, 2025 01:20
Get Sails.js running on Openshift

#How you get Sail.js running on Openshift#

This instruction is tested with:

  • Sails.js v0.9.16
  • Node.js 0.10 on Openshift ( 05 May 2014)

###1) package.json

If you use the package.json build by sails new Projectname than you have to add a few fields for openshift – so the server can start you app automatically. Sails uses Grunt to build minify css/js and so on. Openshift dont have grunt installed so you have to add this also.

@wch
wch / app.r
Last active February 2, 2025 16:41
Shiny example app with dynamic number of plots
max_plots <- 5
ui <- fluidPage(
headerPanel("Dynamic number of plots"),
sidebarPanel(
sliderInput("n", "Number of plots", value=1, min=1, max=5)
),