To build it:
zig build
phpize
./configure
make
To test it:
php -d extension=./modules/my_php_extension.so -r "echo hello_world();"
To build it:
zig build
phpize
./configure
make
To test it:
php -d extension=./modules/my_php_extension.so -r "echo hello_world();"
[package] | |
name = "hello_world" | |
version = "0.1.0" | |
edition = "2021" | |
[lib] | |
crate-type = ["cdylib"] | |
[dependencies] | |
anyhow = "*" |
PASS=yourcertificatemasterpassword | |
SUBJ=/C=PL/ST=MyState/L=MyLocation/O=MyOrganization/OU=MyOrganisationUnit/CN=localhost/emailAddress=admin@localhost | |
# Targets | |
localhostCA.crt: localhostCA.pem | |
openssl x509 \ | |
-in localhostCA.pem \ | |
-inform PEM \ | |
-out localhostCA.crt |
Vagrant.configure(2) do |config| | |
config.vm.box = "phusion/ubuntu-14.04-amd64" | |
config.vm.network "forwarded_port", guest: 3306, host: 3306 | |
# If errors occur, try running "vagrant provision" manually | |
# after "vagrant up" | |
config.vm.provision :docker | |
# To use docker_compose as a provisioning tool, install | |
# vagrant-docker-compose plugin first. It should also solve the |
{ | |
"always_show_minimap_viewport": true, | |
"animation_enabled": false, | |
"caret_style": "phase", | |
"block_caret": true, | |
"color_scheme": "Packages/Color Scheme - Default/Twilight.tmTheme", | |
"default_line_ending": "unix", | |
"draw_centered": false, | |
"ensure_newline_at_eof_on_save": true, | |
"folder_exclude_patterns": |
drwxr-xr-x root/root etc/ | |
drwxr-xr-x root/root etc/openvpn/ | |
-rwxr-xr-x root/root etc/openvpn/update-resolv-conf | |
drwxr-xr-x root/root usr/ | |
drwxr-xr-x root/root usr/bin/ | |
-rwxr-xr-x root/root usr/bin/protonvpn-cli | |
lrwxrwxrwx root/root usr/bin/pvpn -> /usr/bin/protonvpn-cli |
drwxr-xr-x root/root etc/ | |
drwxr-xr-x root/root etc/X11/ | |
drwxr-xr-x root/root etc/X11/imwheel/ | |
-rw-r--r-- root/root etc/X11/imwheel/imwheelrc | |
drwxr-xr-x root/root usr/ | |
drwxr-xr-x root/root usr/bin/ | |
-rwxr-xr-x root/root usr/bin/imwheel | |
drwxr-xr-x root/root usr/share/ | |
drwxr-xr-x root/root usr/share/man/ | |
drwxr-xr-x root/root usr/share/man/man1/ |
/* Slider */ | |
.foo-slider | |
{ | |
opacity: 0; | |
// overflow: hidden; | |
transition: opacity 0.3s ease-in-out; | |
} | |
.foo-slider.slick-slider |
ls -1 -A | while IFS= read FILE; do | |
EXTNAME=`echo $FILE | rev | cut -f 1 -d '.' | rev`; | |
# https://stackoverflow.com/questions/3679296/only-get-hash-value-using-md5sum-without-filename | |
NEWNAME=`md5sum "$FILE" | awk '{ print $1 }'`\.$EXTNAME; | |
mv "$FILE" $NEWNAME; | |
done |
<link rel="import" href="../bower_components/polymer/polymer.html" /> | |
<link rel="import" href="../bower_components/google-apis/google-apis.html" /> | |
<polymer-element attributes="lat lng" name="gmaps-google-map-marker"> | |
<template> | |
<content id="marker" select="a"></content> | |
</template> | |
<script> | |
"use strict"; |