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
var fs = require('fs'); | |
var path = require('path'); | |
fs.readFileSync('.jshintignore', {encoding: 'UTF-8'}).split('\n').forEach(function(line) { | |
if (line && line.indexOf('.js') !== -1) { | |
if (!fs.existsSync(path.join(process.cwd(), line))) { | |
console.log('> ' + line); | |
} | |
} | |
}); |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> | |
/*jshint esnext: true, strict: true, globalstrict: true, browser: true, expr: true */ |
/* | |
grab the whole line | |
char a[100]; | |
cin.getline(a,100); | |
scanf("%[^\n]",a); | |
gets(a); | |
*/ | |
inline void fastRead_int(int *a) | |
{ |
The MIT License (MIT) | |
Copyright (c) 2015 Justin Perry | |
Permission is hereby granted, free of charge, to any person obtaining a copy of | |
this software and associated documentation files (the "Software"), to deal in | |
the Software without restriction, including without limitation the rights to | |
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | |
the Software, and to permit persons to whom the Software is furnished to do so, | |
subject to the following conditions: |
use the following command to play only MP3s | |
vlc folder/*.mp3 (GUI) | |
cvlc folder/*.mp3 (CLI) - command line interface | |
specify additional formats using *.ogg etc. | |
If there are subfolders - |
clone the the B2G directory :) > https://github.com/mozilla-b2g/B2G | |
./config.sh flame-kk | |
./build.sh | |
./flash.sh | |
P.S : don't forget to "git pull" first, if you have an existing repository |
How to install Firefox 41 on Linux Mint, Ubuntu, Debian, CentOS, Fedora… | |
… or any other Linux distribution. | |
http://libre-software.net/how-to-install-firefox-on-ubuntu-linux-mint/ | |
This panda (Firefox) has not much to do with installing Firefox on Linux | |
This how-to explains how to install Firefox 41 on Linux, with or without replacing an existing Firefox installation. | |
Firefox 41 was released on September 22, 2015. |
Standard practices say no non-root process gets to talk to the Internet on a port less than 1024. How, then, could I get Node talking on port 80 on EC2? (I wanted it to go as fast as possible and use the smallest possible share of my teeny tiny little micro-instance's resources, so proxying through nginx or Apache seemed suboptimal.)
Alter the port the script talks to from 8000 to 80:
}).listen(80);
var YQL = require('yql'); | |
var query = new YQL('select * from weather.forecast where (location = 94089)'); | |
query.exec(function(err, data) { | |
var location = data.query.results.channel.location; | |
var condition = data.query.results.channel.item.condition; | |
console.log('The current weather in ' + location.city + ', ' + location.region + ' is ' + condition.temp + ' degrees.'); | |
}); |