duplicates = multiple editions
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
| // Include this at the very top of both your main and window processes, so that | |
| // it loads as soon as possible. | |
| // | |
| // Why does this work? The node.js module system calls fs.realpathSync a _lot_ | |
| // to load stuff, which in turn, has to call fs.lstatSync a _lot_. While you | |
| // generally can't cache stat() results because they change behind your back | |
| // (i.e. another program opens a file, then you stat it, the stats change), | |
| // caching it for a very short period of time is :ok: :gem:. These effects are | |
| // especially apparent on Windows, where stat() is far more expensive - stat() | |
| // calls often take more time in the perf graph than actually evaluating the |
| ! Title: Disqus click-to-load | |
| # Copy-paste the static filters below into your "My filters" pane in the | |
| # dashboard. | |
| # Purpose is to load Disqus comments on demand only, so that no connection | |
| # to `disqus.com` occurs by default when you land on a site which uses | |
| # Disqus comments widget. | |
| # Not connecting to Disqus by default is a good thing for such a | |
| # ubiquitous server as `disqus.com`, which can be used to build a |
As a maintainer of native node add-on modules I have some questions about when and why NODE_MODULE_VERSION changes:
(@rvagg has anwered these in the comments below)
| # -*- mode: python -*- | |
| { | |
| "targets": [ | |
| { | |
| "include_dirs": ["<!(node -e \"require('nan')\")"], | |
| "target_name": "TimerAndPromise", | |
| "sources": [ | |
| "timer-and-promise.cc" | |
| ], | |
| "conditions": [ |
| # -*- mode: python -*- | |
| { | |
| "targets": [ | |
| { | |
| "include_dirs": ["<!(node -e \"require('nan')\")"], | |
| "target_name": "NanExample", | |
| "sources": [ | |
| "nan-example.cc" | |
| ], | |
| "conditions": [ |
| #!/bin/bash | |
| set -e | |
| # Install NaCl | |
| wget http://storage.googleapis.com/nativeclient-mirror/nacl/nacl_sdk/nacl_sdk.zip | |
| unzip nacl_sdk.zip | |
| rm nacl_sdk.zip | |
| nacl_sdk/naclsdk list |
| /* Author: Akshay Shekher | |
| * | |
| * build: valac --pkg gio-unix-2.0 --pkg libgnome-menu-3.0 -X -DGMENU_I_KNOW_THIS_IS_UNSTABLE applist.vala | |
| * run: ./applist gnome-applications.menu | |
| * or ./applist pantheon-applications.menu | |
| */ | |
| int main(string[] args) { | |
| if (args.length < 2) { | |
| print ("Please specify the file to load\n"); |