Inspired By: grafana/loki#333
- docker-compose.yml
version: "3"
networks:
loki:
Inspired By: grafana/loki#333
version: "3"
networks:
loki:
When trying to use the node-sqlite3 module in Electron I got the error:
Error: Cannot find module '/path/to/my/application/node_modules/sqlite3/lib/binding/electron-v1.4-linux-x64/node_sqlite3.node'
Using Ubuntu 16.04 with Node 7.1.0 and Electron 1.4.12.
I read the following:
# <类型>: (类型的值见下面描述) <主题> (最多50个字) | |
# 解释为什么要做这些改动 | |
# |<---- 请限制每行最多72个字 ---->| | |
# 提供相关文章和其它资源的链接和关键字 | |
# 例如: Github issue #23 | |
# --- 提交 结束 --- | |
# 类型值包含 |
// Check if a slave has < 10 GB of free space, wipe out workspaces if it does | |
import hudson.model.*; | |
import hudson.util.*; | |
import jenkins.model.*; | |
import hudson.FilePath.FileCallable; | |
import hudson.slaves.OfflineCause; | |
import hudson.node_monitors.*; | |
for (node in Jenkins.instance.nodes) { |
http { | |
log_format bodylog '$remote_addr - $remote_user [$time_local] ' | |
'"$request" $status $body_bytes_sent ' | |
'"$http_referer" "$http_user_agent" $request_time ' | |
'<"$request_body" >"$resp_body"'; | |
lua_need_request_body on; | |
set $resp_body ""; | |
body_filter_by_lua ' |
protected MavenProject buildProjectModel(ArtifactInfo artifactInfo) throws Exception { | |
try { | |
ProjectBuildingRequest configuration = new DefaultProjectBuildingRequest(); | |
configuration.setLocalRepository( localRepository ); | |
configuration.setValidationLevel( ModelBuildingRequest.VALIDATION_LEVEL_MINIMAL ); | |
configuration.setProcessPlugins( false ); | |
configuration.setRepositoryMerging( ProjectBuildingRequest.RepositoryMerging.REQUEST_DOMINANT ); | |
Properties properties = new Properties( ); | |
for ( String key : session.getSystemProperties( ).keySet() ){ | |
properties.put( key, session.getSystemProperties().get(key) ); |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
In August 2007 a hacker found a way to expose the PHP source code on facebook.com. He retrieved two files and then emailed them to me, and I wrote about the issue:
http://techcrunch.com/2007/08/11/facebook-source-code-leaked/
It became a big deal:
http://www.techmeme.com/070812/p1#a070812p1
The two files are index.php (the homepage) and search.php (the search page)