- open a plain text file, add the following lines, and save:
Filename: custom_offline.php - upload the file to your mautic root.
- if you can check out the error message, please remove
custom_offline.php
for your security.
$ git remote rm origin | |
$ git remote add origin [email protected]:aplikacjainfo/proj1.git | |
$ git config master.remote origin | |
$ git config master.merge refs/heads/master |
import React from "react"; | |
import { render } from "react-dom"; | |
const ParentComponent = React.createClass({ | |
getDefaultProps: function() { | |
console.log("ParentComponent - getDefaultProps"); | |
}, | |
getInitialState: function() { | |
console.log("ParentComponent - getInitialState"); | |
return { text: "" }; |
<?php | |
$files = glob( __DIR__ . '/folder/*.php'); | |
foreach ($files as $file) { | |
require($file); | |
} |
#!/usr/bin/env bash | |
# This is based on this excellent gist https://gist.github.com/jvenator/9672772a631c117da151 | |
# Nothing of this is my original work, except that I made the download link an argument | |
# to this script, so it installs on OSX 10.11 | |
# | |
# Thank you jvenator & sethetter | |
set -e | |
error() { info "$1"; exit 1; } |
A lot of people mentioned other immutable JS libraries after reading my post. I thought it would be good to make a list of available ones.
There are two types of immutable libraries: simple helpers for copying JavaScript objects, and actual persistent data structure implementations. My post generally analyzed the tradeoffs between both kinds of libraries and everything applies to the below libraries in either category.
Libraries are sorted by github popularity.
I'm not suggesting drastic action. I don't want to break backwards compatibility. I simply want to make the class
feature more usable to a broader cross section of the community. I believe there is some low-hanging fruit that can be harvested to that end.
Imagine AutoMaker contained class Car
, but the author wants to take advantage of prototypes to enable factory polymorphism in order to dynamically swap out implementation.
Stampit does something similar to this in order to supply information needed to inherit from composable factory functions, known as stamps.
This isn't the only way to achieve this, but it is a convenient way which is compatible with .call()
, .apply()
, and .bind()
.
import { Component } from "React"; | |
export var Enhance = ComposedComponent => class extends Component { | |
constructor() { | |
this.state = { data: null }; | |
} | |
componentDidMount() { | |
this.setState({ data: 'Hello' }); | |
} | |
render() { |
The Goals of this Gist are to: | |
[1] Increase the GnuPG key size limit beyond 4096 bits. | |
[2] Provide configuration files that maximize security and anonymity. | |
For now, the ideal configuration files have been provided. | |
The Debian_Linux_GnuPG_Compiler.bash script works to build GnuPG with the 4096 bit key size limit raised. | |
Please provide input. Feedback and changes welcome. |