View gist:faf0634aac128ba2f6ed138351911c08

On linux ports below 1024 can be opened only by root, so the port 80 is restricted by default

# iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080
View boj1527.cc
#include <stdio.h>
#include <queue>
#include <algorithm>
#define MAX 1000000000
#define ll long long
using namespace std;
int A[1 << 11];
int top;
View output_log.txt
This file has been truncated, but you can view the full file.
Log uploaded on Sunday, March 26, 2017, 9:59:14 PM
Loaded mods:
Core: (no assemblies)
Korean Fast Channel: 한국어: (no assemblies)
EdB Prepare Carefully: EdBPrepareCarefully(0.16.1.4)
More Vanilla Turrets: (no assemblies)
LT-DoorMat: RimWorld-DoorMat(1.0.0.0)
More Trade Ships: (no assemblies)
Expanded Prosthetics and Organ Engineering: (no assemblies)
View DevOOPS: Attacks And Defenses For DevOps Toolchains Talk Links
View 20170326-2.swift
peripheralManager?.startAdvertising([CBAdvertisementDataServiceUUIDsKey: [service.uuid]])
View index.html
<!DOCTYPE html>
<html>
<head>
</head>
<body>
</body>
<script src="https://d3js.org/d3.v4.min.js"></script>
<script>
View youtubeID.js
/**
* Get YouTube ID from various YouTube URL
* @author: takien
* @url: http://takien.com
* For PHP YouTube parser, go here http://takien.com/864
*/
function YouTubeGetID(url){
var ID = '';
url = url.replace(/(>|<)/gi,'').split(/(vi\/|v=|\/v\/|youtu\.be\/|\/embed\/)/);
View youtubeID.js
/**
* Get YouTube ID from various YouTube URL
* @author: takien
* @url: http://takien.com
* For PHP YouTube parser, go here http://takien.com/864
*/
function YouTubeGetID(url){
var ID = '';
url = url.replace(/(>|<)/gi,'').split(/(vi\/|v=|\/v\/|youtu\.be\/|\/embed\/)/);
View statelessHOCwithContext.js
/* its not immediately obvious how to do this, which is why I've added it here */
const connectSubmitButton = (WrappedComponent) => {
const connectContext = (props, context) => (<WrappedComponent {...props} _reduxForm={context._reduxForm} />);
connectContext.contextTypes = {
_reduxForm: PropTypes.object.isRequired
};
return connectContext;
};
View pimetodbulalim.cs
#include<stdio.h>
#include<math.h>
double hassasiyet;
double seriN=0.0;
double piMetod1();
int main()
{