Skip to content

Instantly share code, notes, and snippets.

Pizza Squeeze nikillpop

Block or report user

Report or block nikillpop

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@nikillpop
nikillpop / sitemap.xml.php
Created Sep 9, 2019 — forked from artlung/sitemap.xml.php
Generate XML sitemap from list of urls
View sitemap.xml.php
<?php
/**
*
* This is a quick way to turn a simple text file
* with a list of urls in a text file (sitemap-urls.txt)
* into a valid XML Sitemap:
* http://en.wikipedia.org/wiki/Sitemaps
* Put this file sitemap.xml.php and sitemap-urls.txt at
* the webroot http://example.com/sitemap.xml.php
View sitemap-siteindex.php
<?php
/**
*
* This is a quick way to turn a simple text file
* with a very long list of urls in a text file (sitemap-urls.txt)
* Where "very long" is an expected url number greater than 10,000
* If loaded without a valid query parameter "page" it will load a
* Site Index site map, otherwise load the individual XML site map
* 10,000 urls into a valid XML Sitemap:
* http://en.wikipedia.org/wiki/Sitemaps
@nikillpop
nikillpop / sitemap.column.xml.php
Created Sep 9, 2019 — forked from artlung/sitemap.column.xml.php
This is a quick way to turn a simple comma-separated file with a list of urls in each column representing one sitemap into a valid XML Sitemap:
View sitemap.column.xml.php
<?php
/**
* User: artlung
* Date: 2019-08-24
* A variation of https://gist.github.com/artlung/210438 :
*
* "I have a list of URLs in 10 columns of a CSV file and I need a separate
* sitemap for each column. Can we modify this code accordingly?"
*
* This is a quick way to turn a simple comma-separated file
@nikillpop
nikillpop / sitemap.column.xml.php
Created Sep 9, 2019 — forked from artlung/sitemap.column.xml.php
This is a quick way to turn a simple comma-separated file with a list of urls in each column representing one sitemap into a valid XML Sitemap:
View sitemap.column.xml.php
<?php
/**
* User: artlung
* Date: 2019-08-24
* A variation of https://gist.github.com/artlung/210438 :
*
* "I have a list of URLs in 10 columns of a CSV file and I need a separate
* sitemap for each column. Can we modify this code accordingly?"
*
* This is a quick way to turn a simple comma-separated file
View allwinner-ftl.cpp
#define _CRT_SECURE_NO_WARNINGS
#include <cstdio>
#include <cstdint>
#include <memory>
#include <map>
#include <list>
#include <vector>
#include <set>
#include <algorithm>
#include "crypto.h"
View descramble.c
/*
Scramble/descramble raw NAND dumps from the NES Classic.
plutoo 2016
Cheers to brizzo, derrek.
*/
#include <stdio.h>
#include <string.h>
#include <stdint.h>
@nikillpop
nikillpop / .htaccess
Created Jun 15, 2019 — forked from thejsa/.htaccess
Quick and dirty Flipnote Hatena server (with query string sessions + basic authentication)
View .htaccess
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . /index.php [L]
@nikillpop
nikillpop / .block
Created Jul 19, 2018 — forked from mbostock/.block
Digital Clock
View .block
license: gpl-3.0
@nikillpop
nikillpop / README.md
Created Nov 14, 2017 — forked from aponxi/README.md
Simple chat script php
View README.md

Very simple jQuery AJAX PHP chat

jQuery is a fast, concise, JavaScript Library that simplifies how you traverse HTML documents, handle events, perform animations, and add Ajax interactions to your web pages. jQuery is designed to change the way that you write JavaScript.

In other words it makes everything really simple. For this example you will need this file.

chat.sql

First step is creating a database.

You can’t perform that action at this time.