Create a composer dir called pgit
Create a composer.json file inside this dir containing:
{
"require": {
"diversen/minimal-cli-framework": "^1.1"
// Viewport | |
// | |
// phantom.js viewport.js http://google.com 400 | |
var args = require("system").args; | |
var url = args[1]; | |
var width = args[2]; | |
var height = args[3]; |
/* | |
====================================================================================================================================== | |
= ==================== ===== =================== =================== ================ =========================== | |
==== ====================== == === == ================== =================== ================ ==== ========================== | |
==== ====================== ======= ====================== =================== ====== ======== ==== ========================== | |
==== ===== = ==== === ===== ===== === ======== ======== === === ===== ======= ==== == === ==== ==== == | |
==== ===== = == = === ======= ========== = ======= ============ = == ==== ======== ==== ====== = == = == = | |
==== ===== ========== === ======= ====== == ========== ======== === == = === ======== ==== == === ==== ===== = = | |
==== ===== ======== === ======= ====== == ========== ======== == |
<article> | |
<aside id="aside"></aside> | |
<main id="main"></main> | |
</article> |
<article> | |
<aside id="aside"></aside> | |
<main id="main"></main> | |
</article> |
import numpy as np | |
from keras.models import Sequential | |
from keras.layers.core import Activation, Dense | |
training_data = np.array([[0,0],[0,1],[1,0],[1,1]], "float32") | |
target_data = np.array([[0],[1],[1],[0]], "float32") | |
model = Sequential() | |
model.add(Dense(32, input_dim=2, activation='relu')) | |
model.add(Dense(1, activation='sigmoid')) |
#!/usr/bin/env php | |
<?php | |
/** | |
* Wordpress backup without any configuration | |
* | |
* USAGE: | |
* | |
* ./wordpress-backup.php path/to/basepath/of/wordpress/ | |
* |
#!/bin/bash | |
# Ubuntu Developer Script For pdf2htmlEx | |
# Created by Rajeev Kannav Sharma | |
# http://rajeevkannav.github.io/ | |
# | |
# | |
# Downloads and configures the following: | |
# | |
# CMake, pkg-config | |
# GNU Getopt |
%!TEX TS-program = xelatex | |
\documentclass[12pt]{scrartcl} | |
% The declaration of the document class: | |
% The second line here, i.e. | |
% \documentclass[12pt]{scrartcl} | |
% is a standard LaTeX document class declaration: | |
% we say what kind of document we are making in curly brackets, | |
% and specify any options in square brackets. |
<pre> | |
<?php | |
/** | |
* A simple PHP .htpasswd and .htaccess generator | |
* If already present, .htpasswd is overwrittern but .htaccess is prepended with Access clousure if not found | |
* | |
* @author Krzysztof Przygoda, 2018 | |
* @version 1.0 | |
*/ |