Astor is an automatic software repair framework in Java for Java. It contains an implementation of state of the art repair approaches such as GenProg and Kali.
If you use Astor for academic purposes, please cite the appropriate publication:
import com.fasterxml.jackson.core.JsonProcessingException; | |
import com.fasterxml.jackson.databind.ObjectMapper; | |
import java.util.ArrayList; | |
import java.util.List; | |
/** | |
* Created by souichi_sumi on 2017/06/19. | |
*/ | |
public class Main { |
//https://github.com/request/request-promise | |
var rp= require('request-promise'); | |
var options = { | |
uri: 'https://gist.githubusercontent.com/SoichiSumi/5bed3eb79ae8ec97b193f3ca35841990/raw/6d4beeb68822cd9d6af4a164bbfaeab3a9c050a9/test.json', | |
/*qs: { | |
access_token: 'xxxxx xxxxx' // -> uri + '?access_token=xxxxx%20xxxxx' | |
},*/ | |
headers: { | |
'Origin':'https://github.com/', | |
'Referer':'https://github.com/SoichiSumi/SoichiSumi.github.io' |
var AWS = require("aws-sdk"); | |
//"http://localhost:8000" | |
AWS.config.update({ | |
region: "us-west-1", | |
endpoint: "dynamodb.us-east-1.amazonaws.com" | |
}); | |
var docClient = new AWS.DynamoDB.DocumentClient(); |
{ | |
"unko":"one", | |
"tabindent":"guilty", | |
"hoge":"2" | |
} |
var req = require('request'); | |
var options={ | |
method: 'GET', | |
uri: 'https://gist.githubusercontent.com/SoichiSumi/5bed3eb79ae8ec97b193f3ca35841990/raw/6d4beeb68822cd9d6af4a164bbfaeab3a9c050a9/test.json', | |
headers: { | |
'Origin':'https://github.com/', | |
'Referer':'https://github.com/SoichiSumi/SoichiSumi.github.io' | |
} | |
}; | |
req(options,function(e,res,body){ |
https://valkyrie.ics.es.osaka-u.ac.jp/ | |
AAConvert | |
http://valkyrie.ics.es.osaka-u.ac.jp/ |
#include <bits/stdc++.h> | |
using namespace std; | |
#define MODULE 1000000007 | |
#define RESSIZE 10000 | |
#define MP make_pair | |
#define ALL(v) (v).begin(),(v).end() | |
#define fi first | |
#define se second |
//--source | |
int a=2e9; | |
int b=2e9; | |
LL al=2e9; | |
LL bl=2e9; | |
cout<<"int:"<<endl; | |
cout<<(a+b)/2<<endl; | |
cout<<"LL:"<<endl; | |
cout<<(al+bl)/2<<endl; |
Astor is an automatic software repair framework in Java for Java. It contains an implementation of state of the art repair approaches such as GenProg and Kali.
If you use Astor for academic purposes, please cite the appropriate publication:
package models; | |
import com.avaje.ebean.annotation.CreatedTimestamp; | |
import javax.persistence.*; | |
import java.io.Serializable; | |
import java.util.Date; | |
@Embeddable | |
public class CombinedTweetKey implements Serializable{ |