The popular open-source contract for web professionals by Stuff & Nonsense
- Originally published: 23rd December 2008
- Revised date: March 15th 2016
- Original post
public class myDbContext : DbContext | |
{ | |
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) | |
{ | |
base.OnConfiguring(optionsBuilder); | |
optionsBuilder.UseLoggerFactory(MyLoggerFactory); | |
} | |
public static readonly ILoggerFactory MyLoggerFactory | |
= LoggerFactory.Create(builder => { builder.AddConsole(); }); | |
} |
$ wget https://raw.githubusercontent.com/iBotPeaches/Apktool/master/scripts/linux/apktool -O apktool | |
$ wget https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.5.0.jar -O apktool.jar | |
$ mv apktool* /usr/local/bin/ | |
$ chmod +x /usr/local/bin/apktool* | |
$ apktool | |
Apktool v2.5.0 - a tool for reengineering Android apk files | |
with smali v2.4.0 and baksmali v2.4.0 | |
package main | |
import "fmt" | |
func main() { | |
fmt.Println("GO CODE") | |
} |
var PORT = process.env.PORT || 8072; | |
const express = require('express') | |
const app = express(); | |
var bodyParser = require('body-parser'); | |
var server = require('http').createServer(app); | |
app.use(bodyParser.json()); | |
server.listen(PORT, () => console.log(`Server is listening on http://localhost:${PORT}`)); |
console.log('test'); | |
let x= document.createElement('div'); | |
x.style="background-color: red; position: fixed;width:100px;height:100px;bottom: 10px;left: 10px;"; | |
document.body.appendChild(x); |
### Keybase proof | |
I hereby claim: | |
* I am slamidtfyn on github. | |
* I am slamidtfyn (https://keybase.io/slamidtfyn) on keybase. | |
* I have a public key ASBCPDLFbQhsKlRgVtyqzY9lHYpQeTVHp1w86ysomBASWgo | |
To claim this, I am signing this object: |
apiVersion: batch/v1beta1 | |
kind: CronJob | |
metadata: | |
name: hw | |
spec: | |
schedule: "*/5 * * * *" | |
jobTemplate: | |
spec: | |
template: | |
spec: |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Opdatering igang</title> | |
</head> | |
<body> | |
<h1>Opdatering igang - Vent venligst et øjeblik</h1> |