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 | |
$json = <<<JSON | |
{ | |
"kind": "youtube#searchListResponse", | |
"etag": "\"I_8xdZu766_FSaexEaDXTIfEWc0/hys1HflQr8XiiYpydVnkJA-oudA\"", | |
"regionCode": "DE", | |
"pageInfo": { | |
"totalResults": 1, | |
"resultsPerPage": 5 | |
}, |
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 | |
foreach (new DirectoryIterator('./') as $fileInfo) { | |
if($fileInfo->isDot()) continue; | |
$file = $fileInfo->getBasename(); | |
//var_dump($file); |
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 {OBJECTS} from './my.token.ts'; | |
@Injectable() | |
export class MyInitializer { | |
constructor(private injector: Injector) { | |
} | |
appInitializer(): Promise<any> { | |
const p: Promise<any> = this.injector.get(LOCATION_INITIALIZED, Promise.resolve(null)); | |
return p.then(() => { |
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
# Basic compton config with fade transition and shadows | |
# Full list of options at: https://github.com/chjj/compton/blob/master/man/compton.1.asciidoc | |
# Performance tweak options, more info at https://github.com/chjj/compton/wiki | |
paint-on-overlay = true; # Paint on X Composite overlay window instead of on root window | |
glx-no-stencil = true; | |
glx-no-rebind-pixmap = true; | |
# Drop shadows |
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
# Unknown collation: 'utf8mb4_unicode_520_ci' | |
sed -i'.bak' "s/utf8mb4_unicode_520_ci/utf8mb4_unicode_ci/g;" file.sql | |
# COLLATION 'utf8_general_ci' is not valid for CHARACTER SET 'utf8mb4' | |
sed -i'.bak' "s/utf8_general_ci/utf8mb4_unicode_ci/g;" file.sql |
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
'use client'; | |
import { Button } from '@/components/ui/button'; | |
import { Input } from '@/components/ui/input'; | |
import { Send } from 'lucide-react'; | |
import { useActionState } from 'react'; | |
import { Label } from '@/components/ui/label'; | |
import { Textarea } from '@/components/ui/textarea'; | |
import Form from 'next/form'; | |
import { contact } from '@/app/contact/actions'; |
OlderNewer