Linux NX
[ 0.000000] NX (Execute Disable) protection: active
Boot and interrupt the GRUB menu
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
server { | |
index index.php index.html; | |
error_log /dev/stderr; | |
access_log /dev/stdout; | |
root /app; | |
location / { | |
try_files $uri $uri/ /index.php?q=$uri&$args; | |
} |
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
const gulp = require("gulp"); | |
const terser = require('gulp-terser'); | |
const sass = require('gulp-sass'); | |
const serve = require('gulp-serve'); | |
const source = require('vinyl-source-stream'); | |
const buffer = require('vinyl-buffer'); | |
const browserify = require("browserify"); | |
const tsify = require("tsify"); | |
const fileinclude = require('gulp-file-include'); | |
const zip = require('gulp-zip'); |
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
declare namespace overwolf { | |
const version: string; | |
interface OWEvent { | |
} | |
interface ILauncherInfo { | |
title: string | |
id: number | |
classId: number |
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
{ | |
"title": "my first schema test for overwolf apps manifest", | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"id": "http://overwolf.com/schemas/myschema.json", | |
"required": [ | |
"manifest_version", | |
"type", | |
"meta", | |
"data" |
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
<?php | |
if (empty($_POST['hmac']) || empty($_POST['host'])) { | |
header('HTTP/1.0 400 Bad Request'); | |
exit; | |
} | |
$secret = '123'; | |
if (!empty($_POST['nonce'])) { |
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
<?php | |
namespace App\Components\Example; | |
class EasyToTest extends Sample | |
{ | |
public function __construct( | |
NestedObjectA $nestedObjectA, | |
NestedObjectB $nestedObjectB | |
) { |
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
<?php | |
class MyClass { | |
function __invoke() | |
{ | |
echo 'invoked as a function', PHP_EOL; | |
} | |
} | |
$object = new MyClass; |
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
pragma solidity ^0.4.0; | |
import "github.com/willitscale/solidity-util/lib/Strings.sol"; | |
contract MapExample { | |
using Strings for string; | |
// This would be the same as mapping(string => uint) | |
string[] mapKeys; |
NewerOlder