Skip to content

Instantly share code, notes, and snippets.

@olls
olls / notepad.html
Last active May 10, 2024 11:24
A JavaScript notepad with open, save, local storage and markdown preview.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>NotePad!</title>
@darktable
darktable / MiniJSON.cs
Created November 30, 2011 23:08
Unity3D: MiniJSON Decodes and encodes simple JSON strings. Not intended for use with massive JSON strings, probably < 32k preferred. Handy for parsing JSON from inside Unity3d.
/*
* Copyright (c) 2013 Calvin Rien
*
* Based on the JSON parser by Patrick van Bergen
* http://techblog.procurios.nl/k/618/news/view/14605/14863/How-do-I-write-my-own-parser-for-JSON.html
*
* Simplified it so that it doesn't throw exceptions
* and can be used in Unity iPhone with maximum code stripping.
*
* Permission is hereby granted, free of charge, to any person obtaining
@junebug12851
junebug12851 / readme.md
Last active May 10, 2024 11:23
Extract all Discord emojis and stickers from all servers

Important Note!

Doing this requires running a script inside Discord, historically Discord has allowed these perfectly fine but it was for advanced people only and Discod discovered non-advanced users were copying and pasting random scripts people gave them which ended up being malicious and harmful to their account.

Discord has since blocked access to scripts unless you enable a hidden setting. The script below is open source and commented. Anyone is welcome to verify the legitimacy of it. It's very simple in how it works. However if you proceed further and enable custom scripts, I highly reccomend to disable it afterwards unless you know what you are doing. There's a reason Discord disabled this feature, don't even run scripts without knowing what they do first.

@jonlabelle
jonlabelle / docker_compose_cheatsheet.md
Last active May 10, 2024 11:22
Docker Compose Cheatsheet
@qnighy
qnighy / PC98ext.md
Last active May 10, 2024 11:21
PC-9800シリーズ機種依存文字 (JIPS由来文字) 9区~12区

PC-9800シリーズ機種依存文字 (JIPS由来文字) 9区~12区

「NEC特殊文字」として有名な13区は標準化もされていて資料が豊富であるため省略。

字形のソースは http://www.kt.rim.or.jp/~aotaka/pc/character.htm

9区

2バイト半角英数。 JIS X 0201 ラテン文字集合に近いが、形状から考えて別の文字を指している可能性のある符号位置がある。

@lopspower
lopspower / README.md
Last active May 10, 2024 11:21
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

Download This sample on Google Play Store

@luizomf
luizomf / App.jsx
Created February 16, 2021 22:29
React hooks useReducer + useContext - Curso React
import P from 'prop-types';
import { createContext, useContext, useReducer, useRef } from 'react';
import './App.css';
// actions.js
export const actions = {
CHANGE_TITLE: 'CHANGE_TITLE',
};
// data.js
@ihoneymon
ihoneymon / how-to-write-by-markdown.md
Last active May 10, 2024 11:18
마크다운(Markdown) 사용법

[공통] 마크다운 markdown 작성법

영어지만, 조금 더 상세하게 마크다운 사용법을 안내하고 있는
"Markdown Guide (https://www.markdownguide.org/)" 를 보시는 것을 추천합니다. ^^

아, 그리고 마크다운만으로 표현이 부족하다고 느끼신다면, HTML 태그를 활용하시는 것도 좋습니다.

1. 마크다운에 관하여

@spidgorny
spidgorny / TailLog.php
Created July 9, 2021 19:27
Display only the last error from the Laravel log file and simplify output so that it fits the single screen output. Like "tail -f storage/logs/laravel.log", but smart
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\Storage;
class TailLog extends Command
{
/**
@bmaupin
bmaupin / free-database-hosting.md
Last active May 10, 2024 11:17
Free database hosting