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
{ | |
"_readme": [ | |
"This file locks the dependencies of your project to a known state", | |
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", | |
"This file is @generated automatically" | |
], | |
"content-hash": "a9042fc58dcef97b8fbdb057bc7c4cb8", | |
"packages": [ | |
{ | |
"name": "async-aws/core", |
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
const fs = require('fs'); | |
const path = require('path'); | |
const slugify = require('slugify'); | |
const directory = './content/articles'; | |
const files = fs.readdirSync(path.resolve(__dirname, directory)); | |
for (const file of files) { | |
if (file.endsWith('.md')) { |
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
@mixin fontMap($fontPath, $font, $fontData) { | |
@each $name, $attributes in $fontData { | |
$src: null; | |
$exts: ("woff2": "woff2", "woff": "woff", "ttf": "truetype"); | |
@if map-get($attributes, "hasOtf") { | |
$exts: map-merge($exts, ("otf": "opentype")); | |
} | |
@each $ext, $mime in $exts { | |
$src: append($src, url("#{$fontPath}/#{$name}/#{$font}-#{$name}.#{$ext}") format($mime), comma); | |
} |
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
{ extend: [Function: extend], | |
insertBefore: [Function: insertBefore], | |
DFS: [Function: DFS], | |
markup: | |
{ comment: /<!--[\s\S]*?-->/, | |
prolog: /<\?[\s\S]+?\?>/, | |
doctype: /<!DOCTYPE[\s\S]+?>/i, | |
cdata: /<!\[CDATA\[[\s\S]*?]]>/i, | |
style: | |
{ pattern: /(<style[\s\S]*?>)[\s\S]*?(?=<\/style>)/i, |
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
$color-primary: #134074; | |
$color-primary-light: #8da9c4; | |
$color-grey-dark: #878787; | |
$color-white: #fbfdfb; | |
$color-black: #000000; | |
.slideInRight { | |
animation: slideInRight 6s cubic-bezier(0.250, 0.460, 0.450, 0.940) both; | |
@keyframes slideInRight { |
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
$color-primary: #134074; | |
$color-primary-light: #8da9c4; | |
$color-grey-dark: #878787; | |
$color-white: #fbfdfb; | |
$color-black: #000000; | |
@keyframes moveInLeft { | |
0% { | |
opacity: 0; | |
transform: translateX(-100px); |
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 Stack trace: | |
PHP 1. {main}() C:\Users\Alexander Jank\Projekte\flimliste\parse_test.php:0 | |
PHP 2. file_put_contents() C:\Users\Alexander Jank\Projekte\flimliste\parse_test.php:4 | |
Warning: file_put_contents(stdClass Object | |
( | |
[Filmliste] => Array | |
( | |
[0] => Sender | |
[1] => Thema |
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 | |
// Author: Ngo Minh Nam | |
$dir = "/path/to/your/repo/"; | |
$output = array(); | |
chdir($dir); | |
exec("git log", $output); | |
$history = array(); | |
foreach($lines as $key => $line) { | |
if(strpos($line, 'commit') === 0 || $key + 1 == count($lines)){ |
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 | |
function parseLog($log) { | |
$lines = explode("\n", $log); | |
$history = array(); | |
foreach($lines as $key => $line) { | |
if(strpos($line, 'commit') === 0 || $key + 1 == count($lines)){ | |
if(!empty($commit)){ | |
$commit['message'] = substr($commit['message'], 4); | |
array_push($history, $commit); | |
unset($commit); |
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
Dieses Gist bestätigt die Verknüpfte-Identität innerhalb meines OpenPGP-Schlüssels und verknüpft es mit diesem GitHub-Benutzerkonto. | |
Token des Nachweises: | |
[Verifying my OpenPGP key: openpgp4fpr:6aeb406d0e3dc6e8c2e466d92e12039a49e3d70b] |
NewerOlder