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
((SELECT * FROM payments LEFT OUTER JOIN supporters ON supporters.id = payments.supporter_id) | |
EXCEPT ALL (SELECT * FROM payments INNER JOIN supporters ON supporters.id = payments.supporter_id)) | |
UNION ALL | |
((SELECT * FROM payments INNER JOIN supporters ON supporters.id = payments.supporter_id) | |
EXCEPT ALL (SELECT * FROM payments LEFT OUTER JOIN supporters ON supporters.id = payments.supporter_id)) |
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 a() : string |number | |
{ | |
return "" | |
} | |
function b(){ | |
let foo = a() | |
if( typeof foo === "number") | |
{ | |
console.log(foo.toFixed()) |
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
So let's consider a small business that runs a website that happens to run on GPL'd software. They don't know anything about the GPL but they paid a local web shop to set it up on their shared web host. They don't have to know that the GPL requires them to provide source code if they convey a copy because they don't convey | |
Let's say the same business runs a wwebsite that runs on AGPL software. They don't know anything about the AGPL but they paid a local web shop to set it up on their shared web host. What happens when someone requests a copy of the source? The answer will likely be "what's source code?" | |
The local business doesn't want to pay someone to get them the source. And we can't even tell them "give us the contents of directory holding the web site" because that might contain private configuration information which isn't covered by the AGPL. | |
This is why I don't normally recommend AGPL software to anyone unless they already understand licensing and source code. |
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
src-git packages https://github.com/openwrt/packages.git | |
src-git luci https://github.com/openwrt/luci.git | |
src-git routing https://github.com/openwrt-routing/packages.git | |
src-git telephony https://github.com/openwrt/telephony.git | |
src-git management https://github.com/openwrt-management/packages.git | |
#src-git oldpackages http://git.openwrt.org/packages.git | |
#src-svn xwrt http://x-wrt.googlecode.com/svn/trunk/package | |
#src-svn phone svn://svn.openwrt.org/openwrt/feeds/phone | |
#src-svn efl svn://svn.openwrt.org/openwrt/feeds/efl | |
#src-svn xorg svn://svn.openwrt.org/openwrt/feeds/xorg |
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/sh | |
uci -q set network.lan.ipaddr=10.0.2.15 | |
uci -q commit network | |
exit 0 |
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
<html> | |
<head> | |
<title>Our learning webpage</title> | |
</head> | |
<body><h1>Hey look, you created and installed the package!</h1></body> | |
</html> |
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
include $(TOPDIR)/rules.mk | |
PKG_NAME:=learning_webpage | |
PKG_VERSION:=1 | |
PKG_RELEASE=$(PKG_SOURCE_VERSION) | |
PKG_MAINTAINER:=Your name <[email protected]> | |
PKG_LICENSE:=ISC | |
include $(INCLUDE_DIR)/package.mk |
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
/** | |
* I want this to always return the promise that resoslves to the result of createMatchFunction(ignore) | |
* | |
* this is in a larger file but it's not relevant | |
*/ | |
function buildFilters(dir, options) { | |
var jpmignorePath = path.join(dir, ".jpmignore"); | |
//fs is from require('fs-promises') |
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
smtp = require('smtp-protocol') | |
Q = require('q') | |
EventEmitter = require('events').EventEmitter | |
class LightSMTPServer extends EventEmitter | |
constructor: () -> | |
runServer: (userHandlers, options) -> | |
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
Get-Item -Path "HKCU:\Software\Microsoft\VisualStudio\*Exp*" | Remove-Item -Recurse |
NewerOlder