npm Users By Downloads (git.io/npm-top)
npm users sorted by the monthly downloads of their modules, for the range May 6, 2018 until Jun 6, 2018.
Metrics are calculated using top-npm-users.
| # | User | Downloads |
|---|
| lily: main amd64 workstation used primarily for gaming, secondarily for work | |
| daisy: main arm64 workstation used primarily for work | |
| foxglove: secondary amd64 workstation used for recording videos, streams, podcasts, etc. in a soundproof booth -- or for quiet focus time |
| #include <stdio.h> | |
| #define SQ(x) (x)*(x) | |
| #define M0(x,y) SQ(x)+SQ(y)<4?0:0xe0 | |
| #define M1(x,y,x0,y0) (SQ(x)+SQ(y)<4)?M0(SQ(x)-SQ(y)+(x0),2*(x)*(y)+(y0)):0xc0 | |
| #define M2(x,y,x0,y0) (SQ(x)+SQ(y)<4)?M1(SQ(x)-SQ(y)+(x0),2*(x)*(y)+(y0),x0,y0):0xa0 | |
| #define M3(x,y,x0,y0) (SQ(x)+SQ(y)<4)?M2(SQ(x)-SQ(y)+(x0),2*(x)*(y)+(y0),x0,y0):0x80 | |
| #define M4(x,y,x0,y0) (SQ(x)+SQ(y)<4)?M3(SQ(x)-SQ(y)+(x0),2*(x)*(y)+(y0),x0,y0):0x60 | |
| #define M5(x,y,x0,y0) (SQ(x)+SQ(y)<4)?M4(SQ(x)-SQ(y)+(x0),2*(x)*(y)+(y0),x0,y0):0x40 |
| import ( | |
| "mime" | |
| "net/http" | |
| "strings" | |
| ) | |
| // Determine whether the request `content-type` includes a | |
| // server-acceptable mime-type | |
| // | |
| // Failure should yield an HTTP 415 (`http.StatusUnsupportedMediaType`) |
| { | |
| "AWSEBDockerrunVersion": "1", | |
| "Image": { | |
| "Name": "<AWS_ACCOUNT_ID>.dkr.ecr.us-east-1.amazonaws.com/<NAME>:<TAG>", | |
| "Update": "true" | |
| }, | |
| "Ports": [ | |
| { | |
| "ContainerPort": "443" | |
| } |
npm users sorted by the monthly downloads of their modules, for the range May 6, 2018 until Jun 6, 2018.
Metrics are calculated using top-npm-users.
| # | User | Downloads |
|---|
| // Part of https://github.com/chris-rock/node-crypto-examples | |
| // Nodejs encryption with CTR | |
| var crypto = require('crypto'), | |
| algorithm = 'aes-256-ctr', | |
| password = 'd6F3Efeq'; | |
| function encrypt(text){ | |
| var cipher = crypto.createCipher(algorithm,password) | |
| var crypted = cipher.update(text,'utf8','hex') |
| using System.Net; | |
| //this method can be called in a button tap event | |
| private void calculate() | |
| { | |
| string calculationText = txtInput.Text; | |
| try | |
| { | |
| WebClient wc = new WebClient(); |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| /* | |
| * MCrypt API available online: | |
| * http://linux.die.net/man/3/mcrypt | |
| */ | |
| #include <mcrypt.h> |
| import redis | |
| import time | |
| import sys | |
| def producer(): | |
| r = redis.Redis() | |
| i = 0 | |
| while True: | |
| r.rpush('queue', 'Message %d' % i) |