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
{ | |
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json", | |
"meta": { | |
"version": "v1.0.0", | |
"canonical": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json", | |
"theme": "elegant", | |
"lastModified": "2024-04-12T16:08:00" | |
}, | |
"basics": { | |
"name": "Pascal Alich", |
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
<h1>Hello World</h1> |
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 | |
$ch = curl_init(); | |
// The Webhook URL from Slack's integration detail page | |
curl_setopt($ch, CURLOPT_URL, 'https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX'); | |
// Only disable SSL checks like this for TESTING purposes if doesn't work otherwise. Make sure your PHP SSL certificates are up to date. | |
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); | |
// Build an HTTP POST instead of a GET request | |
curl_setopt($ch, CURLOPT_POST, 1); | |
// CURL will return the actual response as text, "ok" on success | |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); |
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?><templates><template autoinsert="true" context="java" deleted="false" description="equals (Guava)" enabled="true" name="equals">${:import(com.google.common.base.Objects)} | |
@Override | |
public boolean equals(final Object obj) { | |
if (this == obj) { | |
return true; | |
} | |
if (obj == null) { | |
return false; | |
} | |
if (getClass() != obj.getClass()) { |
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
package demo; | |
import java.io.File; | |
import java.io.FileReader; | |
import java.io.IOException; | |
import java.security.GeneralSecurityException; | |
import java.util.Arrays; | |
import java.util.Collection; | |
import java.util.Scanner; |
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
// $this->typoScript[$key] is either 'mail' or 'webhook' in my example | |
$className = 'tx_form_System_Postprocessor_' . ucfirst(strtolower($this->typoScript[$key])); | |
if (class_exists($className, TRUE)) { | |
$processor = t3lib_div::makeInstance($className, $this->form, $processorArguments); | |
$html .= $processor->process(); | |
} |