Skip to content

Instantly share code, notes, and snippets.

View neruthes's full-sized avatar
🏳️
Vive la France

Neruthes 0x5200DF38 neruthes

🏳️
Vive la France
View GitHub Profile
@neruthes
neruthes / Tieba.css
Last active December 30, 2015 19:09
Custom CSS for Baidu Tieba (2014)
/* Entire body */
* {
font-family: 'Helvetica Neue', Helvetica, 'Open Sans', Arial, 'Hiragino Sans GB', sans-serif !important;
font-weight: normal !important;
}
body > div.wrap1 > div.wrap2 {
background-attachment: fixed;
}
<?php
/* Merge multiple RSS feeds with SimplePie
*
* Just modify the path to SimplePie and
* modify the $feeds array with the feeds you want
*
* You should probably also change the channel title, link and description,
* plus I added a CC license you may not want
*
* Help from: http://www.webmaster-source.com/2007/08/06/merging-rss-feeds-with-simplepie/
<?php
/*
* Core file of NeopBlog External RSS Generator
* File Name: fetch.php
* File Version: 0.6.8
* File Staus: Alpha
* Developer: Joy Neop
*/
if (isset($_GET['dir'])) {
$path = $_GET['domain'] . '/' . $_GET['dir'];
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<form action="http://app.joyneop.com/formmail/formmail.php" method="POST">
<input type="text" name="from"><br />
<textarea name="content">test</textarea>
</form>
</body>
body.zenmode {
font-size: 17px;
width: 900px !important;
padding: 0;
margin: 0 auto !important;
background: #E2E0DA;
}
body.zenmode > * {
width: 760px;
padding: 30px !important;
javascript:(function()%7Bfunction%20callback()%7B(function(%24)%7Bvar%20jQuery%3D%24%3B%24('link%5Brel%3Dstylesheet%5D').add('style').remove()%3B%24('%5Bstyle%5D').attr('style'%2C%20'')%3B%24('head').append('%3Clink%20rel%3D%22stylesheet%22%20href%3D%22http%3A%2F%2Fneop.me%2Fmedia%2Fzen-css%2Fzen.css%22%20type%3D%22text%2Fcss%22%20%2F%3E')%3B%24('body').addClass('zenmode').css(%7Bwidth%3A%20'800px'%2C%20margin%3A%20'0%20auto'%2C%20'word-wrap'%3A%20'break-word'%7D)%3B%24('a%20img').css(%7B'max-height'%3A%20'700px'%2C%20'max-width'%3A%20'700px'%7D)%7D)(jQuery.noConflict(true))%7Dvar%20s%3Ddocument.createElement(%22script%22)%3Bs.src%3D%22http%3A%2F%2Fneop.me%2Fmedia%2Fjq.js%22%3Bif(s.addEventListener)%7Bs.addEventListener(%22load%22%2Ccallback%2Cfalse)%7Delse%20if(s.readyState)%7Bs.onreadystatechange%3Dcallback%7Ddocument.body.appendChild(s)%3B%7D)()
// Claim a function
function arrayToTable(arr) {
var table = document.createElement("table")
for (i = 0; i < arr.length; i++) {
var tr = document.createElement("tr")
for (j = 0; j < arr[i].length; j++) {
var td = document.createElement("td")
td.appendChild(document.createTextNode(arr[i][j]))
tr.appendChild(td)
var http = new HttpServer();
http.listen(80);
var config = {
"runtime" : function (request, response) {
response.head(200, { 'Content-Tyep' : 'text/plain' });
response.body('Hello World\n');
response.end();
}
}
http.run(config);
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<style type="text/css">
body {
font-family: 'Lucida Grande', 'Comic Sans MS';
}
</style>
</head>

はじめまして、僕が Joy Neop です。

Professional

  • Graphic/web designer
  • Web front-end developer

Hobbies

Fantasy, Sci-Fi, Anime, etc.