Skip to content

Instantly share code, notes, and snippets.

View whitglint's full-sized avatar

whitglint whitglint

View GitHub Profile
#!/bin/sh
# Userland mode (~$USER/), (~/).
# ~/.fonts is now deprecated and that
#FONT_HOME=~/.fonts
# ~/.local/share/fonts should be used instead
FONT_HOME=~/.local/share/fonts
echo "installing fonts at $PWD to $FONT_HOME"
mkdir -p "$FONT_HOME/adobe-fonts/source-code-pro"
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
let aaa = [| {js|你好|js}; ""; ""; "" |]
編成
var aaa = /* array */[
"你好",
"",
"",
""
];
let aaa = [| {js|你好|js}; ""; ""; ""; "" |]
原文 GG 了請參考 archive
https://web.archive.org/web/20090221093708/http://d.hatena.ne.jp/yuki_neko_nyan/20090217/1234850409
以下備份
2009-02-17
■ループが書けなくなる(或いは再帰依存症)レベル10 15:00 ループが書けなくなる(或いは再帰依存症)レベル10 - 猫的怠惰Days
level 0
@whitglint
whitglint / fizzBuzz.c
Last active February 14, 2017 05:54 — forked from lancetw/fizzBuzz.c
#include <stdio.h>
#include <stdlib.h>
static const size_t sizeToAlloc = sizeof("9223372036854775807");
char** fizzBuzz(int n, int* returnSize) {
char** ret = calloc(n, sizeof(char*));
*returnSize = n;
char* sp;
@whitglint
whitglint / fonts.conf
Created May 28, 2016 11:10 — forked from Brli/fonts.conf
~/.config/fontconfig/fonts.conf
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="pattern">
<test name="family" qual="any">
<string>monospace</string>
</test>
<edit name="family" mode="assign" binding="same">
<string>Fira Mono</string>
<string>Source Han Sans HW TC</string>
@whitglint
whitglint / freeze.html
Created September 3, 2015 03:00
凍結你的火狐
<html>
<body>
<table id="foo">
<tbody>
</tbody>
</table>
<script>
var foo = document.getElementById('foo');
while (foo.firstChild) {
foo.remove(foo.firstChild);