Skip to content

Instantly share code, notes, and snippets.

[
{
"name": "Aegis Automaton",
"url": "http://gatherer.wizards.com/Pages/Card/Details.aspx?multiverseid=423808",
"multiverseid": "423808",
"type": [
"Artifact Creature",
"Construct"
],
"manaCost": [
var getData = function(name) {
const selectors = new Map();
selectors.set('name', 'nameRow');
selectors.set('manaCost', 'manaRow');
selectors.set('convertedManaCost', 'cmcRow');
selectors.set('rulesText', 'textRow');
selectors.set('flavorText', 'flavorRow');
selectors.set('powerAndToughness', 'ptRow');
selectors.set('rarity', 'rarityRow');
selectors.set('artist', 'artistRow');
jonathan@office-desktop ~/C/c/src> ./out/asan/chrome
=================================================================
==24422==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6020001c76da at pc 0x55c2e99696bb bp 0x7ffed4b5e950 sp 0x7ffed4b5e0f8
READ of size 11 at 0x6020001c76da thread T0 (chrome)
#0 0x55c2e99696ba (/home/jonathan/Code/chromium/src/out/asan/chrome+0x304c6ba)
#1 0x7f036e1ab130 (/usr/lib/x86_64-linux-gnu/libXcursor.so.1+0x6130)
0x6020001c76da is located 0 bytes to the right of 10-byte region [0x6020001c76d0,0x6020001c76da)
allocated by thread T0 (chrome) here:
#0 0x55c2e99f9af3 (/home/jonathan/Code/chromium/src/out/asan/chrome+0x30dcaf3)
#!/bin/bash
sudo apt install -y \
build-essential \
autoconf \
automake \
libgtk-3-dev
cd /tmp
git clone https://github.com/andreisergiu98/arc-flatabulous-theme > /dev/null 2>&1
<?php
/**
* Class Product
*
* @property string $name
* @property bool $disabled
* @property Carbon $updated_at
* @property Carbon $created_at
*
# Path here assumes it is installed in the project's dependencies.
includes:
- vendor/phpstan/phpstan/conf/config.level5.neon
parameters:
reportUnmatchedIgnoredErrors: false
checkFunctionArgumentTypes: true
enableUnionTypes: true
excludes_analyse:
- app/macros.php
#!/bin/bash
read -s -p 'Enter Password for sudo: ' sudoPW
echo ''
softwareInstaller=apt
if lspci | grep VGA | grep -q NVIDIA; then
echo 'Installing NVIDIA driver'
echo $sudoPW | sudo -S sudo add-apt-repository -ys ppa:graphics-drivers/ppa > /dev/null 2>&1
echo $sudoPW | sudo -S sudo $softwareInstaller update -qq
echo $sudoPW | sudo -S sudo $softwareInstaller install -qq -y nvidia-378
var script = document.createElement('script');
script.textContent = '<script>function notGood() { debugger} </script>';
document.appendChild(script);
notGood();
<?php
return PhpCsFixer\Config::create()
->setRiskyAllowed(true)
->setRules([
'@PSR2' => true,
'array_syntax' => ['syntax' => 'short'],
'binary_operator_spaces' => [
'align_double_arrow' => true,
'align_equals' => true,
<?php
/*
* Generate a CSS file of pure junk.
* With <3 from Garbee
* No good use for this besides testing. Get over it.
*/
$css = '';