Skip to content

Instantly share code, notes, and snippets.

View TheManFromEarth1's full-sized avatar
🌍

TheManFromGlobe TheManFromEarth1

🌍
  • Earth
  • 11:13 (UTC +02:00)
View GitHub Profile
{
"pagination": {
"limit": 25,
"offset": 0,
"count": 25,
"total": 28
},
"data": [
{
"author": null,
{
"pagination": {
"limit": 25,
"offset": 0,
"count": 25,
"total": 5683
},
"data": [
{
"author": null,
server {
# listen HTTP
listen 80;
server_name api.domain.com;
# Redirect HTTPS
return 301 https://$host$request_uri;
}
server {
@TheManFromEarth1
TheManFromEarth1 / .json
Last active January 21, 2021 17:24
response
"collections": [
{
"id": "4",
"index": 4,
"Name": "Guitar Tools",
"Description": "List of Websites for Guitar Players",
"Links": [
{
"id": "13",
"Title": "Songsterr - Guitar Tabs",
import ErrorPage from "next/error";
import { getStrapiURL, getTV, getTVGQL } from "utils/api";
import { useRouter } from "next/router";
import axios from 'axios';
import Link from "next/link";
import Image from 'next/image';
import TVChannels from "@/components/tv/TVChannels";
import ChannelsFM from "components/tv/channelsFM";
/*!
* Howler.js Audio Player Demo
* howlerjs.com
*
* (c) 2013-2020, James Simpson of GoldFire Studios
* goldfirestudios.com
*
* MIT License
*/
@TheManFromEarth1
TheManFromEarth1 / Matrixrain.html
Created November 9, 2020 23:43 — forked from Techgokul/Matrixrain.html
Make a Matrix rain using HTML5,JS,CSS
<html>
<head>
<title>Matrix Rain</title>
<style>
* {margin: 0; padding: 0;}
body {background: black;}
canvas {display: block;}
</style>
</head>
<body>
/**
* Function to get information for a single location
* @return JSON Array with information
*/
public function single_location()
{
if($this->check_user()){
global $wpdb;
$user_id = (int) sanitize_text_field($_POST['user_id']);
$orders_table_name = $wpdb->prefix . 'wpapp_smart_orders';
[
{
"location_id": 90710,
"location_title": "Mit den Amsterdamern am 27. April den Königstag feiern",
"location_content": "<p class=\"p1\"><span class=\"s1\">Am 27. April feiern die Niederländer den Geburtstag von König Willem Alexanders - der <em>Koningsdad</em> ist das wohl bunteste Fest Hollands. Das fest beginnt traditionell schon am Abend vorher. Auf öffentlichen Plätzen bauen DJs ihre Sets auf und feiern zusammen mit zahlreichen Einheimischen und internationalen Besuchern bis früh in den Morgen.  Am Tag darauf bauen die Holländer auf den Straßen und in den Parks der Stadt zahlreiche Freimärkte auf: Ein riesiges Straßenfest entsteht, und in den Grachten tummeln sich in orange geschmückte Boote mit jubelnden Menschen - die Stimmung ist ausgelassen.</span></p>",
"location_date": "2020-01-01 13:27:04",
"location_category": [],
"location_city_category": [
"Amsterdam"
],